Vulnerability · Published Sep 24, 2026 · Assigned by GitHub_M
CVE-2026-77320TREK: Public trip share link ignores the `share_map` permission server-side (client-enforced authorization → itinerary/location disclosure)
Medium 5.3
In plain English
A medium-severity information exposure in TREK from mauriceboe. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 0.3% (higher than 22% of all known vulnerabilities).
Official description
TREK is a collaborative travel planner. Prior to 3.3.0, getSharedTripData in server/src/services/shareService.ts returns days, assignments, dayNotes, and places through GET /api/shared/:token even when the trip owner disables share_map. The client hides the map, but the public JSON response still includes the itinerary and place names, coordinates, addresses, descriptions, notes, and prices. Anyone holding the valid share token can therefore read location and route information that the owner explicitly chose not to share, although the random token remains required and the flaw does not permit modification. This issue is fixed in version 3.3.0.
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| mauriceboe | TREK | < 3.3.0 |
Weakness: CWE-200, CWE-284, CWE-602 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
References
- https://github.com/liketrek/TREK/security/advisories/GHSA-9hc8-p7gm-p7mx x_refsource_CONFIRM
- https://github.com/liketrek/TREK/pull/1520 x_refsource_MISC
- https://github.com/liketrek/TREK/commit/19064b39176660f3be3a2df198c87949504046e2 x_refsource_MISC
- https://github.com/liketrek/TREK/releases/tag/v3.3.0 x_refsource_MISC