FastGPT
CVE-2026-42344
MEDIUM
Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
ReconAuthenticate to FastGPT with low-privilege account
-
DeliveryConfigure HTTP tool pointing to attacker-controlled domain
-
ExploitDNS resolves to public IP, passes isInternalAddress() check
-
InstallAttacker rotates DNS record to internal IP before TTL expires
-
C2FastGPT re-resolves hostname for actual HTTP fetch
-
ExecuteRequest hits internal service
-
ImpactInternal service response exfiltrated to attacker
Vulnerability Assessment
| Weakness |
CWE
ASVS 5.0
V15 - Secure Coding and Architecture TOCTOU prevention
|
| Exploitation Conditions | The attacker must hold a low-privilege authenticated session in FastGPT (PR:L per CVSS vector) with permission to configure or trigger HTTP-based tool integrations or fetch operations that pass through the |
| Impact | The provided CVSS 3.1 vector (AV:N/AC:H/PR:L/UI:N/S:C/C:H/I:N/A:N, score 6.3) is internally consistent and accurately models the attack constraints: AC:H reflects the DNS timing requirement and the necessity of controlling an authoritative DNS server; PR:L confirms this is an authenticated attack, not unauthenticated; and S:C signals that exploitation escapes FastGPT's own trust boundary into internal network services. EPSS at 0.03% (8th percentile) shows negligible current exploitation, consistent with SSVC's 'Automatable: no' - the DNS race window makes scripted mass exploitation impractical. SSVC also rates exploitation as 'poc,' confirming exploit code exists, which elevates risk above purely theoretical. The absence of any vendor patch is the primary concern: organizations must rely entirely on compensating controls. The combination of no KEV listing, low EPSS, AC:H, and PR:L places this as a realistic but operationally constrained threat - highest priority for organizations running FastGPT with internet-accessible HTTP tool integrations or in environments where internal metadata services (e.g., AWS IMDS) are reachable from the FastGPT server. |
| Exploit ScenarioDerived | An authenticated FastGPT user configures an HTTP tool integration pointing to an attacker-controlled domain with a near-zero DNS TTL. The attacker's authoritative DNS server initially resolves the domain to a public IP, which passes the |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Jul 23, 2026
DNS rebinding in FastGPT's isInternalAddress() function enables authenticated low-privilege attackers to perform server-side request forgery (SSRF) against internal network resources by exploiting a TOCTOU race between hostname validation and the actual HTTP fetch. All versions through 4.14.11 are affected, no vendor patch exists at time of publication, and SSVC data confirms a proof-of-concept exists, though EPSS at 0.03% (8th percentile) reflects negligible current exploitation activity. The Scope:Changed CVSS metric confirms that successful exploitation reaches beyond FastGPT itself into adjacent internal services.
RemediationAI
No vendor-released patch has been identified at time of analysis - the advisory explicitly states no publicly available fix exists for versions 4.14.11 and prior. Organizations should monitor https://github.com/labring/FastGPT/security/advisories/GHSA-cc8x-jrqv-hmwh for patch releases. As compensating controls: implement network-level egress filtering on the FastGPT server host to block all outbound connections to RFC-1918 ranges (10.0.0.0/8, 172.16.0.0/12, 192.168.0.0/16), loopback (127.0.0.0/8), and link-local addresses (169.254.0.0/16) at the firewall or OS level - this compensates for the application-layer bypass and is the most effective single control, though it may break legitimate internal integrations. Restrict the FastGPT 'HTTP tool integration' or equivalent fetch features to users with elevated trust levels to reduce the PR:L attack surface. Consider deploying FastGPT in a network segment with no direct route to sensitive internal services such as cloud instance metadata endpoints. None of these controls fix the underlying TOCTOU flaw and should be treated as temporary mitigations pending a vendor patch.
Affects your stack
Find out whether the stacks and servers you run are on an affected version.
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
FastGPT is an open-source AI Agent building platform by labring (CPE: cpe:2.3:a:labring:fastgpt:*:*:*:*:*:*:*:*) that supports configurable HTTP-based tool integrations. The vulnerable function isInternalAddress() in packages/service/common/system/utils.ts uses Node.js dns.resolve4() and dns.resolve6() to resolve a user-supplied hostname, checks the returned IPs against private/RFC-1918 address ranges, and then issues the actual HTTP fetch in a separate call that triggers a fresh DNS resolution. This is a textbook CWE-367 (Time-of-Check Time-of-Use Race Condition) applied to DNS: because the guard and the fetch are decoupled resolution events, an attacker who controls an authoritative DNS server can serve a public IP during the check phase, then immediately flip the record to an internal address (e.g., 192.168.x.x, 169.254.169.254) for the fetch phase, bypassing the private-range guard entirely. DNS TTLs as low as 0 seconds make the timing window achievable.
Know when Fastgpt gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
AV:N/AC:H/PR:L/UI:N/S:C/C:H/I:N/A:N
DNS rebinding requires attacker-controlled DNS infrastructure (AC:H) and authenticated FastGPT access (PR:L); scope changes to internal systems (S:C) with data-only disclosure impact (C:H, I:N, A:N).
Primary rating from Vendor (GitHub_M).
CVSS VectorVendor: GitHub_M
DescriptionCVE.org
FastGPT is an AI Agent building platform. In versions 4.14.11 and prior, FastGPT's isInternalAddress() function in packages/service/common/system/utils.ts is vulnerable to DNS rebinding (TOCTOU - Time-of-Check to Time-of-Use). The function resolves the hostname via dns.resolve4()/dns.resolve6() and checks resolved IPs against private ranges, but the actual HTTP request happens in a separate call with a new DNS resolution, allowing the DNS record to change between validation and fetch. At time of publication, there are no publicly available patches.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.
Affected Products (CPE)CVE.org
FastGPT is an AI Agent building platform. Prior to version 4.9.12, the LastRoute Parameter on login page is vulnerable t
Unauthenticated HTTP proxy abuse in FastGPT (AI Agent platform) prior to v4.14.9.5 allows remote attackers to relay arbi
Remote code execution in FastGPT's agent-sandbox component (versions 4.14.10 through 4.14.12) lets any network-adjacent,
NoSQL injection in FastGPT <4.14.9.5 password authentication allows unauthenticated remote attackers to bypass login con
Channel hijack and denial of service in FastGPT (labring/FastGPT) before 4.15.2 lets an unauthenticated remote attacker
GitHub Actions artifact-poisoning (pwn request) in labring/FastGPT allows an external attacker who opens a pull request
Authentication bypass in FastGPT 4.15.0-beta4 lets unauthenticated remote attackers forge JWTs and access internal plugi
NoSQL injection in FastGPT versions before 4.14.9.5 allows authenticated attackers to bypass password verification on th
FastGPT versions 4.14.8.3 and below contain a critical arbitrary code execution vulnerability in the fastgpt-preview-ima
Cross-tenant file disclosure in FastGPT prior to v4.15.0-beta5 allows an attacker to read another team's stored files by
Cross-tenant data disclosure in FastGPT 4.14.17 through 4.15.0-beta5 lets a low-privileged tenant user read another tena
Server-side request forgery in FastGPT before 4.15.0-beta4 lets an authenticated team member abuse the HTTP-tool OpenAPI
NVD
CVE.org
EPSS
Vulnrichment
GitHub
Exploit-DB