Skip to main content

TREK EUVDEUVD-2026-86341

| CVE-2026-77293 HIGH
Authorization Bypass Through User-Controlled Key (CWE-639)
2026-09-24 GitHub_M
7.1
CVSS 3.1 · Vendor: GitHub_M
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Authenticate with edit access to any trip
  2. Delivery
    Enumerate sequential note/file IDs
  3. Exploit
    Submit DELETE with own tripId + victim's fileId
  4. Execution
    Server skips trip-ownership check
  5. Impact
    Victim 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.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 0.4% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – 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

TREK < 3.3.0

Affected Packages

euvd trek fix: 3.3.0

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

Vendor (GitHub_M) PRIMARY 7.1 HIGH
AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:L
vuln.today AI 7.1 HIGH

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.

3.1 AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:L
4.0 AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:H/VA:L/SC:N/SI:N/SA:N

Primary rating from Vendor (GitHub_M).

CVSS VectorVendor: GitHub_M

Attack Vector
Network
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
High
Availability
Low

Lifecycle Timeline

2
Patch available
Sep 24, 2026 - 19:04 EUVD
CVE Published
Sep 24, 2026 - 18:08 cve.org
HIGH 7.1

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

Why It Matters

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.

Business Impact: High
Compensating Controls

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

EPSS Score
0.4%
Top 71% exploitable
Prevalence
Low
niche self-hosted open-source collaborative travel planner, small deployment footprint
Data Quality
5 sources
Confidence: Medium

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.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS 0.4%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision
Scheduled
Exploitation
Poc
System Exposure· derived
Open
Automatable
No
Human Impact
High
Technical Impact
Partial

Priority Score

36
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +36
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Authentication bypass attacks exploit flaws in the verification mechanisms that control access to systems and applications.

More in Trek

View all
CVE-2026-77294 HIGH
8.1 Sep 24

Server-side request forgery in TREK before 3.3.0 allows an authenticated user (CVSS PR:L) to persist an attacker-control

CVE-2026-40185 HIGH
7.1 Apr 10

Authentication bypass in TREK collaborative travel planner (versions prior to 2.7.2) allows authenticated attackers with

CVE-2026-54509 MEDIUM
6.5 Aug 20

Share-link token theft in TREK versions 3.0.0 through 3.0.x allows any ordinary authenticated user to exfiltrate private

CVE-2026-78886 MEDIUM
6.3 Aug 25

Path traversal in the liketrek TREK Public Journey Photo Proxy controller allows remote attackers - without authenticati

CVE-2026-78885 MEDIUM
6.3 Aug 25

Improper authentication in liketrek TREK up to version 3.0.22 allows a remote unauthenticated attacker to bypass the OID

CVE-2026-85738 MEDIUM
6.3 Sep 24

Server-side request forgery in TREK (versions prior to 3.4.0) allows an authenticated user to reach internal services or

CVE-2026-78887 MEDIUM
6.3 Aug 25

Incorrect authorization in liketrek TREK's Journey Photo Proxy (all versions through 3.0.22) enables remote unauthentica

CVE-2026-54508 MEDIUM
5.3 Aug 20

Server-Side Request Forgery in TREK, a collaborative travel planner, allows any authenticated user to pivot the server i

CVE-2026-78863 MEDIUM
5.3 Aug 25

Authentication bypass in liketrek TREK up to v3.0.22 allows a remote attacker with valid credentials to circumvent two-f

CVE-2026-77320 MEDIUM
5.3 Sep 24

TREK, a self-hosted collaborative travel planner, returns complete trip itinerary data - day plans, assignments, notes,

CVE-2026-78864 MEDIUM
5.3 Aug 25

SQL injection in liketrek TREK's Journey Entry Update endpoint allows authenticated remote attackers to manipulate under

CVE-2026-62945 MEDIUM
4.3 Aug 20

Insecure direct object reference in TREK collaborative travel planner before 3.1.3 allows any authenticated user with fi

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy