CVE-2026-42345: FastGPT: Cloud metadata endpoint SSRF protection bypass via port specification, IPv6 mapping, hex/decimal IP encoding, and trailing dot

Published May 8, 2026
·
Updated

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 CHECKINTERNALIP 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.

Affected Software

1 affected component
FastGPT FastGPT<=4.14.11

Event History

May 8, 2026
CVE Published
via MITRE·10:11 PM
Data Sourced
via MITRE·10:11 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·11:16 PM
DescriptionSeverityWeakness

Frequently Asked Questions

1

What is the severity of CVE-2026-42345?

CVE-2026-42345 is classified as a high-severity vulnerability due to its potential for SSRF attacks.

2

How do I fix CVE-2026-42345?

To fix CVE-2026-42345, upgrade FastGPT to version 4.14.12 or later, where the vulnerability is addressed.

3

What type of vulnerability is CVE-2026-42345?

CVE-2026-42345 is an SSRF (Server-Side Request Forgery) vulnerability.

4

Which versions of FastGPT are affected by CVE-2026-42345?

FastGPT versions 4.14.11 and prior are affected by CVE-2026-42345.

5

What impacts can CVE-2026-42345 have on systems?

CVE-2026-42345 can allow unauthorized access to internal services, potentially leading to data leaks or further exploitation.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203