CVE-2026-72779

Source
https://cve.org/CVERecord?id=CVE-2026-72779
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-72779.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-72779
Aliases
Published
2026-08-11T12:17:14Z
Modified
2026-09-10T03:30:45Z
Severity
  • 8.7 (High) CVSS_V4 - CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N CVSS Calculator
Summary
Craft CMS 5.0.0-RC1 before 5.10.6 Arbitrary File Read via SplFileObject
Details

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.

Database specific
{
    "cna_assigner": "VulnCheck",
    "cwe_ids": [
        "CWE-184"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/72xxx/CVE-2026-72779.json"
}
References

Affected packages

Git / github.com/craftcms/cms

Affected ranges

Type
GIT
Repo
https://github.com/craftcms/cms
Events
Database specific
Show details
{
    "extracted_events": [
        {
            "introduced": "5.0.0-RC1"
        },
        {
            "fixed": "5.10.6"
        },
        {
            "introduced": "4.0.0-RC1"
        },
        {
            "fixed": "4.18.2"
        }
    ],
    "source": "AFFECTED_FIELD"
}

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-72779.json"