Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessIdentify exposed TREK 3.0.x instance
-
DeliveryTarget unauthenticated Public Journey Photo Proxy endpoint
-
ExploitCraft traversal-encoded path payload
-
ExecutionBypass partial path sanitization logic
-
ImpactRead arbitrary files accessible to server process
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V5 - File Handling Path canonicalization, traversal prevention
MITRE ATT&CK
2 techniques across 2 tactics: Discovery, Collection The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | The target must be running liketrek TREK version 3.0.22 or earlier with the instance network-accessible to the attacker. The Public Journey Photo Proxy endpoint is publicly accessible by design (no session authentication required), as it exists to serve photos for unauthenticated public journey views - this is the structural condition enabling unauthenticated exploitation. High attack complexity (AC:H) indicates that exploitation is not trivial: the attacker likely requires knowledge of the server's internal directory structure and may need to employ specific path encoding or traversal bypass techniques to circumvent partial input validation. There is no requirement for a registered account, special server configuration, or non-default feature flag; the vulnerable endpoint exists in all standard TREK 3.0.x deployments. File read is limited to files readable by the TREK server process user. |
| Impact | The CVSS 4.0 score of 6.3 with AV:N/AC:H/PR:N/UI:N reflects a remotely reachable, unauthenticated attack surface paired with high exploitation complexity - meaning this is not a trivially weaponizable flaw. The confidentiality impact is bounded to Low (VC:L) with no integrity or availability impact, consistent with a read-only path traversal with limited file scope. No EPSS score was included in the available intelligence, so exploitation probability cannot be quantified beyond inference from CVSS metrics. The CVE is absent from the CISA KEV catalog and no public proof-of-concept code has been identified, keeping the realistic threat level moderate. TREK is a niche self-hosted product with a small deployment footprint, which further constrains aggregate risk at the population level; however, any single self-hosted operator who is externally exposing their instance should treat this as a prompt patching priority since the .env file and other sensitive configuration artifacts could be reachable. The high attack complexity suggests the traversal may require specific path encoding or knowledge of the server's directory layout, which is a meaningful limiting factor absent from the raw CVSS base score alone. |
| Exploit ScenarioDerived | An unauthenticated remote attacker sends a crafted HTTP GET request to the TREK Public Journey Photo Proxy endpoint, embedding path traversal sequences (e.g., |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Aug 25, 2026
Path traversal in the liketrek TREK Public Journey Photo Proxy controller allows remote attackers - without authentication - to read files outside the intended directory on self-hosted instances running version 3.0.22 or earlier. The affected endpoint (server/src/nest/journey/journey-public.controller.ts) fails to adequately sanitize path inputs, exposing server-side files to limited confidentiality disclosure. No public exploit has been identified and the CVE is not listed in the CISA KEV catalog; a vendor-released patch is available in v3.1.0.
RemediationAI
The primary remediation is to upgrade liketrek TREK to version 3.1.0, the vendor-released patch available at https://github.com/liketrek/TREK/releases/tag/v3.1.0. This release fixes 18 privately-reported security vulnerabilities including this path traversal. Docker, Unraid, Helm, and manual install operators can upgrade immediately. Proxmox VE community-script users should hold at their current version until an updated LXC helper script is published to community-scripts.org and ProxmoxVED, as the 3.1.0 build layout changed to an npm workspaces monorepo and upgrading with the old script may corrupt the container; user data at /opt/trek/data, /opt/trek/uploads, and .env is safe in the interim. As a compensating control prior to patching, restrict external network access to the TREK instance using a reverse proxy with authentication enforcement in front of the public photo proxy route, or apply firewall rules limiting access to trusted IP ranges - noting that this will break the unauthenticated public journey sharing feature by design.
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
TREK is a self-hosted travel journal application. Prior to v3.1.0, the backend ran on Express; v3.1.0 migrated to NestJS. The vulnerable component is the Public Journey Photo Proxy, a NestJS controller (server/src/nest/journey/journey-public.controller.ts) that serves photos associated with public journey views without requiring authentication. CWE-22 (Improper Limitation of a Pathname to a Restricted Directory) indicates the controller does not canonicalize or sufficiently validate file path inputs supplied by the caller, allowing directory traversal sequences such as ../ to escape the intended upload or media directory. The CPE cpe:2.3:a:liketrek:trek:*:*:*:*:*:*:*:* covers all Trek versions up to and including 3.0.22.
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
CVSS:4.0/AV:N/AC:H/AT:N/PR:N/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N
Network-reachable public endpoint with no authentication (AV:N, PR:N) but high exploitation complexity (AC:H); only limited file read is achievable (C:L) with no integrity or availability impact.
Primary rating from Vendor (VulDB).
CVSS VectorVendor: VulDB
DescriptionCVE.org
A security flaw has been discovered in liketrek TREK up to 3.0.22. This affects an unknown function of the file server/src/nest/journey/journey-public.controller.ts of the component Public Journey Photo Proxy. Performing a manipulation results in path traversal. The attack can be initiated remotely. The attack's complexity is rated as high. The exploitability is reported as difficult. Upgrading to version 3.1.0 mitigates this issue. It is advisable to upgrade the affected component.
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
Path traversal exploits occur when applications use user-controlled input to construct file system paths without proper validation.
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
TREK, a collaborative travel-planning web application, authorizes the DELETE /api/trips/:tripId/collab/notes/:noteId/fil
Share-link token theft in TREK versions 3.0.0 through 3.0.x allows any ordinary authenticated user to exfiltrate private
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-65474
GHSA-pw55-389h-h6rh
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB