# CVE-2026-54509: TREK IDOR: any authenticated user can read another user's journey share token (full journey leak)

- Severity: Medium 6.5 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.39%, higher than 34% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-08-20T21:49:49.877Z
- Modified: 2026-10-18T20:10:00.110Z
- Weaknesses: CWE-862
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial
- Assigned by: GitHub_M

## Description

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.

(As written by CVE List.)

## Affected

- mauriceboe TREK: >= 3.0.0, < 3.1.0

## References

- <https://github.com/liketrek/TREK/security/advisories/GHSA-mx6m-qxv8-w624> (exploit)
- <https://github.com/liketrek/TREK/pull/1185>
- <https://github.com/liketrek/TREK/commit/ad893eb1cc75b6d56f402d73a6d41bd48ba7ae11>
- <https://github.com/liketrek/TREK/releases/tag/v3.1.0>

## Sources

- CVE List: [CVE-2026-54509](https://www.cve.org/CVERecord?id=CVE-2026-54509), CVE Terms of Use, modified 2026-08-21
- NVD: [CVE-2026-54509](https://nvd.nist.gov/vuln/detail/CVE-2026-54509), Public domain, modified 2026-10-18

---

Page: https://cve.day/CVE-2026-54509 · Whole record: https://cve.day/CVE-2026-54509.json · Rebuilt by cve.day 2026-11-25T22:59:34.736Z
