{"id":"CVE-2026-55792","published":"2026-07-01T23:20:28Z","modified":"2026-07-02T14:49:11Z","title":"Craft CMS: Sensitive File Disclosure / Server-Side File Read","vendor":"Craft CMS","product":"cms","tier":"tail","description":{"text":"Craft CMS is a content management system (CMS). In versions starting from 4.0.0-RC1 and prior to 4.18.0, and 5.0.0-RC1 and above, prior to 5.10.0, the dataUrl() Twig function is included in Craft’s Twig sandbox allowlist, allowing any control panel user granted the utility:system-messages permission to embed a file-reading payload into system email templates. When those emails are sent, the server reads the target file and returns its contents as a base64-encoded data URL embedded in the email body. The .env file, which typically contains the database password, CRAFT_SECURITY_KEY, and third-party API keys, passes all of Craft’s existing dataUrl() protection checks and is fully exfiltrated. Obtaining CRAFT_SECURITY_KEY enables an attacker to forge session tokens and escalate to full admin account takeover. This issue has been fixed in versions 4.18.0 and 5.10.0.","provenance":"source","from":"CVE.org"},"cvss":{"score":6,"severity":"MEDIUM","version":"4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00333,"percentile":0.27179,"provenance":"source"},"cwes":[{"id":"CWE-200","name":"Exposure of Sensitive Information to an Unauthorized Actor"}],"references":[{"url":"https://github.com/craftcms/cms/security/advisories/GHSA-287w-mxq6-x2cp","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/craftcms/cms/pull/18559","tags":["x_refsource_MISC"]}],"priority":{"score":9.6,"factors":[{"name":"EPSS percentile","points":5.44},{"name":"CVSS severity","points":4.2}]},"vendorSlug":"craft-cms","affectedVersions":[{"vendor":"craftcms","product":"cms","versions":[">= 4.0.0-RC1, < 4.18.0",">= 5.0.0-RC1, < 5.10.0"]}],"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"total","timestamp":"2026-07-02T14:48:43.714822Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Packagist","package":"craftcms/cms","vulnerableRanges":[">=4.0.0-RC1, <4.18.0",">=5.0.0-RC1, <5.10.0"],"patched":["4.18.0","5.10.0"],"from":["GHSA-287w-mxq6-x2cp"],"provenance":"source"}],"euvd":{"id":"EUVD-2026-41212","exploited":false,"provenance":"source"},"lineage":{"packageHistory":[{"cve":"CVE-2026-55790","published":"2026-07-01","fixed":"5.9.23","kev":false,"link":{"from":"CVE-2026-55790","to":"CVE-2026-55792","relation":"successor","confidence":"low","kind":"sequence","orderedBy":"description","evidence":[{"kind":"version-step","provenance":"source","package":"Packagist:craftcms/cms","fromFixed":"4.17.16","toFixed":"4.18.0","daysApart":0}]}},{"cve":"CVE-2026-55793","published":"2026-07-01","fixed":"5.9.53","kev":false,"link":{"from":"CVE-2026-55793","to":"CVE-2026-55792","relation":"successor","confidence":"low","kind":"sequence","orderedBy":"description","evidence":[{"kind":"version-step","provenance":"source","package":"Packagist:craftcms/cms","fromFixed":"5.9.53","toFixed":"5.10.0","daysApart":0}]}},{"cve":"CVE-2026-55791","published":"2026-07-01","fixed":"5.10","kev":false},{"cve":"CVE-2026-55792","published":"2026-07-01","fixed":"5.10.0","kev":false},{"cve":"CVE-2026-55794","published":"2026-07-01","fixed":"5.10.0","kev":false},{"cve":"CVE-2026-14793","published":"2026-07-06","fixed":"5.10.3","kev":false},{"cve":"CVE-2026-14794","published":"2026-07-06","fixed":"5.10.3","kev":false}],"package":"Packagist:craftcms/cms"}}