Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…
EPSS 0.2%top 88%

CVE-2026-42345: CWE-918: Server-Side Request Forgery (SSRF) in labring FastGPT

0
High
VulnerabilityCVE-2026-42345cvecve-2026-42345cwe-918
Published: 05/08/2026 (05/08/2026, 22:11:09 UTC)
Source: CVE Database V5
Vendor/Project: labring
Product: 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

Attack Vector
Network
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Changed
Confidentiality
High
Integrity
None
Availability
None
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:N/A:N

Affected software

GitHub Actionsmore threats →ai
labring/FastGPT
pkg:github/labring/FastGPT
Affected versions
<=4.14.11

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 05/16/2026, 09:41:54 UTC

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.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

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 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

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

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses