CVE & CISA-KEV Catalog

CVE-2026-46636

HIGH
8.7
CVSS v4
NVD

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.

How to fix

Remediation Available
php-twigDebian
Fixed in:3.27.0-0+deb13u1CVE-2026-46636
Fixed in:3.27.0-1CVE-2026-46636

TridentStack Control can deploy fixes like this automatically across your Windows, macOS, and Linux fleet. See how it works

Remediation is compiled from vendor and distribution security advisories. Always confirm against the linked source for your exact version and platform.

CVSS v4 Vector

Exploitability

Attack VectorNetwork
Attack ComplexityLow
Privileges RequiredNone
User InteractionNone

Impact

CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/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

Exploit Intelligence

0.36%probability of exploitation in 30 days
29thpercentile

Low risk: more likely to be exploited than 29% of all known CVEs.

References

Related Vulnerabilities

Other CWE-1336 vulnerabilities, ordered by exploit likelihood. View all

CVESeverityCVSSEPSSExploitedFix
CVE-2024-4040Critical9.8100%KEVFix
CVE-2024-23692Critical9.899%KEV + Ransom-
CVE-2025-47916Critical10.084%-Fix
CVE-2024-32651Critical10.084%--
CVE-2025-34300Unscored-79%--
CVE-2022-25813High7.567%-Fix

Common questions

How do I fix CVE-2026-46636?

Upgrade php-twig on debian 13 to 3.27.0-0+deb13u1 or later.

Is CVE-2026-46636 being actively exploited?

Not that we know of. CVE-2026-46636 is not in the CISA Known Exploited Vulnerabilities catalog. Its EPSS score of 0.36% is the estimated probability that it will be exploited in the next 30 days. That is higher than 29% of all scored CVEs.

How severe is CVE-2026-46636?

CVE-2026-46636 has a CVSS v4 base score of 8.7, rated high. CVSS rates the technical impact if the vulnerability is exploited, not how likely that is, so weigh it alongside the exploit-prediction score when you decide what to patch first.

What does CVE-2026-46636 affect?

Published advisories record a fix for php-twig (Debian). Only products with a sourced advisory are listed, so treat this as what we can cite rather than a complete inventory.

Embed a live status badge for CVE-2026-46636
CVE-2026-46636 severity badge

Markdown

[![CVE-2026-46636](https://tridentstack.com/cve/badge/CVE-2026-46636.svg)](https://tridentstack.com/cve/CVE-2026-46636)

HTML

<a href="https://tridentstack.com/cve/CVE-2026-46636"><img src="https://tridentstack.com/cve/badge/CVE-2026-46636.svg" alt="CVE-2026-46636"></a>

Find and fix vulnerabilities across your fleet

TridentStack Control continuously scans your Windows, macOS, and Linux fleet for known vulnerabilities, prioritizes them by severity and active exploitation, and patches them automatically.

See how it worksStart freeThis CVE lookup is free and always will be.

This product uses NVD data but is not endorsed or certified by the NVD. EPSS scores courtesy of FIRST.org (https://www.first.org/epss). Source: CISA KEV Catalog. Data as of 2026-09-08.