---
id: CVE-2026-77294
title: TREK is a collaborative travel planner
summary: >-
  TREK is a collaborative travel planner. Prior to 3.3.0, TREK allows an
  authenticated user to store an attacker-controlled llm_base_url through the
  settings API when the LLM_PARSING feature is enabled. Write permission to the
  target trip …
severity: high
cvss: 8.1
cvssVector: 'CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N'
cwe:
  - CWE-918
vendor: mauriceboe
product: TREK
affected:
  - TREK < 3.3.0
published: '2026-09-24'
updated: '2026-09-24'
sourceUpdated: '2026-09-24T19:17:16.570'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2026-77294'
references:
  - url: >-
      https://github.com/liketrek/TREK/commit/19064b39176660f3be3a2df198c87949504046e2
    label: security-advisories@github.com
  - url: 'https://github.com/liketrek/TREK/pull/1520'
    label: security-advisories@github.com
  - url: 'https://github.com/liketrek/TREK/releases/tag/v3.3.0'
    label: security-advisories@github.com
  - url: 'https://github.com/liketrek/TREK/security/advisories/GHSA-fmq9-ggh3-647p'
    label: security-advisories@github.com
  - url: 'https://github.com/liketrek/TREK/security/advisories/GHSA-fmq9-ggh3-647p'
    label: 134c704f-9b21-4f2e-91b3-4a467353bcc0
tags:
  - nvd
  - cve.org
  - exploit-available
exploitAvailable: true
ssvc:
  exploitation: poc
  automatable: 'no'
  technicalImpact: total
  timestamp: '2026-09-24T18:35:19.739164Z'
ingestedAt: '2026-09-24T18:49:36.721Z'
---

## Overview

TREK is a collaborative travel planner. Prior to 3.3.0, TREK allows an authenticated user to store an attacker-controlled llm_base_url through the settings API when the LLM_PARSING feature is enabled. Write permission to the target trip instance is required to trigger the vulnerable AI-assisted import path. The value is consumed by the clients in server/src/nest/llm-parse/clients/openai-compatible.client.ts, server/src/nest/llm-parse/clients/anthropic.client.ts, and server/src/nest/llm-parse/router/ollama-format.client.ts without applying the server-side request forgery guard. Triggering AI-assisted trip parsing causes the server to request the supplied destination, and upstream error response text can be returned in parsing warnings. This permits internal service discovery and access to link-local cloud metadata, with possible disclosure of infrastructure credentials and subsequent modification of protected cloud resources. This issue is fixed in version 3.3.0.

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.
