Skip to main content

Trek CVE-2026-40185

| EUVDEUVD-2026-21587 MEDIUM
Missing Authorization (CWE-862)
2026-04-10 GitHub_M
6.5
CVSS 3.1 · NVD
View

Attack ChainAIDerived

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

  1. Access
    Authenticate as low-privilege user
  2. Exploit
    Access Immich trip photo management routes
  3. Execution
    Bypass authorization checks
  4. Impact
    View or modify other users' trip photos

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V8 - Authorization Authorization checks on every request
MITRE ATT&CK

1 technique across 1 tactic: Privilege Escalation

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Requires authenticated user account in TREK versions prior to 2.7.2. Attacker must be logged in to access Immich trip photo management routes. No victim interaction needed. Remote exploitation possible against default TREK deployments with authentication enabled.

Impact

High-severity privilege escalation via missing authorization checks on photo management endpoints. Authenticated users can access/modify trip photos across organizational boundaries. CVSS 7.1 reflects confidentiality breach and integrity impact. Network-exploitable with low complexity. Patch available; urgency depends on deployment scale and data sensitivity of stored trip photos.

Exploit ScenarioDerived

Authenticated attacker enumerates trip IDs, sends unauthenticated requests to Immich photo endpoints with modified trip parameters to read/modify photos from other users' trips. Low barrier: requires valid account credentials and knowledge of endpoint structure. No public exploit identified at time of analysis.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
Patch available 0.0% exploitation probability (EPSS)

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

Alert me

AnalysisAIv1 – Apr 10, 2026

Authentication bypass in TREK collaborative travel planner (versions prior to 2.7.2) allows authenticated attackers with low privileges to access and modify trip photos without proper authorization. The missing authorization checks on Immich trip photo management routes enable unauthorized data access (high confidentiality impact) and limited integrity compromise. Exploitation requires authenticated access but no user interaction, exploitable remotely over network with low attack complexity.

RemediationAI

Vendor-released patch: upgrade immediately to TREK version 2.7.2 or later, which implements proper authorization checks on Immich trip photo management routes. The fix is delivered via commit 16277a3811a00c2983f7486fee83c112986cb179. Organizations unable to upgrade immediately should restrict authenticated user access to TREK instances and audit trip photo access logs for unauthorized activity. Patched release available at https://github.com/mauriceboe/TREK/releases/tag/v2.7.2. Complete security advisory and technical details: https://github.com/mauriceboe/TREK/security/advisories/GHSA-pcr3-6647-jh72. No workaround exists; upgrade is the only complete mitigation.

Affected VersionsENISA

TREK < 2.7.2

Affected Packages

euvd trek fix: 2.7.2

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

CWE-862 missing authorization vulnerability in photo management API endpoints. Application fails to validate user permissions before granting access to trip photo resources within the Immich integration layer. Authenticated users can bypass intended access controls to manipulate photo data belonging to other users' trips. Root cause is absent server-side authorization enforcement on sensitive routes (CPE: cpe:2.3:a:mauriceboe:trek:*:*:*:*:*:*:*:*).

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

NVD PRIMARY 6.5 MEDIUM
AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N

Primary rating from NVD · only source for this CVE.

CVSS VectorNVD

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

Lifecycle Timeline

5
Severity Changed
Oct 26, 2026 - 21:23 NVD
HIGH MEDIUM
CVSS changed
Oct 26, 2026 - 21:23 NVD
7.1 (HIGH) 6.5 (MEDIUM)
Analysis Updated
Apr 16, 2026 - 05:57 EUVD-patch-fix
executive summary
Patch available
Apr 16, 2026 - 05:29 EUVD
2.7.2
CVE Published
Apr 10, 2026 - 19:40 nvd
HIGH 7.1

DescriptionNVD

TREK is a collaborative travel planner. Prior to 2.7.2, TREK was missing authorization checks on the Immich trip photo management routes. This vulnerability is fixed in 2.7.2.

Executive ViewAI

Why It Matters

TREK collaborative travel planner versions prior to 2.7.2 contain an authorization bypass affecting trip photo management, allowing authenticated users with low privileges to view and modify photos belonging to other users' trips. This vulnerability directly exposes sensitive personal travel documentation and shared memories to unauthorized access and modification by any authenticated application user, requiring immediate patching to prevent data leakage within organizations using this platform.

Business Impact: High
Compensating Controls

Apply vendor patch (TREK version 2.7.2 or later). If immediate patching is not possible, restrict authenticated user base to trusted personnel only and disable photo-sharing features until patch deployment is completed.

Threat Intelligence Overview

EPSS Score
0.0%
Top 92% exploitable
Social Media
1
Sightings
Data Quality
6 sources
Confidence: High

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 MEDIUM
CISA KEV No
Public POC No
EPSS 0.0%
Patch available Yes
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.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
None
System Exposure· derived
Open
Automatable
No
Human Impact
High
Technical Impact
Partial

Priority Score

32
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +32
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-77293 HIGH
7.1 Sep 24

TREK, a collaborative travel-planning web application, authorizes the DELETE /api/trips/:tripId/collab/notes/:noteId/fil

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-40184 MEDIUM
5.3 Apr 10

TREK collaborative travel planner versions before 2.7.2 serve uploaded user photos without authentication, allowing unau

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