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.
Published: 2026-09-24
Score: 7.1 High
EPSS: < 1% Very Low
KEV: No
Impact: Potential data loss through unauthorized file deletion
Action: Immediate Patch
AI Analysis

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.

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

Remediation

No vendor fix or workaround currently provided.

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

History

Fri, 25 Sep 2026 08:30:00 +0000

Type Values Removed Values Added
First Time appeared Mauriceboe
Mauriceboe trek
Vendors & Products Mauriceboe
Mauriceboe trek

Thu, 24 Sep 2026 19:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

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


Thu, 24 Sep 2026 18:30:00 +0000

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'}


cve-icon MITRE

Status: PUBLISHED

Assigner: GitHub_M

Published:

Updated: 2026-09-24T18:45:45.240Z

Reserved: 2026-08-20T19:17:14.374Z

Link: CVE-2026-77293

cve-icon Vulnrichment

Updated: 2026-09-24T18:44:54.673Z

cve-icon NVD

Status : Deferred

Published: 2026-09-24T19:17:16.397

Modified: 2026-09-25T13:17:26.220

Link: CVE-2026-77293

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-09-25T08:15:17Z

Weaknesses
  • CWE-639

    Authorization Bypass Through User-Controlled Key

  • CWE-862

    Missing Authorization