CVE-2026-42345: CWE-918: Server-Side Request Forgery (SSRF) in labring FastGPT
CVE-2026-42345 is a Server-Side Request Forgery (SSRF) vulnerability in labring FastGPT versions 4. 14. 11 and earlier. The vulnerability arises because the isInternalAddress() function attempts to block access to cloud metadata endpoints using a startsWith() check against a hardcoded list, but this check can be bypassed using multiple URL encoding techniques. Additionally, the broader private IP address checks are disabled by default, allowing attackers to reach internal metadata endpoints without further validation. No official patches or fixes are available at the time of publication. The vulnerability has a high severity score of 7. 7 and could allow an attacker with limited privileges to access sensitive cloud metadata information, impacting confidentiality but not integrity or availability.
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 tries to block requests to cloud metadata endpoints by matching the start of URLs against a fixed list. However, attackers can bypass this check using at least seven different URL encoding methods that resolve to the same metadata service but evade the blocklist. Furthermore, the internal IP address checks are disabled by default because the CHECK_INTERNAL_IP flag is set to false, allowing these bypassed requests to reach sensitive internal endpoints without additional filtering. No patches or official remediation guidance have been published as of the vulnerability disclosure date.
Potential Impact
An attacker with at least limited privileges (PR:L) can exploit this SSRF vulnerability to access cloud metadata endpoints, potentially exposing sensitive information such as credentials or configuration data. The vulnerability impacts confidentiality (C:H) but does not affect integrity or availability. The vulnerability's CVSS vector indicates it can be exploited remotely over the network with low attack complexity and no user interaction required. This could lead to information disclosure within affected FastGPT deployments.
Mitigation Recommendations
At the time of publication, no official patch or fix is available for this vulnerability. Users should monitor the vendor's advisories for updates and apply patches once released. In the interim, consider implementing network-level controls to restrict outbound requests from FastGPT instances to internal metadata IP ranges or cloud metadata endpoints. Additionally, review and harden configuration settings related to internal IP checks if possible. Avoid exposing FastGPT instances to untrusted users until a fix is available.
CVE-2026-42345: CWE-918: Server-Side Request Forgery (SSRF) in labring FastGPT
Description
CVE-2026-42345 is a Server-Side Request Forgery (SSRF) vulnerability in labring FastGPT versions 4. 14. 11 and earlier. The vulnerability arises because the isInternalAddress() function attempts to block access to cloud metadata endpoints using a startsWith() check against a hardcoded list, but this check can be bypassed using multiple URL encoding techniques. Additionally, the broader private IP address checks are disabled by default, allowing attackers to reach internal metadata endpoints without further validation. No official patches or fixes are available at the time of publication. The vulnerability has a high severity score of 7. 7 and could allow an attacker with limited privileges to access sensitive cloud metadata information, impacting confidentiality but not integrity or availability.
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 tries to block requests to cloud metadata endpoints by matching the start of URLs against a fixed list. However, attackers can bypass this check using at least seven different URL encoding methods that resolve to the same metadata service but evade the blocklist. Furthermore, the internal IP address checks are disabled by default because the CHECK_INTERNAL_IP flag is set to false, allowing these bypassed requests to reach sensitive internal endpoints without additional filtering. No patches or official remediation guidance have been published as of the vulnerability disclosure date.
Potential Impact
An attacker with at least limited privileges (PR:L) can exploit this SSRF vulnerability to access cloud metadata endpoints, potentially exposing sensitive information such as credentials or configuration data. The vulnerability impacts confidentiality (C:H) but does not affect integrity or availability. The vulnerability's CVSS vector indicates it can be exploited remotely over the network with low attack complexity and no user interaction required. This could lead to information disclosure within affected FastGPT deployments.
Mitigation Recommendations
At the time of publication, no official patch or fix is available for this vulnerability. Users should monitor the vendor's advisories for updates and apply patches once released. In the interim, consider implementing network-level controls to restrict outbound requests from FastGPT instances to internal metadata IP ranges or cloud metadata endpoints. Additionally, review and harden configuration settings related to internal IP checks if possible. Avoid exposing FastGPT instances to untrusted users until a fix is available.
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: 5/8/2026, 10:21:25 PM
Last enriched: 5/8/2026, 10:36:21 PM
Last updated: 5/9/2026, 1:22:31 AM
Views: 4
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.