{"id":"CVE-2026-54509","aliases":["CVE-2026-54509"],"related":[],"kind":"vulnerability","state":"published","title":"TREK IDOR: any authenticated user can read another user's journey share token (full journey leak)","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"es","text":"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.","source":"nvd"}],"published":"2026-08-20T21:49:49.877Z","modified":"2026-10-18T20:10:00.110Z","severity":{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N","score":6.5,"rating":"MEDIUM"},"severities":[{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N","score":6.5,"rating":"MEDIUM"}],"cwes":["CWE-862"],"affected":[{"ranges":[{"version":">= 3.0.0, < 3.1.0","status":"affected"}],"vendor":"mauriceboe","product":"TREK","source":"cvelist"}],"references":[{"url":"https://github.com/liketrek/TREK/security/advisories/GHSA-mx6m-qxv8-w624","tags":["exploit","x-refsource-confirm"],"sources":["cvelist","nvd"]},{"url":"https://github.com/liketrek/TREK/pull/1185","tags":["x-refsource-misc"],"sources":["cvelist","nvd"]},{"url":"https://github.com/liketrek/TREK/commit/ad893eb1cc75b6d56f402d73a6d41bd48ba7ae11","tags":["x-refsource-misc"],"sources":["cvelist","nvd"]},{"url":"https://github.com/liketrek/TREK/releases/tag/v3.1.0","tags":["x-refsource-misc"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"GitHub_M","ssvc":{"scorer":"CISA-ADP","exploitation":"poc","automatable":"no","technicalImpact":"partial","date":"2026-08-21T14:57:35.764Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-54509","url":"https://www.cve.org/CVERecord?id=CVE-2026-54509","licence":"CVE Terms of Use","modified":"2026-08-21T14:57:42.795Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-54509","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-54509","licence":"Public domain","modified":"2026-10-18T20:10:00.110Z"}],"updatedAt":"2026-11-25T22:59:34.736Z","epss":{"score":0.00386,"percentile":0.34834,"date":"2026-12-01T12:00:22.000Z"}}