CVE Catalog

CVE-2026-77293

HighCVSS 7.1
Published: Updated: Translated: NVD NIST

Exploitation Probability (EPSS)

Low risk
0.38%

29th percentile - higher than 29% of all known CVEs

Summary

TREK, a collaborative travel planner, prior to 3.3.0 contains an authorization flaw in the DELETE /api/trips/:tripId/collab/notes/:noteId/files/:fileId endpoint. The authenticated user is authorized against the attacker-controlled tripId, but deleteNoteFile in the server 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.

Risk Assessment

A low-privileged attacker can permanently delete note-file attachments belonging to other users, causing data loss. Sequential identifiers make broad targeting practical.

Recommendation

Upgrade TREK to version 3.3.0 or later, which fixes this issue. Until then, restrict access to the file deletion endpoint or verify file ownership against the trip in the application.

Other vulnerabilities in TREK

See all
Original NVD description (English source)

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.

Vulnerability data from NVD (NIST) · CISA KEV · EPSS