{"id":"CVE-2026-54509","summary":"TREK IDOR: any authenticated user can read another user's journey share token (full journey leak)","details":"TREK is a collaborative travel planner. From 3.0.0 until 3.1.0, the GET /api/journeys/:id/share-link route in server/src/routes/journey.ts returns the result of getJourneyShareLink() from server/src/services/journeyShareService.ts without checking whether the authenticated requester can access the journey. Any ordinary authenticated user can enumerate sequential journey IDs and retrieve tokens from journey_share_tokens for another user's journey. The token grants unauthenticated access through GET /api/public/journey/:token to the shared journey's entries, captions, locations, moods, gallery photos, photo paths, and asset identifiers. This issue is fixed in version 3.1.0.","aliases":["GHSA-mx6m-qxv8-w624"],"modified":"2026-08-23T03:42:24.020495772Z","published":"2026-08-20T21:49:49.877Z","database_specific":{"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/54xxx/CVE-2026-54509.json","cna_assigner":"GitHub_M","cwe_ids":["CWE-862"]},"references":[{"type":"WEB","url":"https://github.com/liketrek/TREK/releases/tag/v3.1.0"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/54xxx/CVE-2026-54509.json"},{"type":"ADVISORY","url":"https://github.com/liketrek/TREK/security/advisories/GHSA-mx6m-qxv8-w624"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-54509"},{"type":"FIX","url":"https://github.com/liketrek/TREK/commit/ad893eb1cc75b6d56f402d73a6d41bd48ba7ae11"},{"type":"FIX","url":"https://github.com/liketrek/TREK/pull/1185"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/liketrek/trek","events":[{"introduced":"523bca3a20595083f6d78b0de7c338fc208464d5"},{"fixed":"ad893eb1cc75b6d56f402d73a6d41bd48ba7ae11"},{"fixed":"f6af1d67a2630d77dcce39a92ac5599d08d7a5a1"}],"database_specific":{"source":["AFFECTED_FIELD","REFERENCES"],"extracted_events":[{"introduced":"3.0.0"},{"fixed":"3.1.0"}]}}],"versions":["v3.0.22","v3.0.21","v3.0.20","v3.0.19","v3.0.18","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"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-54509.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N"}]}