Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessAuthenticate with edit access to any trip
-
DeliveryEnumerate sequential note/file IDs
-
ExploitSubmit DELETE with own tripId + victim's fileId
-
ExecutionServer skips trip-ownership check
-
ImpactVictim attachment permanently deleted
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V8 - Authorization Object-level authorization, IDOR prevention
|
| Exploitation Conditions | Requires an authenticated account with edit access to at least one trip in the TREK collaborative travel planner (the tripId in the path must pass the authorization check, so the attacker needs legitimate edit rights on some trip). No victim interaction is needed. The specific vulnerable path is DELETE /api/trips/:tripId/collab/notes/:noteId/files/:fileId, where deleteNoteFile resolves the target solely by noteId and fileId. Exploitation is limited to note-file attachment DELETION (integrity/availability); attachment read operations remain trip-scoped and are not affected, so no data disclosure is possible. Practicality is enhanced by sequential/predictable identifiers, allowing enumeration and broad cross-trip targeting. Affected on any TREK deployment prior to 3.3.0 in a multi-user/collaborative configuration. |
| Impact | This is a broken-object-level-authorization flaw (CWE-639, IDOR) with a moderately serious real-world profile but no evidence of active exploitation. The CVSS 3.1 vector (AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:L, base 7.1) indicates network-reachable, low-complexity abuse requiring only low-privilege authenticated access - any user with edit rights to a single trip. No EPSS score, KEV listing, or public POC was provided, so exploitation status is 'no public exploit identified at time of analysis'; the 7.1 is a HIGH-ish score driven entirely by the I:H integrity impact (permanent deletion of other tenants' data) rather than by confirmed exploitation pressure. Confidentiality is untouched (C:N - read operations remain trip-scoped per the description), and availability impact is partial (A:L). The description explicitly notes 'sequential identifiers make broad targeting practical,' which meaningfully raises the practical integrity risk beyond a single-object IDOR - an attacker can enumerate noteId/fileId pairs and mass-delete attachments across unrelated trips. There are no conflicting signals in the data: the CVSS vector, the source-code diff, and the narrative all agree the flaw is a server-side authorization gap where deleteNoteFile resolves the target by note+file id without confirming the file belongs to the authorized trip. Realistic priority: moderate - worth patching promptly for any multi-user TREK deployment, but the niche footprint and lack of exploitation signals keep it below top-tier urgency. |
| Exploit ScenarioDerived | An authenticated TREK user who has edit access to any single trip calls DELETE /api/trips/:tripId/collab/notes/:noteId/files/:fileId, passing their own tripId (which passes the authorization check) but noteId/fileId values belonging to a victim's trip. Because deleteNoteFile validates only the note and file identifiers, the victim's attachment is permanently deleted. Sequential identifiers make it practical to script enumeration and delete attachments across many unrelated trips; no public exploit code was provided. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Sep 24, 2026
TREK, a collaborative travel-planning web application, authorizes the DELETE /api/trips/:tripId/collab/notes/:noteId/files/:fileId endpoint against the caller-supplied tripId but then deletes the attachment resolved solely by noteId and fileId, so an authenticated user with edit rights on any single trip can permanently destroy note-file attachments belonging to other users' trips. Exploitation requires only a low-privileged authenticated account with edit access to at least one trip (CVSS:3.1/AV:N/AC:L/PR:L/UI:N, 7.1) and is made practical by sequential, enumerable identifiers, though impact is confined to integrity and availability of attachments - read paths remain trip-scoped, so no data disclosure is possible. All TREK deployments prior to 3.3.0 in a multi-user configuration are affected; no public exploit code has been identified and there is no evidence of active exploitation at time of analysis.
RemediationAI
Upgrade to TREK 3.3.0 or later, which is the vendor-released patch for this issue; container and Helm users should pull the matching 3.3.0 image and note that the chart now defaults to a Recreate update strategy because TREK is a single-writer SQLite application on a ReadWriteOnce volume, so a RollingUpdate can multi-attach the volume or run two processes against the same travel.db. Validate the fix by confirming that deleteNoteFile constrains the target by trip as well as by note and file identifiers, per PR 1520 and the referenced commit. Where immediate upgrading is not possible, the most effective compensating control is to restrict which accounts hold edit access to trips, since the flaw requires a legitimate edit-capable session to reach the authorization check - this reduces but does not eliminate risk because any single editable trip is sufficient. Administrators can also reduce exposure by treating attachments as expendable and maintaining separate backups, since deletion is permanent, but no configuration toggle or endpoint-level ACL exists in the vulnerable releases to scope the delete to the owning trip, and network-level restrictions are of limited value because the endpoint is a normal authenticated API route rather than an administrative or internal-only path.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
The flaw is a broken object-level authorization (IDOR) of the CWE-639 class - authorization bypass through a user-controlled key - implemented in the Node.js/Express backend, specifically the deleteNoteFile function in server/src/services/collabService.ts. The route handler validates that the authenticated principal has edit permission on the trip identified by the path parameter tripId, but the service-layer lookup that actually performs the destructive delete resolves the target row only by noteId and fileId, with no secondary constraint tying that file to the authorized trip. This creates a scope mismatch between the object the request is checked against (attacker-controlled tripId) and the object actually operated on (a file in someone else's trip). Because identifiers are sequential rather than random or UUID-based, an attacker can enumerate noteId/fileId pairs and build a broad cross-trip targeting set at scale, while the mismatch in the DELETE path is not mirrored in attachment read operations, which remain correctly trip-scoped. The CPE cpe:2.3:a:mauriceboe:trek:*:*:*:*:*:*:*:* confirms that every TREK release prior to the 3.3.0 fix is in scope; the application stores data in SQLite as a single-writer store, meaning the affected deployments are typically self-hosted single-instance instances.
Know when Trek gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:L
Network endpoint, low complexity, requires authenticated low-privilege edit access (PR:L); no confidentiality impact (reads stay trip-scoped), permanent cross-tenant deletion drives I:H and A:L.
Primary rating from Vendor (GitHub_M).
CVSS VectorVendor: GitHub_M
Lifecycle Timeline
2DescriptionCVE.org
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.
Technical POC Analysis
CWE-639 (Authorization Bypass Through User-Controlled Key), secondary CWE-862.
Full technical POC analysis - root cause, step-by-step exploitation and patch breakdown - is part of the Pro and Business plans.
Executive ViewAI
TREK multi-user deployments prior to 3.3.0 are exposed to an authenticated, low-privileged user with edit rights on any single trip being able to permanently delete note-file attachments from other users' trips. While no data disclosure is possible and no public exploit identified at time of analysis, the flaw can cause targeted data loss and disrupt collaboration across trip owners. Because no vendor-released patch identified at time of analysis, leadership should prioritize access controls, monitoring, and backups until a fix can be deployed.
No vendor-released patch identified at time of analysis; interim mitigations include restricting edit privileges to trusted users, enforcing least-privilege access, enabling audit logging and alerting for attachment deletion events, maintaining offline/immutable backups, and where feasible blocking or adding extra authorization checks on DELETE /api/trips/:tripId/collab/notes/:noteId/files/:fileId.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Authentication bypass attacks exploit flaws in the verification mechanisms that control access to systems and applications.
Server-side request forgery in TREK before 3.3.0 allows an authenticated user (CVSS PR:L) to persist an attacker-control
Authentication bypass in TREK collaborative travel planner (versions prior to 2.7.2) allows authenticated attackers with
Share-link token theft in TREK versions 3.0.0 through 3.0.x allows any ordinary authenticated user to exfiltrate private
Path traversal in the liketrek TREK Public Journey Photo Proxy controller allows remote attackers - without authenticati
Improper authentication in liketrek TREK up to version 3.0.22 allows a remote unauthenticated attacker to bypass the OID
Server-side request forgery in TREK (versions prior to 3.4.0) allows an authenticated user to reach internal services or
Incorrect authorization in liketrek TREK's Journey Photo Proxy (all versions through 3.0.22) enables remote unauthentica
Server-Side Request Forgery in TREK, a collaborative travel planner, allows any authenticated user to pivot the server i
Authentication bypass in liketrek TREK up to v3.0.22 allows a remote attacker with valid credentials to circumvent two-f
TREK, a self-hosted collaborative travel planner, returns complete trip itinerary data - day plans, assignments, notes,
SQL injection in liketrek TREK's Journey Entry Update endpoint allows authenticated remote attackers to manipulate under
Insecure direct object reference in TREK collaborative travel planner before 3.1.3 allows any authenticated user with fi
EUVD-2026-86341
NVD
CVE.org
EPSS
Vulnrichment
GitHub
Exploit-DB