Security Advisory

CVE-2026-54509

CVE vulnerability detail - eXtreme Datacenter Security Operations

Published 2026-08-20 21:49:49
Last updated 2026-08-21 14:57:42
Assigner GitHub_M
CVSS score 6.5
State PUBLISHED

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.