Skip to content
Heist/ feed
Back to feed
Medium

Time-based user enumeration in TREK authentication endpoint

Type: advisorySources: OSV

TREK is a collaborative travel planner. Prior to 3.0.18, early return on missing user during login flow allowed an attacker to enumerate valid user accounts via response timing discrepancy. When an email address existed in the database, the backend performed a bcrypt password comparison before returning a 401 Unauthorized, adding ~370 ms of latency. When the email did not exist, the backend returned immediately (~10 ms). This ~14× timing difference could be detected without any difference in HTTP status codes or response bodies. This vulnerability is fixed in 3.0.18.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2026-45410
Confirmed fixed CVEs
Not specified
Updated in this feed
8 Nov 2026, 03:27 UTC · Revision 1

Source evidence

Time-based user enumeration in TREK authentication endpoint

core-osv · Original source

Published 28 May 2026, 21:23 UTC

TREK is a collaborative travel planner. Prior to 3.0.18, early return on missing user during login flow allowed an attacker to enumerate valid user accounts via response timing discrepancy. When an email address existed in the database, the backend performed a bcrypt password comparison before returning a 401 Unauthorized, adding ~370 ms of latency. When the email did not exist, the backend returned immediately (~10 ms). This ~14× timing difference could be detected without any difference in HTTP status codes or response bodies. This vulnerability is fixed in 3.0.18.

osv:CVE-2026-45410
Complete source record
{
  "id": "75f38fbba64474159f271c01d7f3de7859051139aa6be48b9c1701c30efc6aa9",
  "url": "https://osv.dev/vulnerability/CVE-2026-45410",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "Time-based user enumeration in TREK authentication endpoint",
    "summary": "TREK is a collaborative travel planner. Prior to 3.0.18, early return on missing user during login flow allowed an attacker to enumerate valid user accounts via response timing discrepancy. When an email address existed in the database, the backend performed a bcrypt password comparison before returning a 401 Unauthorized, adding ~370 ms of latency. When the email did not exist, the backend returned immediately (~10 ms). This ~14× timing difference could be detected without any difference in HTTP status codes or response bodies. This vulnerability is fixed in 3.0.18.",
    "evidence": "osv:CVE-2026-45410",
    "products": [],
    "severity": "medium",
    "structured": {
      "id": "CVE-2026-45410",
      "aliases": [
        "CVE-2026-45410",
        "GHSA-3552-3c98-x79r"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/liketrek/TREK",
              "type": "GIT",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "7f87dc1ce113206ced5f1c892a4d92760a717e18"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "range": [
                      {
                        "introduced": "0"
                      },
                      {
                        "fixed": "3.0.18"
                      }
                    ],
                    "source": "AFFECTED_FIELD",
                    "strategy": "StringRangeExpression"
                  },
                  {
                    "range": [
                      {
                        "introduced": "0"
                      },
                      {
                        "fixed": "3.0.18"
                      }
                    ],
                    "source": "DESCRIPTION"
                  }
                ]
              }
            }
          ],
          "versions": [
            "v3.0.17",
            "v3.0.16",
            "v3.0.15",
            "v3.0.14",
            "v3.0.13",
            "v3.0.12",
            "v3.0.11",
            "v3.0.10",
            "v3.0.9",
            "v3.0.8",
            "v3.0.7",
            "v3.0.6",
            "v3.0.5",
            "v3.0.4",
            "v3.0.3",
            "v3.0.2",
            "v3.0.1",
            "v3.0.0",
            "v2.9.14",
            "v2.9.13",
            "v2.9.12",
            "v2.9.11",
            "v2.9.10",
            "v2.9.9",
            "v2.9.8",
            "v2.9.7",
            "v2.9.6",
            "v2.9.5",
            "v2.9.4",
            "v2.9.2",
            "v2.8.4",
            "v2.8.0",
            "v2.7.2",
            "v2.7.0",
            "v2.6.2",
            "v2.6.1",
            "v2.6.0",
            "v2.5.7",
            "v2.5.6",
            "v2.5.5",
            "v2.5.4",
            "v2.5.2",
            "v2.5.1",
            "v2.5.0",
            "v2.4.0",
            "v2.3.5",
            "v2.1.0"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-45410.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:53.147170361Z",
      "provider": "osv",
      "references": [
        "https://gist.github.com/jubnl/c2402adf85d946c1730867aeecc794de",
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/45xxx/CVE-2026-45410.json",
        "https://github.com/mauriceboe/TREK/security/advisories/GHSA-3552-3c98-x79r",
        "https://nvd.nist.gov/vuln/detail/CVE-2026-45410"
      ],
      "provider_metadata": {
        "cwe_ids": [
          "CWE-203",
          "CWE-208"
        ],
        "cna_assigner": "GitHub_M",
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/45xxx/CVE-2026-45410.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2026-45410",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 522200,
  "published_at": "2026-05-28T21:23:01.431+00:00"
}