TREK: Cross-user note-file deletion (IDOR / Broken Access Control)
Published Sep 24, 2026
7.1
HIGHCVSS 3.1
EPSS 0.38%
Description
TREK is a collaborative travel planner. Prior to 3.3.0, the DELETE /api/trips/:tripId/collab/notes/:noteId/files/:fileId endpoint authorizes an authenticated user against the attacker-controlled tripId but deleteNoteFile in server/src/services/collabService.ts resolves the target only by note and file identifiers without requiring the file to belong to that trip. A user with edit access to any trip can submit identifiers belonging to another user's trip and permanently delete that note-file attachment. Sequential identifiers make broad targeting practical, while attachment read operations remain trip-scoped and are not affected. This issue is fixed in version 3.3.0.
Affected products
-
Affected
- < 3.3.0
Default status is the baseline for the product. Each version can override it (patched versions can be marked unaffected).
| Vendor | Product | Default status | Versions |
|---|---|---|---|
| Mauriceboe | TREK | unknown | Affected
|
No data.
No data.
No Red Hat product state for this CVE.
No package ranges for this CVE.
Remediation
No remediation recorded yet.
References (5)
- https://euvd.enisa.europa.eu/vulnerability/EUVD-2026-86341 Advisory
- https://github.com/liketrek/TREK/commit/19064b39176660f3be3a2df198c87949504046e2 x_refsource_MISC
- https://github.com/liketrek/TREK/pull/1520 x_refsource_MISC
- https://github.com/liketrek/TREK/releases/tag/v3.3.0 x_refsource_MISC
- https://github.com/liketrek/TREK/security/advisories/GHSA-cjc5-722j-vvmf exploitx_refsource_CONFIRM
| Link | Providers | Tags |
|---|---|---|
| https://euvd.enisa.europa.eu/vulnerability/EUVD-2026-86341 | Advisory | |
| https://github.com/liketrek/TREK/commit/19064b39176660f3be3a2df198c87949504046e2 | x_refsource_MISC | |
| https://github.com/liketrek/TREK/pull/1520 | x_refsource_MISC | |
| https://github.com/liketrek/TREK/releases/tag/v3.3.0 | x_refsource_MISC | |
| https://github.com/liketrek/TREK/security/advisories/GHSA-cjc5-722j-vvmf | exploitx_refsource_CONFIRM |
Change history (0)
No recorded changes yet.
CVE.org / MITRE
CISA Vulnrichment
Red Hat
No data
GitHub
No data