CVE-2026-85738

TREK: SSRF Guard Bypass via IPv6 Transition Addresses (NAT64/6to4)

Published Sep 24, 2026 CVSS 3.1 · 6.3 Medium EPSS < 1% KEV · Not listed
Description
TREK is a collaborative travel planner. Prior to 3.4.0, the checkSsrf logic in server/src/utils/ssrfGuard.ts does not recognize NAT64, 6to4, or Teredo IPv6 transition addresses that encode an IPv4 destination. An authenticated user who controls a DNS record can supply a URL whose AAAA result is a transition address embedding a private, loopback, or link-local IPv4 target, and isAlwaysBlocked and isPrivateNetwork classify the address as allowed. In a deployment that routes the applicable transition format, user-facing imports, webhooks, integrations, or plugin egress can reach internal services or cloud metadata and expose returned information. This issue is fixed in version 3.4.0.

Analysis

AI-generated

Technical impact

The vulnerability allows an authenticated user who can control a DNS record to supply a URL that resolves to an IPv6 transition address—such as NAT64, 6to4, or Teredo. The server’s SSRF guard incorrectly classifies these transition addresses as allowed, enabling the request to be forwarded to the embedded IPv4 target. As a result, the application can reach private, loopback, or link‑local addresses inside the network or access cloud metadata endpoints, exposing sensitive data that would otherwise be inaccessible from the application’s context.

Affected Systems

The issue affects the TREK collaborative travel planner from liketrek, any version prior to 3.4.0. Version 3.4.0 and later contain the fix that correctly rejects transition addresses in the SSRF guard logic.

Risk and Exploitability

The CVSS score is 6.3 (moderate), with no EPSS value available and not listed in CISA’s KEV catalog. The likely attack vector requires an authenticated user who can alter DNS records; once the transition address is in place, the system behaves as if a normal outbound request is permitted. While the vulnerability does not grant arbitrary code execution, it enables internal network access and potential leakage of metadata, placing internal services at risk. The exploitation complexity is moderate, but the impact is significant for organizations that expose internal services or rely on outbound configuration plugins.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade TREK to version 3.4.0 or later.
  • If immediate upgrade is not feasible, restrict outbound URL imports, webhooks, integrations, or plugin‑exposed egress to trusted domains and explicitly ban IPv6 transition addresses from being resolved.
  • Configure DNS or application routing to block or reject NAT64, 6to4, and Teredo AAAA records, ensuring the SSRF guard does not receive transition addresses as input.

Generated by OpenCVE AI on September 25, 2026 at 06:08 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'poc', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
First Time appeared Liketrek
Liketrek trek
Vendors & Products Liketrek
Liketrek trek
Type Values Removed Values Added
Description TREK is a collaborative travel planner. Prior to 3.4.0, the checkSsrf logic in server/src/utils/ssrfGuard.ts does not recognize NAT64, 6to4, or Teredo IPv6 transition addresses that encode an IPv4 destination. An authenticated user who controls a DNS record can supply a URL whose AAAA result is a transition address embedding a private, loopback, or link-local IPv4 target, and isAlwaysBlocked and isPrivateNetwork classify the address as allowed. In a deployment that routes the applicable transition format, user-facing imports, webhooks, integrations, or plugin egress can reach internal services or cloud metadata and expose returned information. This issue is fixed in version 3.4.0.
Title TREK: SSRF Guard Bypass via IPv6 Transition Addresses (NAT64/6to4)
Weaknesses CWE-918
References
Metrics cvssV3_1

{'score': 6.3, 'vector': 'CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:H/I:N/A:N'}

Weaknesses
  • CWE-918

    Server-Side Request Forgery (SSRF)

Sources

Status
PUBLISHED
Assigner
GitHub_M
Published
Updated
Sep 28, 2026, 2:51 PM
Reserved
Sep 4, 2026, 2:50 PM
Status
Deferred
Published
Sep 24, 2026, 7:17 PM
Modified
Sep 28, 2026, 3:17 PM