Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
ReconAuthenticate as FastGPT workflow user
-
DeliveryConfigure HTTP request node with attacker-controlled redirect URL
-
ExploitTrigger workflow execution
-
InstallFastGPT SSRF guard approves initial external URL
-
C2Axios follows redirect to internal/metadata target, bypassing guard
-
ExecuteInternal service response body returned to workflow output
-
ImpactAttacker reads exfiltrated data (credentials, internal API responses)
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V4 - API and Web Service URL allowlisting, SSRF prevention
MITRE ATT&CK
2 techniques across 2 tactics: Initial Access, Credential Access The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Exploitation requires an authenticated FastGPT user account with permission to create or modify HTTP request workflow nodes - anonymous access cannot trigger this vulnerability. The attacker must control a publicly reachable web server capable of issuing HTTP 3xx redirects to the desired internal target. The internal target must be reachable from the FastGPT container's network and must return an HTTP response body (not silently drop the connection). Exploitation is limited by: (1) mandatory authentication - workflow configuration access must be granted; (2) the redirect server must be reachable outbound from the FastGPT host; (3) on AWS, IMDSv2 enforcement prevents credential theft from the metadata endpoint via single-hop SSRF redirects; (4) internal services with IP allowlisting or mutual TLS are not reachable by this technique. The vulnerability does not require any non-default FastGPT configuration - the HTTP request node is a core workflow feature available in standard installations. |
| Impact | The CVSS 4.0 base score of 6.3 (AV:N/AC:L/AT:N/PR:L/UI:N/SC:H/SI:N/SA:N) accurately reflects the attack surface but understates practical impact in cloud deployments. Authentication (PR:L) is the primary limiting factor - exploitation is confined to users who already hold workflow configuration permissions. However, once authenticated, the attack is fully automatable: no user interaction, no race condition, and no elevated privileges within FastGPT itself are required. The SC:H metric captures the critical concern: successful SSRF against an AWS IMDSv1 endpoint yields IAM role credentials that can enable full cloud account compromise, a scope impact disproportionate to the CVSSv4 score. EPSS data is absent from available intelligence, and CISA KEV listing is not confirmed, indicating no observed mass exploitation at time of analysis. The attack is not a zero-day - it was responsibly disclosed and patched. The real-world priority is highest for cloud-hosted FastGPT instances running IMDSv1 (not IMDSv2-only) where workflow access is granted to non-administrator users; on-premises deployments with restricted internal network access face a lower effective risk profile. |
| Exploit ScenarioDerived | An authenticated FastGPT user with workflow access creates an HTTP request node targeting an attacker-controlled server (e.g., attacker.example.com/redirect) that responds with an HTTP 302 redirect to http://169.254.169.254/latest/meta-data/iam/security-credentials/MyRole. The FastGPT SSRF guard approves the initial external URL, axios transparently follows the redirect to the metadata endpoint, and the JSON credential response - containing an AWS AccessKeyId, SecretAccessKey, and SessionToken - is returned in the workflow execution output accessible to the attacker. No public exploit code is required; any redirect-capable web server (nginx, a simple Python HTTP server) is sufficient to stage the attack. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Jul 15, 2026
SSRF guard bypass in FastGPT prior to 4.15.0-beta5 enables authenticated workflow users to reach cloud metadata endpoints, loopback interfaces, and internal network services that the guard would otherwise block on direct request. The HTTP request workflow node submits the initial URL to the SSRF guard for validation, but then hands the request to axios, which follows HTTP redirects by default without re-triggering the guard - allowing an attacker-controlled redirect server to pivot the request to any internal target. No public exploit code has been identified at time of analysis, but the technique is well-understood, low-complexity once authenticated, and particularly severe in cloud-hosted deployments where IMDSv1 metadata endpoints expose IAM credentials.
RemediationAI
Upgrade FastGPT to version 4.15.0-beta5 or later by updating container images to fastgpt-app:v4.15.0-beta5, fastgpt-pro:v4.15.0-beta5, and fastgpt-plugin:v1.0.0-beta5 as documented at https://github.com/labring/FastGPT/releases/tag/v4.15.0-beta5. If immediate upgrade is not feasible, restrict HTTP request workflow node configuration to fully trusted administrator accounts only, reducing the pool of users who can submit arbitrary URLs. For AWS deployments, enforce IMDSv2 (session-oriented, requiring a PUT-first token exchange) on all EC2 instances and ECS task metadata endpoints - IMDSv1-style single-hop SSRF requests will fail against IMDSv2, substantially reducing cloud credential theft risk, though this does not block SSRF against other internal services. Applying container-level egress network policies to restrict FastGPT outbound HTTP to an allowlist of known external destinations limits SSRF reachability but may break legitimate workflow integrations and requires careful enumeration of needed external endpoints before enforcement.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
FastGPT is a Node.js-based AI knowledge-base application platform (CPE: cpe:2.3:a:labring:fastgpt:*:*:*:*:*:*:*:*) that exposes a visual workflow builder where users can configure HTTP request nodes to call external services. The platform uses axios as its HTTP client, which follows 3xx redirects transparently by default. The root cause (CWE-918: Server-Side Request Forgery) is a validate-before-execute gap: the SSRF guard inspects only the initial URL supplied by the workflow user, approves it as an external destination, and then passes control to axios, which silently resolves any redirect chain. Because the guard is not re-invoked after redirect resolution, a destination that would fail direct validation - such as 169.254.169.254 (AWS IMDSv1), fc00::/7 ranges, or 127.0.0.1 - becomes reachable. The workflow node returns the full HTTP response body to the caller, completing the exfiltration. The release notes for v4.15.0-beta5 explicitly reference 'optimize SSRF validation after redirect' confirming the design flaw was in the redirect handling path.
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
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:N/VA:N/SC:H/SI:N/SA:N
Network-accessible redirect abuse requires only authenticated workflow user (PR:L); scope changes (S:C) to internal/metadata systems yield high confidentiality impact (C:H) with no integrity or availability consequence.
Primary rating from Vendor (GitHub_M).
CVSS VectorVendor: GitHub_M
Lifecycle Timeline
2DescriptionCVE.org
FastGPT is a knowledge-based AI application platform. Prior to 4.15.0-beta5, FastGPT's shared SSRF guard validates only the initial request URL before handing the request to axios, and axios follows redirects by default. An authenticated workflow user can configure an HTTP request node to call an attacker-controlled public URL that redirects to cloud metadata, loopback, or internal services that the guard would block on direct request, and the HTTP node returns the response body to the workflow caller. This issue is fixed in version 4.15.0-beta5.
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
Server-Side Request Forgery exploits applications that fetch remote resources based on user-supplied URLs.
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
EUVD-2026-44678
NVD
CVE.org
EPSS
Vulnrichment
GitHub
Exploit-DB