SecurityContext

CVE-2026-42344: FastGPT - DNS Rebinding

  • Cve: CVE-2026-42344
  • Name: FastGPT - DNS Rebinding
  • 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 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.
  • Impact: Attackers can bypass internal IP checks, potentially accessing restricted internal services or data.
  • Remediation: Update to the latest version once a patch is available.
  • Vulnerability type: dns_rebinding
  • Vulnerability impact: dns_rebinding
  • Requirement type: none
  • Labels source: projectdiscovery
  • Severity: medium
  • Cvss score: 6.3
  • Cvss vector: CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:H/I:N/A:N
  • Epss score: 0.00148
  • Epss percentile: 0.0398
  • Assignee: [email protected]
  • Published at: 2026-05-08T23:16:37Z
  • Age in days: 200
  • Modified at: 2026-07-24T21:10:00Z
  • References total: 1
  • Products total: 1
  • Oss: yes
  • Projects total: 1
  • Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2026-42344
  • Nvd status: deferred
  • Checked, none or zero: patch available, known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, rejected by nvd
  • Not known: requirements, hackerone

Cwe

IdName
CWE-367Time-of-check Time-of-use (TOCTOU) Race Condition

References

UrlSourceTags
https://github.com/labring/FastGPT/security/advisories/GHSA-cc8x-jrqv-hmwhnvd

Products

ProductAffectedPlatform boundSourcesUrl
fastgpt:fastgpt<= 4.14.11nocna_alias_text/v1/products/fastgpt/fastgpt

Projects

RepositoryLink kindsIndexedUrl
labring/FastGPTsecurity_advisoryyes/v1/repositories/labring/FastGPT

Index

  • Checked, none or zero: repositories, repositories high signal, packages

Exploitation

  • Remote: yes
  • Authentication required: yes
  • Checked, none or zero: known exploited, known exploited by, exploitation seen, public exploit, public exploit count, initial access
  • Not known: known exploited since, vulncheck known exploited since, public exploit first date, nuclei template, initial access since, hackerone reports, exposed hosts