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

Published Sep 24, 2026
·
Updated

TREK is a collaborative travel planner. Prior to 3.3.0, TREK allows an authenticated user to store an attacker-controlled llmbaseurl through the settings API when the LLMPARSING 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.

Affected Software

1 affected component
TREK TREK<3.3.0

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade TREK to a version that resolves this vulnerability.

    Fixed in 3.3.0

Event History

Sep 24, 2026
CVE Published
via MITRE·06:04 PM
Data Sourced
via MITRE·06:04 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·07:17 PM
DescriptionSeverityWeakness

Frequently Asked Questions

1

Who can exploit this issue?

An authenticated TREK user must be able to save settings through the settings API and have write permission on the target trip instance. Exploitation also requires the LLM_PARSING feature to be enabled.

2

What action triggers the server-side request?

The attacker stores a controlled llm_base_url, then triggers the AI-assisted trip parsing or import path for a trip they can modify. The server sends a request to the supplied destination through one of the affected LLM client paths.

3

What could an attacker obtain through this vulnerability?

The issue permits internal-service discovery and requests to link-local cloud metadata endpoints. Error text returned by the upstream destination may appear in parsing warnings, and exposed cloud credentials could enable modification of protected cloud resources.

4

How can this be remediated?

Upgrade TREK to version 3.3.0, which fixes the issue.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203