Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessObtain valid TREK account credentials
-
DeliveryAuthenticate to target self-hosted TREK instance
-
ExploitCraft SQL injection payload in journey entry update field
-
ExecutionSubmit malicious POST/PATCH to journeyService.updateEntry
-
ImpactManipulate database query to read or modify out-of-scope records
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Parameterized queries, prepared statements
MITRE ATT&CK
2 techniques across 2 tactics: Initial Access, Persistence The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Exploitation requires a valid authenticated session with at least low-level user privileges, as confirmed by PR:L in the CVSS 4.0 vector - unauthenticated anonymous exploitation is not possible. The attacker must hold an account on the target self-hosted TREK instance. The endpoint is network-accessible (AV:N) with low attack complexity (AC:L) and no required user interaction beyond the attacker's own crafted request (UI:N, AT:N). No non-default configuration is required - the Journey Entry Update feature is a core application function. Key limiting factors: mandatory authentication before reaching the vulnerable endpoint, the self-hosted deployment model (not exposed as a public SaaS), and the niche footprint of TREK in production environments. Scope is contained - no cross-system impact per SC:N/SI:N/SA:N. |
| Impact | The CVSS 4.0 score of 5.3 (Medium) accurately reflects the constrained but real threat posture: the endpoint is network-reachable with low attack complexity, but exploitation is gated behind an authenticated session (PR:L), ruling out unauthenticated mass exploitation. Confidentiality, integrity, and availability impact are all rated Low on the vulnerable system with no subsequent-system impact, consistent with a CWE-89 flaw that allows data manipulation within the application's own database scope rather than full compromise. No CISA KEV listing and no public POC code have been identified, meaning exploitation probability is currently low. EPSS data was not included in the provided sources and cannot be assessed. The private-disclosure model and the authentication prerequisite together suggest this is a moderate-priority patch-when-able item for self-hosted operators, not an emergency response situation - though the co-disclosure of a critical authentication bypass in the same 3.1.0 release makes upgrading urgently advisable for that separate reason. |
| Exploit ScenarioDerived | An authenticated TREK user submits a crafted journey entry update request with SQL metacharacters embedded in a controllable field targeting the journeyService.updateEntry endpoint. The injected payload alters the underlying SQL query, potentially allowing the attacker to read other users' journey records, modify data outside their own scope, or enumerate database contents. No public exploit code has been identified at time of analysis. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Aug 25, 2026
SQL injection in liketrek TREK's Journey Entry Update endpoint allows authenticated remote attackers to manipulate underlying database queries via the journeyService.updateEntry function in versions up to and including 3.0.22. The flaw (CWE-89) is network-reachable but requires a valid user session (PR:L), constraining the attack surface to authenticated users of self-hosted instances. No public exploit code or CISA KEV listing exists at time of analysis; the issue was privately disclosed alongside 17 other vulnerabilities all remediated in the 3.1.0 release.
RemediationAI
Upgrade to liketrek TREK version 3.1.0, confirmed by the official GitHub release at https://github.com/liketrek/TREK/releases/tag/v3.1.0. Note that v3.1.0 is a major architectural change (npm workspaces monorepo, compiled server dist/, new runtime requirements including kitinerary-extractor); operators running via Proxmox VE community scripts must wait for an updated LXC helper before upgrading, as the current script targets the 3.0.x layout and will break on v3.1.0 - user data and .env are safe in the interim. Docker, Unraid, Helm, and manual installs are unaffected by this constraint and should upgrade immediately. If immediate upgrade is not feasible, restrict the Journey Entry Update endpoint to trusted internal networks, enforce least-privilege on database accounts used by TREK (limiting to required tables and operations only), and audit application logs for anomalous SQL-like patterns in journey update requests.
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 vulnerable component is the NestJS journey controller at server/src/nest/journey/journey.controller.t, specifically the updateEntry method of journeyService. CWE-89 (Improper Neutralization of Special Elements in SQL Commands) indicates user-controlled input reaches a database query without adequate sanitization or parameterization. CPE cpe:2.3:a:liketrek:trek:*:*:*:*:*:*:*:* covers all TREK versions through 3.0.22. The 3.1.0 release represents a major architectural rewrite from Express to NestJS with a shared Zod schema contract layer enforcing input validation at the type boundary - the fix almost certainly derives from this end-to-end schema enforcement rather than a targeted patch on a single query.
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:L/AT:N/PR:L/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N
Network-reachable endpoint requires authenticated session (PR:L); SQLi yields limited data read and write within application scope but no availability impact or scope change.
Primary rating from Vendor (VulDB).
CVSS VectorVendor: VulDB
DescriptionCVE.org
A vulnerability was determined in liketrek TREK up to 3.0.22. The affected element is the function journeyService.updateEntry of the file server/src/nest/journey/journey.controller.t of the component Journey Entry Update. This manipulation causes sql injection. It is possible to initiate the attack remotely. Upgrading to version 3.1.0 is sufficient to fix this issue. It is recommended 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
SQL injection exploits the way applications construct database queries by mixing user input directly into SQL statements.
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
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,
Insecure direct object reference in TREK collaborative travel planner before 3.1.3 allows any authenticated user with fi
EUVD-2026-65458
GHSA-6fxv-j57x-3hv8
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB