CVE-2026-42345: CWE-918: Server-Side Request Forgery (SSRF) in labring FastGPT
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 blocks cloud metadata endpoints using a fullUrl.startsWith() check against a hardcoded list. This check can be bypassed using at least 7 different URL encoding techniques, all of which resolve to the same cloud metadata service but do not match the blocklist patterns. Additionally, the broader private IP check (isInternalIPv4/isInternalIPv6) is disabled by default because CHECK_INTERNAL_IP defaults to false (not 'true'), so these bypasses reach the metadata endpoint without any further validation. At time of publication, there are no publicly available patches.
AI Analysis
Technical Summary
FastGPT versions up to 4.14.11 contain an SSRF vulnerability due to insufficient validation in the isInternalAddress() function. This function blocks cloud metadata endpoints by checking if the full URL starts with certain hardcoded strings. However, at least seven different URL encoding methods can bypass this check, allowing requests to reach the cloud metadata service. The intended broader internal IP checks are disabled by default because the CHECK_INTERNAL_IP flag is false, meaning no additional filtering occurs. This results in SSRF requests potentially accessing sensitive internal metadata endpoints. No official remediation or patch has been released as of the publication date.
Potential Impact
An attacker with at least low-level privileges (PR:L) can exploit this SSRF vulnerability remotely (AV:N) without user interaction (UI:N) to access cloud metadata services, potentially exposing sensitive information (C:H). The vulnerability does not impact integrity or availability but can lead to significant confidentiality breaches. The scope is changed (S:C), indicating that the vulnerability affects resources beyond the vulnerable component itself.
Mitigation Recommendations
At the time of publication, no official patch or remediation is available. Users should monitor the vendor's advisory channels for updates. As a temporary measure, enabling and enforcing the broader internal IP checks (CHECK_INTERNAL_IP set to true) may reduce risk by blocking requests to private IP ranges, though this is not confirmed as a complete mitigation. Avoid exposing FastGPT instances to untrusted networks until a fix is released.
CVE-2026-42345: CWE-918: Server-Side Request Forgery (SSRF) in labring FastGPT
Description
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 blocks cloud metadata endpoints using a fullUrl.startsWith() check against a hardcoded list. This check can be bypassed using at least 7 different URL encoding techniques, all of which resolve to the same cloud metadata service but do not match the blocklist patterns. Additionally, the broader private IP check (isInternalIPv4/isInternalIPv6) is disabled by default because CHECK_INTERNAL_IP defaults to false (not 'true'), so these bypasses reach the metadata endpoint without any further validation. At time of publication, there are no publicly available patches.
CVSS v3.1
Score 7.7high
Affected software
Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
FastGPT versions up to 4.14.11 contain an SSRF vulnerability due to insufficient validation in the isInternalAddress() function. This function blocks cloud metadata endpoints by checking if the full URL starts with certain hardcoded strings. However, at least seven different URL encoding methods can bypass this check, allowing requests to reach the cloud metadata service. The intended broader internal IP checks are disabled by default because the CHECK_INTERNAL_IP flag is false, meaning no additional filtering occurs. This results in SSRF requests potentially accessing sensitive internal metadata endpoints. No official remediation or patch has been released as of the publication date.
Potential Impact
An attacker with at least low-level privileges (PR:L) can exploit this SSRF vulnerability remotely (AV:N) without user interaction (UI:N) to access cloud metadata services, potentially exposing sensitive information (C:H). The vulnerability does not impact integrity or availability but can lead to significant confidentiality breaches. The scope is changed (S:C), indicating that the vulnerability affects resources beyond the vulnerable component itself.
Mitigation Recommendations
At the time of publication, no official patch or remediation is available. Users should monitor the vendor's advisory channels for updates. As a temporary measure, enabling and enforcing the broader internal IP checks (CHECK_INTERNAL_IP set to true) may reduce risk by blocking requests to private IP ranges, though this is not confirmed as a complete mitigation. Avoid exposing FastGPT instances to untrusted networks until a fix is released.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- GitHub_M
- Date Reserved
- 2026-04-26T13:26:14.515Z
- Cvss Version
- 3.1
- State
- PUBLISHED
- Remediation Level
- null
Threat ID: 69fe61e5cbff5d8610367fb5
Added to database: 05/08/2026, 22:21:25 UTC
Last enriched: 05/16/2026, 09:41:54 UTC
Last updated: 07/31/2026, 19:22:58 UTC
Views: 90
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
External Links
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.