Finding and attribution
Twig compilation failed to escape a single quote in a template name, allowing PHP expression injection into generated cache code under the documented template-authoring conditions. The advisory credits Anvil Secure in collaboration with Claude and Anthropic Research.
Product: Twig. AI system: Claude Mythos Preview. Team / organization: Anthropic / Anvil Security.
CVE identifiers: CVE-2026-46633.
AI and human contribution (source account): Project GHSA directly credits Claude collaboration; CVD identifies Claude Mythos Preview and Anvil Security triage.
Human involvement is only described where the source account establishes it; unknown involvement does not mean none. Vendor confirmation of a flaw does not confirm every claim about AI contribution.
Discovery context: Public vulnerability and AI-discovery attribution are documented. Sources do not establish exploitation in the wild or zero-day status.
Remediation status: fix documented. Fixed in Twig 3.26.0.
A source-documented fix does not establish installed patches or current safety. Source checking does not independently reproduce the finding or establish observed exploitation.
Disclosed 20 May 2026. AI attribution dated 17 Aug 2026. Sources checked 14 Nov 2026; these are separate dates, not a live installation check.
Recorded CVSS: High · highest recorded score 8.7. Documented technical effects: code execution.
Severity, consequences and exploitation evidence
Case grouping uses the highest recorded CVSS score, with its version-specific severity band. It is descriptive, not a combined or editorial risk index. All recorded assessments remain below; scores from different versions and sources may disagree. CVSS specifications define version-specific scoring and severity bands.
- CVE-2026-46633: CVSS 4.0 · 8.7 (High) ·
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. GitHub_M (CNA; CVE Program record) · checked 16 Nov 2026.
CVE-2026-46633: code execution.
Prerequisites / affected scope: A crafted template name in a {% use %} tag can terminate PHP string literal and inject arbitrary PHP expressions into compiled cache..
Exploitation evidence: The cited source does not establish exploitation in the wild.. Impact source · checked 16 Nov 2026.
Documented fix: Fixed in Twig 3.26.0.