Submit #886932: mauriceboe TREK <= 3.0.22 Path Traversalinfo

Titlemauriceboe TREK <= 3.0.22 Path Traversal
DescriptionPath traversal in the public journey photo proxy (local provider) in TREK <= 3.0.22. The GET /api/public/journey/:token/photo/local/:assetId endpoint has insufficient path validation, confining resolution only to /uploads rather than /uploads/journey. An attacker can use directory traversal sequences (e.g., ..%2Ffiles%2F<uuid>.pdf) to escape the intended directory and access files in otherwise protected directories including /uploads/files (normally 401-gated), /uploads/photos (JWT/trip-token protected), /uploads/covers, and /uploads/avatars. Requires only a valid journey share token. CVSS 6.8 (AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:N/A:N). CWE-22, CWE-863. Fixed in 3.1.0.
Source⚠️ https://github.com/mauriceboe/TREK/security/advisories/GHSA-h66w-m5g2-cqpc
User
 ByteJMP (UID 99294)
Submission07/12/2026 06:42 (1 month ago)
Moderation08/25/2026 08:01 (1 month later)
StatusAccepted
VulDB entry394942 [liketrek TREK up to 3.0.22 Public Journey Photo Proxy journey-public.controller.ts path traversal]
Points20

Do you know our Splunk app?

Download it now for free!