{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "extracted_events": [
              {
                "introduced": "0"
              },
              {
                "fixed": "3.1.3"
              }
            ],
            "source": [
              "AFFECTED_FIELD",
              "REFERENCES"
            ]
          },
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "03cdb4d27689922460ba87085d04b426d4d40d26"
            },
            {
              "fixed": "0631e34a799c011a0cecc5e1d9bbff21a4ef9c0b"
            }
          ],
          "repo": "https://github.com/liketrek/trek",
          "type": "GIT"
        }
      ]
    }
  ],
  "aliases": [
    "GHSA-r4cp-666p-8f69"
  ],
  "database_specific": {
    "cna_assigner": "GitHub_M",
    "cwe_ids": [
      "CWE-639"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/62xxx/CVE-2026-62945.json"
  },
  "details": "TREK is a collaborative travel planner. Prior to 3.1.3, TREK file upload, update, and link actions accept attacker-controlled reservation_id, place_id, and assignment_id values without using findForeignLinkTarget() to verify that the referenced object belongs to the file's trip. An authenticated user with file-edit permission on any accessible trip can submit a foreign reservation identifier through POST /api/trips/:tripId/files/:id/link, POST /api/trips/:tripId/files, or PUT /api/trips/:tripId/files/:id. Subsequent reads through FILE_SELECT or getFileLinks() join the foreign reservation and return reservation_title, disclosing reservation existence and titles across private trip boundaries. This issue is fixed in version 3.1.3.",
  "id": "CVE-2026-62945",
  "modified": "2026-08-23T03:42:48.831961461Z",
  "published": "2026-08-20T21:51:19.844Z",
  "references": [
    {
      "type": "WEB",
      "url": "https://github.com/liketrek/TREK/releases/tag/v3.1.3"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/62xxx/CVE-2026-62945.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/liketrek/TREK/security/advisories/GHSA-r4cp-666p-8f69"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-62945"
    },
    {
      "type": "FIX",
      "url": "https://github.com/liketrek/TREK/commit/03cdb4d27689922460ba87085d04b426d4d40d26"
    },
    {
      "type": "FIX",
      "url": "https://github.com/liketrek/TREK/pull/1324"
    }
  ],
  "schema_version": "1.9.0",
  "severity": [
    {
      "score": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N",
      "type": "CVSS_V3"
    }
  ],
  "summary": "TREK: Cross-trip reservation title disclosure via file links"
}