CVE-2026-46638
published 2026-07-14CVE-2026-46638: Twig is a template language for PHP. Prior to 3.26.0, {% sandbox %}{% include %} can include a template that was previously loaded outside the sandbox without…
PriorityP346high8.1CVSS 3.1
AVNACLPRLUINSUCHIHAN
EPSS
0.47%
39.8th percentile
Twig is a template language for PHP. Prior to 3.26.0, {% sandbox %}{% include %} can include a template that was previously loaded outside the sandbox without re-invoking checkSecurity(), allowing the cached template to use tags, filters, and functions that should have been denied by SecurityPolicy::checkSecurity(). This issue is fixed in version 3.26.0.
Affected
2 ranges
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| symfony | twig | < 3.26.0 | 3.26.0 |
| twig | twig | >= 0 < 3.26.0 | 3.26.0 |
CVSS provenance
nvdv3.18.1HIGHCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N
nvdv4.06.0MEDIUMCVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:N/VC:H/VI:L/VA:N/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
ghsa8.6HIGH
Stop checking back — get the weekly exploitation signal.
Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.
No detection rules found.
No public exploits indexed.
Bugzilla
CVE-2026-46638 phpMyAdmin: Twig: Security bypass allows unauthorized template execution [epel-all]
bugzilla·2026-07-15·CVSS 6.0
CVE-2026-46638 [MEDIUM] CVE-2026-46638 phpMyAdmin: Twig: Security bypass allows unauthorized template execution [epel-all]
CVE-2026-46638 phpMyAdmin: Twig: Security bypass allows unauthorized template execution [epel-all]
Disclaimer: Community trackers are created by Red Hat Product Security team on a best effort basis. Package maintainers are required to ascertain if the flaw indeed affects their package, before starting the update process.
Twig is a template language for PHP. Prior to 3.26.0, {% sandbox %}{% include %} can include a template that was previously loaded outside the sandbox without re-invoking checkSecurity(), allowing the cached template to use tags, filters, and functions that should have been denied by SecurityPolicy::checkSecurity(). This issue is fixed in version 3.26.0.
Bugzilla
CVE-2026-46638 phpMyAdmin: Twig: Security bypass allows unauthorized template execution [fedora-all]
bugzilla·2026-07-15·CVSS 6.0
CVE-2026-46638 [MEDIUM] CVE-2026-46638 phpMyAdmin: Twig: Security bypass allows unauthorized template execution [fedora-all]
CVE-2026-46638 phpMyAdmin: Twig: Security bypass allows unauthorized template execution [fedora-all]
Disclaimer: Community trackers are created by Red Hat Product Security team on a best effort basis. Package maintainers are required to ascertain if the flaw indeed affects their package, before starting the update process.
Twig is a template language for PHP. Prior to 3.26.0, {% sandbox %}{% include %} can include a template that was previously loaded outside the sandbox without re-invoking checkSecurity(), allowing the cached template to use tags, filters, and functions that should have been denied by SecurityPolicy::checkSecurity(). This issue is fixed in version 3.26.0.
Bugzilla
CVE-2026-46638 twig/twig: Twig: Security bypass allows unauthorized template execution
bugzilla·2026-07-14·CVSS 6.0
CVE-2026-46638 [MEDIUM] CVE-2026-46638 twig/twig: Twig: Security bypass allows unauthorized template execution
CVE-2026-46638 twig/twig: Twig: Security bypass allows unauthorized template execution
Twig is a template language for PHP. Prior to 3.26.0, {% sandbox %}{% include %} can include a template that was previously loaded outside the sandbox without re-invoking checkSecurity(), allowing the cached template to use tags, filters, and functions that should have been denied by SecurityPolicy::checkSecurity(). This issue is fixed in version 3.26.0.
2026-07-14
Published