patchminder
No public exploit found CVE-2026-47732

Broken access controlin twigphp Twig.

Published 14 Jul 2026 · Updated 15 Jul 2026 · Every fact sourced

JSONCite
Is it exploited?
Not confirmed

No public exploit found; not on exploited lists.

Severity
High 7.1
CVSSA severity score from 0 to 10. 9 and higher is critical. 4.0
Attack likelihood
Low
EPSSA daily score from FIRST: the chance a hole is attacked in the next 30 days. 0.4% chance in 30 days · 4 Dec 2026
Fix
Available
Upgrade to 3.26.0 or later
In plain words

Twig is a template language for PHP. Prior to 3.26.0, several Twig language constructs trigger PHP string coercion on a Stringable operand without consulting SecurityPolicy::checkMethodAllowed(), allowing a sandboxed template author to invoke __toString() on objects reachable in the render context through conditional expressions, comparison operators, tests, template-loading tags, dynamic attribute names, spread arguments, the do tag, and the .. range operator. This issue is fixed in version 3.26.0.

What to do now
  • Upgrade Twig to 3.26.0 or later.
  • Upgrade twig/twig (Packagist) to 3.26.0 or later.
Versions

Affected and fixed versions

Product or package
Affected
Fixed in
Source
Twig
before 3.26.0
3.26.0
CVE record
twig/twig (Packagist)
before 3.26.0
3.26.0
GitHub advisory

From the CVE record, NVD and package advisories. When no source has versions yet, this table says "not confirmed" instead of guessing.

Timeline

From first report to first attacks

  1. 19 May 2026
    CVE ID reserved by GitHub_M.
  2. 14 Jul 2026
    Published in the CVE List.
  3. 15 Jul 2026
    CVE record last updated.
Exploit code

Attack code anyone can find

Exploit maturity: No public exploit found. CISA assessment (SSVC): exploitation none.

Metasploit module
None known
Nuclei scan template
None known
Exploit-DB
None known
GitHub proof of concepts
None known

Listed so defenders can judge how urgent this is and test systems they are authorised to test. Patchminder does not host exploit code; links open the source page. Labels for GitHub repositories come from their public details and are never a promise about the code. Run anything only in an isolated lab.

Related

Other Twig vulnerabilities

Same weakness: Incorrect authorization

All CWE-863 vulnerabilities

References
Cite this page

Patchminder. CVE-2026-47732: Broken access control in twigphp Twig. https://patchminder.com/cve/cve-2026-47732/ (accessed 5 December 2026).