Skip to content

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

MediumCVSS 6.5 EPSS 0.42%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
Proof of concept public · automatable: no · technical impact: partial

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.

Upgrade path

1 package: 0 fixed.

PackageAffectedFixed inStatus
mauriceboe TREK = >= 3.0.0, < 3.1.0 No fix listed Versions listed

Affected products

ProductAffected versionsFixed in
mauriceboe TREK = >= 3.0.0, < 3.1.0 No fix listed

References