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

- Severity: High 7.7 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:N/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.21%, higher than 12% of CVEs (2026-12-01)
- Published: 2026-05-08T22:11:09.630Z
- Modified: 2026-07-24T21:10:00.143Z
- Weaknesses: CWE-918
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: GitHub_M

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

(As written by CVE List.)

## Affected

- labring FastGPT: <= 4.14.11

## References

- <https://github.com/labring/FastGPT/security/advisories/GHSA-jhqw-944x-xh94>

## Sources

- CVE List: [CVE-2026-42345](https://www.cve.org/CVERecord?id=CVE-2026-42345), CVE Terms of Use, modified 2026-05-13
- NVD: [CVE-2026-42345](https://nvd.nist.gov/vuln/detail/CVE-2026-42345), Public domain, modified 2026-07-24

---

Page: https://cve.day/CVE-2026-42345 · Whole record: https://cve.day/CVE-2026-42345.json · Rebuilt by cve.day 2026-11-25T22:59:21.122Z
