CVE-2026-77293 in TREKinfo

Summary

by MITRE • 09/24/2026

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.

If you want to get best quality of vulnerability data, you may have to visit VulDB.

Analysis

by VulDB Data Team • 09/24/2026

The vulnerability identified as CVE-2024-XXXXX represents a critical Insecure Direct Object Reference (IDOR) flaw within the TREK collaborative travel planner application, specifically affecting versions prior to 3.3.0. This security defect resides in the server-side API endpoint responsible for deleting file attachments associated with notes on shared trips. The core technical failure stems from an inconsistency in authorization logic between different stages of request processing. While the initial authentication and high-level access control mechanisms correctly verify that a user possesses edit permissions for a specific trip identified by the URL parameter, the subsequent business logic function deleteNoteFile fails to enforce this contextual constraint during resource resolution. Instead of validating that the target note file belongs exclusively to the authorized trip context, the system relies solely on the provided note and file identifiers to locate and remove the data from storage.

This architectural oversight allows an authenticated attacker with edit access to any single trip in the application to perform unauthorized destructive actions against resources belonging to other users' trips. By manipulating the request parameters to include valid but unrelated note and file IDs, the attacker can bypass the intended scope limitations of their permissions. The operational impact is severe, as it enables the permanent deletion of critical travel documents, itineraries, or shared media files that are essential to other users. Unlike read operations which remain properly scoped to trip boundaries, this write operation lacks sufficient validation, leading to data loss and potential disruption of collaborative workflows for victims who have no connection to the attacker's authorized trips.

From a classification perspective, this vulnerability aligns with CWE-639: Authorization Bypass Through User-Controlled Key, as the application fails to ensure that the user is authorized to access or modify the specific object referenced by the input key. Furthermore, in terms of tactical mapping within the MITRE ATT&CK framework, this behavior corresponds to T1485: Data Destruction, where an adversary intentionally destroys data and artifacts on a network or device to impede incident response activities or recovery efforts. The use of sequential identifiers for notes and files exacerbates the risk by facilitating broad targeting capabilities, allowing attackers to iterate through potential resource IDs efficiently rather than relying on chance discovery.

Mitigation strategies must prioritize immediate patching to version 3.3.0 or later, where this logic has been corrected to ensure that file deletion requests are validated against both user permissions and trip ownership constraints. For organizations unable to upgrade immediately due to operational dependencies, compensating controls should include implementing strict server-side validation that cross-references the note ID with its parent trip ID before processing any delete request. Additionally, adopting a principle of least privilege for API endpoints and ensuring that all resource manipulation functions verify object ownership relative to the authenticated user's context is essential. Regular security audits focusing on authorization logic across multi-tenant applications can help identify similar inconsistencies where business keys are used without sufficient contextual verification.

Responsible

GitHub M

Reservation

08/20/2026

Disclosure

09/24/2026

Moderation

accepted

CPE

ready

EPSS

0.00000

KEV

no

Activities

very low

Sources

Interested in the pricing of exploits?

See the underground prices here!