8.2

CVE-2026-49981: symfony twig Protection Mechanism Failure

CVSS: 8.2v3.1HighAnalyzed
AliasesUBUNTU-CVE-2026-49981DEBIAN-CVE-2026-49981
Published 14-07-2026Last modified 21-07-2026

Vulnerability summary

CVE-2026-49981 is a high (CVSS 8.2) Protection Mechanism Failure vulnerability in symfony twig. EPSS estimates a 0.36% chance of exploitation in the next 30 days, higher than 28.7% of scored vulnerabilities.

Overall risk
33/100
0100
Medium · default modelHow is this calculated?
CVSS score
8.2/10
010
High · v3.1 (NVD)
EPSS score
0.36%
0%100%
Low · 0.00 pp in 30 days
KEVNot listedIn no KEV catalog
RansomwareNone recordedNo known use recorded
Public exploits0No public exploits recorded

Timeline

  1. 14-07-2026
    PublishedVulnerability first disclosed.
  2. 21-07-2026
    Last modifiedVulnerability information updated.

Description

Twig is a template language for PHP. Prior to 3.27.0, the per-template filter, tag, and function allow-list verdict is computed when a Template instance is constructed and can remain cached after sandbox state changes between renders, allowing a later sandboxed render to reuse a template that was originally checked with a different or empty policy. This issue is fixed in version 3.27.0.

CVSS metrics

6 scores · 4 sources · 2 versions

EPSS trend

Probability

0.36%

Chance of exploitation in the next 30 days

Percentile

29%

Versus all other CVEs

30-day change

0.00 pp

From 0.36% on 21-09-2026

21-09-202621-10-2026
EPSS score
0.36%

Known exploited

Compare KEV catalogs

Not in any of the 3 tracked catalogs.

Public exploits

0 found

No public exploits indexed.

Weaknesses

CWE · root cause

Affected systems

Ubuntu2 products
  • php-twigAll versions (No fix recorded)
  • twigAll versions (No fix recorded)
Debian1 product
  • php-twigAll versions (No fix recorded) | < 3.27.0-0+deb13u1 | < 3.27.0-1
Symfony1 product
Twigphp1 product

4 vendors · 5 products

References

6 links