{"id":"CVE-2026-42344","published":"2026-05-08T22:10:00Z","modified":"2026-05-11T18:03:27Z","title":"FastGPT: DNS rebinding TOCTOU bypass in isInternalAddress allows SSRF on all protected endpoints","vendor":"labring","product":"FastGPT","tier":"tail","description":{"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 is vulnerable to DNS rebinding (TOCTOU — Time-of-Check to Time-of-Use). The function resolves the hostname via dns.resolve4()/dns.resolve6() and checks resolved IPs against private ranges, but the actual HTTP request happens in a separate call with a new DNS resolution, allowing the DNS record to change between validation and fetch. At time of publication, there are no publicly available patches.","provenance":"source","from":"CVE.org"},"cvss":{"score":6.3,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:H/I:N/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00148,"percentile":0.04085,"provenance":"source"},"cwes":[{"id":"CWE-367","name":"Time-of-check Time-of-use (TOCTOU) Race Condition"}],"references":[{"url":"https://github.com/labring/FastGPT/security/advisories/GHSA-cc8x-jrqv-hmwh","tags":["x_refsource_CONFIRM"]}],"priority":{"score":5.2,"factors":[{"name":"EPSS percentile","points":0.82},{"name":"CVSS severity","points":4.41}]},"vendorSlug":"labring","affectedVersions":[{"vendor":"labring","product":"FastGPT","versions":["<= 4.14.11"]}],"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"partial","timestamp":"2026-05-11T18:03:09.390132Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2026-28854","exploited":false,"provenance":"source"}}