CVE-2026-77293

TREK: Cross-user note-file deletion (IDOR / Broken Access Control)

Published Sep 24, 2026 CVSS 3.1 · 7.1 High EPSS < 1% KEV · Not listed
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.

Analysis

AI-generated

Technical impact

The TREK collaborative travel planner contained an insecure DELETE endpoint that allowed an authenticated user to delete note‑file attachments belonging to any trip they could identify, regardless of ownership. The endpoint authenticated the user only against the tripId supplied in the URL but then resolved the file solely by noteId and fileId, ignoring the trip context. As a result, an attacker with edit rights to any trip could submit identifiers that belong to another user’s trip and permanently remove that user’s attachment. This flaw is classified under IDOR and Broken Access Control (CWE-639 and CWE-862).

Affected Systems

The vulnerability affects all deployments of TREK prior to version 3.3.0, including the open‑source edition provided by mauriceboe. Any user who can edit a trip possesses the ability to delete arbitrary note‑file attachments from other trips when the system is running a vulnerable version.

Risk and Exploitability

The CVSS score of 7.1 indicates a moderately high risk. EPSS data is unavailable and the vulnerability is not listed in the CISA KEV catalog, so the overall exploitation probability is uncertain. The attack requires an authenticated user with edit permissions; once this condition is met, the mis‑authorization allows direct deletion of any note‑file attachment, potentially leading to data loss, user frustration, or denial of service for affected trips. The fix is available in TREK 3.3.0, which removes the insecure delete logic.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade the TREK application to version 3.3.0 or newer to eliminate the insecure delete logic.
  • Reconfigure access controls so that the DELETE operation verifies that the file belongs to the trip and that the user has appropriate edit rights, preventing cross‑trip deletions.
  • Implement logging and monitoring of delete operations, and review logs for anomalous deletions that may indicate exploitation attempts.

Generated by OpenCVE AI on September 25, 2026 at 06:08 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
First Time appeared Mauriceboe
Mauriceboe trek
Vendors & Products Mauriceboe
Mauriceboe trek
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'poc', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
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.
Title TREK: Cross-user note-file deletion (IDOR / Broken Access Control)
Weaknesses CWE-639
CWE-862
References
Metrics cvssV3_1

{'score': 7.1, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:L'}

Weaknesses
  • CWE-639

    Authorization Bypass Through User-Controlled Key

  • CWE-862

    Missing Authorization

Sources

Status
PUBLISHED
Assigner
GitHub_M
Published
Updated
Sep 24, 2026, 6:45 PM
Reserved
Aug 20, 2026, 7:17 PM
Status
Deferred
Published
Sep 24, 2026, 7:17 PM
Modified
Sep 25, 2026, 1:17 PM