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

Published Aug 20, 2026
·
Updated

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 journeysharetokens 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 Software

1 affected component
TREK IDOR TREK>=3.0.0<3.1.0

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade TREK to a version that resolves this vulnerability.

    Fixed in 3.1.0

Event History

Aug 20, 2026
CVE Published
via MITRE·09:49 PM
Data Sourced
via MITRE·09:49 PM
DescriptionSeverityWeakness

Frequently Asked Questions

1

Who can exploit this issue, and what access do they need?

Any authenticated TREK user can exploit it. The attacker does not need access to the target journey, but can enumerate sequential journey IDs to retrieve other users' share tokens.

2

What information can be exposed using a stolen share token?

The token enables unauthenticated access to the shared journey through the public journey endpoint. Exposed content includes entries, captions, locations, moods, gallery photos, photo paths, and asset identifiers.

3

Which versions are affected and what version fixes the issue?

TREK versions from 3.0.0 until 3.1.0 are affected. The issue is fixed in version 3.1.0.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203