PT-2026-39207 · Fastgpt · Fastgpt

Foodlook

·

Published

2026-05-08

·

Updated

2026-05-09

·

CVE-2026-42344

CVSS v3.1

6.3

Medium

VectorAV:N/AC:H/PR:L/UI:N/S:C/C:H/I:N/A:N
Name of the Vulnerable Software and Affected Versions FastGPT versions prior to 4.14.12
Description The isInternalAddress() function in packages/service/common/system/utils.ts is susceptible to DNS rebinding, a Time-of-Check to Time-of-Use (TOCTOU) issue. The function validates a hostname by resolving it via dns.resolve4() or dns.resolve6() to ensure the IP is not within a private range. However, because the subsequent HTTP request triggers a separate DNS resolution, an attacker can change the DNS record between the validation step and the actual fetch, potentially bypassing internal network restrictions.
Recommendations At the moment, there is no information about a newer version that contains a fix for this vulnerability.

Exploit

Time Of Check To Time Of Use

Weakness Enumeration

Related Identifiers

CVE-2026-42344

Affected Products

Fastgpt