CVE-2026-85738
JSON

6.3medium

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

Severity
6.3medium CVSS:3.1 by GitHub_M
Exploit likelihood
0.39% (higher than 34% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
GitHub_M

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.

Affected

Product or packageVersionsReported by
liketrek TREK< 3.4.0CVE List

Classification

CWE-918

SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial.

References

Sources

SourceRecordLicence
CVE ListCVE-2026-85738 changed 2026-09-28CVE Terms of Use
NVDCVE-2026-85738 changed 2026-09-28Public domain