SecurityContext

CVE-2026-72779: Craft CMS - Arbitrary File Read

  • Cve: CVE-2026-72779
  • Name: Craft CMS - Arbitrary File Read
  • Description: Craft CMS 5.0.0-RC1 before 5.10.6 and 4.0.0-RC1 before 4.18.2 contain an arbitrary file read vulnerability. The create() Twig function restricts class instantiation using a 5-entry blocklist that does not include SplFileObject, allowing an authenticated administrator (with allowAdminChanges=true) to configure a malicious entry type title or URI format that instantiates SplFileObject in a non-sandboxed template context. When a user subsequently creates an entry in the affected section, arbitrary files on the server (such as .env containing the security key and database credentials) are read and rendered as entry titles.
  • Impact: Authenticated administrators can read arbitrary files on the server, exposing sensitive information like security keys and database credentials.
  • Remediation: Upgrade to Craft CMS 5.10.6 or 4.18.2 or later.
  • Vulnerability type: file_inclusion
  • Vulnerability impact: file_system_read, information_disclosure
  • Requirement type: logged_in
  • Requirements: Attacker must be authenticated administrator with allowAdminChanges=true
  • Labels source: projectdiscovery
  • Severity: medium
  • Cvss score: 4.5
  • Cvss vector: CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:U/C:H/I:N/A:N
  • Epss score: 0.00376
  • Epss percentile: 0.32218
  • Assignee: [email protected]
  • Published at: 2026-08-11T13:19:08Z
  • Age in days: 105
  • Modified at: 2026-10-24T15:10:00Z
  • Patch available: yes
  • References total: 2
  • Products total: 1
  • Oss: yes
  • Projects total: 1
  • Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2026-72779
  • Nvd status: deferred
  • Checked, none or zero: known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, rejected by nvd
  • Not known: hackerone

Cwe

IdName
CWE-184Incomplete List of Disallowed Inputs

References

UrlSourceTags
https://github.com/craftcms/cms/security/advisories/GHSA-957r-qf9p-67xwnvd
https://www.vulncheck.com/advisories/craft-cms-rc1-before-arbitrary-file-read-via-splfileobjectnvd

Products

ProductAffectedPlatform boundSourcesUrl
craftcms:craft_cms>= 5.0.0, < 5.10.6; >= 4.0.0, < 4.18.2nocna/v1/products/craftcms/craft_cms

Projects

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

Index

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

Exploitation

  • Remote: yes
  • Authentication required: yes
  • Exposed hosts: 34344
  • 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