6.5medium
TREK IDOR: any authenticated user can read another user's journey share token (full journey leak)
- Severity
- 6.5medium CVSS:3.1 by GitHub_M
- Exploit likelihood
- 0.39% (higher than 34% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- 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.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| mauriceboe TREK | >= 3.0.0, < 3.1.0 | CVE List |
Classification
SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial.
What each source says
CVE List
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.
NVD (es)
TREK es un planificador de viajes colaborativo. Desde la versión 3.0.0 hasta la 3.1.0, la ruta GET /API/journeys/:id/share-link en servidor/src/routes/journey.ts devuelve el resultado de getJourneyShareLink() de servidor/src/services/journeyShareService.ts sin verificar si el solicitante autenticado puede acceder al viaje. Cualquier usuario autenticado ordinario puede enumerar IDs de viaje secuenciales y recuperar tokens de journey_share_tokens para el viaje de otro usuario. El token otorga acceso no autenticado a través de GET /API/public/journey/:token a las entradas, subtítulos, ubicaciones, estados de ánimo, fotos de la galería, rutas de fotos e identificadores de activos del viaje compartido. Este problema está solucionado en la versión 3.1.0.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-54509 changed 2026-08-21 | CVE Terms of Use |
| NVD | CVE-2026-54509 changed 2026-10-18 | Public domain |