CVEPublished 2026-09-04Modified 2026-09-080 articles on news4 live referencesNVD data

CVE-2026-46636

Vulnerability data via NVD (ingested)

CVSS v3.1
EPSS percentile
29
Exploit Prediction Scoring System · top 71% of all CVEs
Description

Twig is a template language for PHP. From version 1.0.0 to before version 3.27.0, SecurityPolicy::checkMethodAllowed() unconditionally whitelists all method calls on instances of Twig\Markup. Twig\Markup is not final, so subclasses inherit the bypass. An application that passes an object of a Markup-derived class into a sandboxed template (typically to mark a chunk of HTML as safe) inadvertently exposes every public method of that subclass to template authors, regardless of the configured allowedMethods list. This issue has been patched in version 3.27.0.

Timeline
Published 2026-09-04
Modified 2026-09-08

External references

Search for exposed instances

Shodan + Censys queries derived from NVD's CPE data. The vuln tag catches assets Shodan has explicitly linked to this CVE; the product / banner fingerprints find exposed instances even when the vuln tag was never applied (which is common).

More intel sources (5)

Known PoCs on GitHub

No public proof-of-concept repositories found for CVE-2026-46636 on GitHub.
We haven't classified any articles referencing CVE-2026-46636 yet. The external references above still apply.