Search CVEs and advisories

Search CVEs and Linux security advisories by vendor, product, package, or severity, and see which vulnerabilities each advisory addresses.

CVE

CVE-2026-72781

published high CVSS 4.0 · 8.7

Craft CMS 5.0.0-RC1 before 5.10.7 Remote Code Execution via Twig Sandbox Escape

Published
11 Aug 2026, 12:17:16 UTC
Updated
08 Oct 2026, 15:24:27 UTC
Language
en

Package status and fixes

Distro / vendorReleasePackage / productPublisher statusFixed buildSource
craftcms — cms5.0.0-RC1 to < 5.10.7 (affected · semver) · 5.10.7 (unaffected · semver) · Other versions: unaffected Version-specific Not stated VulnCheck
craftcms — cms4.0.0-RC1 to < 4.18.3 (affected · semver) · 4.18.3 (unaffected · semver) · Other versions: unaffected Version-specific Not stated VulnCheck

Description

Craft CMS versions >= 5.0.0-RC1 before 5.10.7 and >= 4.0.0-RC1 before 4.18.3 contain a remote code execution vulnerability in the Twig sandbox mechanism. Because Craft marks the ElementInterface as safe (via the AllowedInSandbox attribute) and the sandbox allowlisting extends to the entire class hierarchy (craft\base\Component up to yii\base\Component), an authenticated attacker with permission to access the control panel can render a malicious Twig template that abuses the yii\base\Component arbitrary function-call gadget to execute arbitrary code, even when the Twig sandbox is enabled via enableTwigSandbox().

en · VulnCheck · cna

Vendor advisories explicitly linked to this CVE.

0

No linked advisories were found for this CVE.

Assessment

CVSS risk assessment and additional context for this vulnerability.

CVSS version
4.0
Base score
8.7 / 10
Severity
high
Provider
VulnCheck · cna
Vector string
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N

Additional Assessments

Additional normalized CVSS assessments
VersionScoreSeverityProviderVectorScenarios
3.1 8.8 high VulnCheck · cna CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H —

Publisher product statements

Version ranges and default statuses as reported by each provider.

Affected vendor and product assertions
VendorProductVersion statusSource
craftcms cms 5.0.0-RC1 to < 5.10.7 (affected · semver)5.10.7 (unaffected · semver)Default: unaffected VulnCheck · cna
craftcms cms 4.0.0-RC1 to < 4.18.3 (affected · semver)4.18.3 (unaffected · semver)Default: unaffected VulnCheck · cna

Weaknesses

1
  • CWE-693 Protection Mechanism Failure (VulnCheck · cna)

References

2

Provider assertions

2

VulnCheck · cna

Craft CMS 5.0.0-RC1 before 5.10.7 Remote Code Execution via Twig Sandbox Escape

CISA-ADP · adp

CISA ADP Vulnrichment

Provenance

Schema
5.2
Searchable
yes
Content hash
6f34b08f3086dee288f2c381928fed447187d8c41803b88aa7d6319ada739a33
Ingested
09 Oct 2026, 16:37:07 UTC
Source record
Official CVE record

Search filters

Match options apply to free text. CVE words match tokens; use contains:"…" for literal substrings.

Text

Words and phrases
buffer overflow "remote code execution"
Word prefix
auth*
Literal substring (title or description)
contains:"use-after-free"
Exclude a term or filter
-test -vendor:example

Affected product

Vendor
vendor:Example
Product
product:"Demo Widget"

Severity and score

Severity · none, low, medium, high, critical, unknown
severity:critical
CWE identifier
cwe:CWE-863
CVSS score (0–10)
cvss:>=7.0

Dates and status

Published date · comparisons, relative days
published:>=2026-01-01
Updated date · comparisons, relative days
updated:<30d
Status · published (default), rejected, unknown
status:rejected