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

- Severity: High 8.1 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.31%, higher than 25% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-09-24T18:04:02.393Z
- Modified: 2026-09-25T13:17:26.220Z
- Weaknesses: CWE-918
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact total
- Assigned by: GitHub_M

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

(As written by CVE List.)

## Affected

- mauriceboe TREK: < 3.3.0

## References

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

## Sources

- CVE List: [CVE-2026-77294](https://www.cve.org/CVERecord?id=CVE-2026-77294), CVE Terms of Use, modified 2026-09-24
- NVD: [CVE-2026-77294](https://nvd.nist.gov/vuln/detail/CVE-2026-77294), Public domain, modified 2026-09-25

---

Page: https://cve.day/CVE-2026-77294 · Whole record: https://cve.day/CVE-2026-77294.json · Rebuilt by cve.day 2026-11-25T22:59:40.895Z
