CVE-2026-54509
JSON

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 packageVersionsReported by
mauriceboe TREK>= 3.0.0, < 3.1.0CVE List

Classification

CWE-862

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

SourceRecordLicence
CVE ListCVE-2026-54509 changed 2026-08-21CVE Terms of Use
NVDCVE-2026-54509 changed 2026-10-18Public domain