SecurityContext

CVE-2026-27127: Craft CMS - DNS Rebinding

  • Cve: CVE-2026-27127
  • Name: Craft CMS - DNS Rebinding
  • Description: Craft is a content management system (CMS). In versions 4.5.0-RC1 through 4.16.18 and 5.0.0-RC1 through 5.8.22, the SSRF validation in Craft CMS’s GraphQL Asset mutation performs DNS resolution separately from the HTTP request. This Time-of-Check-Time-of-Use (TOCTOU) vulnerability enables DNS rebinding attacks, where an attacker’s DNS server returns different IP addresses for validation compared to the actual request. This is a bypass of the security fix for CVE-2025-68437 that allows access to all blocked IPs, not just IPv6 endpoints. Exploitation requires GraphQL schema permissions for editing assets in the `<VolumeName>` volume and creating assets in the `<VolumeName>` volume. These permissions may be granted to authenticated users with appropriate GraphQL schema access and/or Public Schema (if misconfigured with write permissions). Versions 4.16.19 and 5.8.23 patch the issue.
  • Impact: Attackers can bypass IP restrictions via DNS rebinding, potentially accessing blocked internal resources.
  • Remediation: Update to versions 4.16.19 or 5.8.23 or later.
  • Vulnerability type: dns_rebinding
  • Vulnerability impact: dns_rebinding
  • Requirement type: logged_in
  • Requirements: Attacker needs GraphQL schema permissions to edit and create assets in specific volumes
  • 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.0048
  • Epss percentile: 0.41998
  • Assignee: [email protected]
  • Published at: 2026-02-24T03:16:02Z
  • Age in days: 273
  • Modified at: 2026-06-17T10:26:42Z
  • Patch available: yes
  • Public exploits total: 2
  • References total: 3
  • Products total: 1
  • Oss: yes
  • Projects total: 1
  • Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2026-27127
  • Nvd status: analyzed
  • Checked, none or zero: known exploited entries, nuclei templates, public exploits capped, rejected by nvd

Cwe

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

Hackerone

  • Reports: 2
  • Rank: 3240

Public exploits

UrlSourceAdded date
https://github.com/craftcms/cms/security/advisories/GHSA-gp2f-7wcm-5fhxnvd2026-02-24
https://github.com/craftcms/cms/security/advisories/GHSA-x27p-wfqw-hfccnvd2026-02-24

References

Same in every row:

  • Source: nvd
UrlTags
https://github.com/craftcms/cms/commit/a4cf3fb63bba3249cf1e2882b18a2d29e77a8575Patch
https://github.com/craftcms/cms/security/advisories/GHSA-x27p-wfqw-hfccExploit, Patch, Vendor Advisory
https://github.com/craftcms/cms/security/advisories/GHSA-gp2f-7wcm-5fhxExploit, Mitigation, Vendor Advisory

Products

ProductAffectedPlatform boundSourcesUrl
craftcms:craft_cms>= 5.0.1, < 5.8.23; = 5.0.0; = 5.0.0 rc1; >= 3.5.1, < 4.16.19; = 3.5.0nonvd/v1/products/craftcms/craft_cms

Projects

RepositoryLink kindsIndexedUrl
craftcms/cmscommit, fix, package, security_advisoryyes/v1/repositories/craftcms/cms

Index

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

Exploitation

  • Public exploit: yes
  • Public exploit count: 2
  • Public exploit first date: 2026-02-24
  • Remote: yes
  • Authentication required: yes
  • Hackerone reports: 2
  • Exposed hosts: 34344
  • Checked, none or zero: known exploited, known exploited by, exploitation seen, initial access
  • Not known: known exploited since, vulncheck known exploited since, nuclei template, initial access since