{"id":"CVE-2026-42345","aliases":["CVE-2026-42345"],"related":[],"kind":"vulnerability","state":"published","title":"FastGPT: Cloud metadata endpoint SSRF protection bypass via port specification, IPv6 mapping, hex/decimal IP encoding, and trailing dot","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"es","text":"FastGPT es una plataforma de creación de agentes de IA. En las versiones 4.14.11 y anteriores, la función isInternalAddress() de FastGPT en packages/service/common/system/utils.ts bloquea los puntos finales de metadatos en la nube utilizando una comprobación fullUrl.startsWith() contra una lista codificada. Esta comprobación puede ser eludida utilizando al menos 7 técnicas diferentes de codificación de URL, todas las cuales se resuelven en el mismo servicio de metadatos en la nube pero no coinciden con los patrones de la lista de bloqueo. Además, la comprobación más amplia de IP privada (isInternalIPv4/isInternalIPv6) está deshabilitada por defecto porque CHECK_INTERNAL_IP por defecto es false (no 'true'), por lo que estas elusiones alcanzan el punto final de metadatos sin ninguna validación adicional. En el momento de la publicación, no hay parches disponibles públicamente.","source":"nvd"}],"published":"2026-05-08T22:11:09.630Z","modified":"2026-07-24T21:10:00.143Z","severity":{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:N/A:N","score":7.7,"rating":"HIGH"},"severities":[{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:N/A:N","score":7.7,"rating":"HIGH"}],"cwes":["CWE-918"],"affected":[{"ranges":[{"version":"<= 4.14.11","status":"affected"}],"vendor":"labring","product":"FastGPT","source":"cvelist"}],"references":[{"url":"https://github.com/labring/FastGPT/security/advisories/GHSA-jhqw-944x-xh94","tags":["x-refsource-confirm"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"GitHub_M","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2026-05-13T17:20:45.691Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-42345","url":"https://www.cve.org/CVERecord?id=CVE-2026-42345","licence":"CVE Terms of Use","modified":"2026-05-13T17:47:03.507Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-42345","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-42345","licence":"Public domain","modified":"2026-07-24T21:10:00.143Z"}],"updatedAt":"2026-11-25T22:59:21.122Z","epss":{"score":0.00213,"percentile":0.12329,"date":"2026-12-01T12:00:22.000Z"}}