Skip to main content

liketrek TREK CVE-2026-78864

| EUVDEUVD-2026-65458 MEDIUM
SQL Injection (CWE-89)
2026-08-25 VulDB GHSA-6fxv-j57x-3hv8
5.3
CVSS 4.0 · Vendor: VulDB
View

Attack ChainAIDerived

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

  1. Access
    Obtain valid TREK account credentials
  2. Delivery
    Authenticate to target self-hosted TREK instance
  3. Exploit
    Craft SQL injection payload in journey entry update field
  4. Execution
    Submit malicious POST/PATCH to journeyService.updateEntry
  5. Impact
    Manipulate 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.

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

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

Alert me

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

TREK 3.0.6
TREK 3.0.13
TREK 3.0.7
TREK 3.0.21
TREK 3.0.15
TREK 3.0.9
TREK 3.0.22
TREK 3.0.8
TREK 3.0.0
TREK 3.0.19
TREK 3.0.3
TREK 3.0.1
TREK 3.0.17
TREK 3.0.11
TREK 3.0.18
TREK 3.0.14
TREK 3.0.10
TREK 3.0.5
TREK 3.0.12
TREK 3.0.2
TREK 3.0.4
TREK 3.0.20
TREK 3.0.16

Affected Packages

euvd trek no fix

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

Vendor (VulDB) PRIMARY 5.3 MEDIUM
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
vuln.today AI 5.4 MEDIUM

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.

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

Primary rating from Vendor (VulDB).

CVSS VectorVendor: VulDB

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
Low
User Interaction
None
Vulnerable system: Confidentiality
Low
Vulnerable system: Integrity
Low
Vulnerable system: Availability
Low
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

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

EPSS Score
0.2%
Top 90% exploitable
Prevalence
Rare
niche self-hosted travel tracker, small hobbyist and homelab community footprint
Data Quality
7 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment GitHub VulDB

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.2%
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· derived
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
No
Human Impact· derived
Medium
Technical Impact
Partial

Priority Score

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

Attack Technique

SQL injection exploits the way applications construct database queries by mixing user input directly into SQL statements.

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