WITHDRAWN
CVE-2026-49981
Twig: Sandbox filter, tag and function allow-list bypass when sandbox state changes between renders for a cached `Template`
Description

Rejected reason: This CVE is a duplicate of another CVE.

INFO

Published Date :

July 14, 2026, 10:17 p.m.

Last Modified :

Nov. 18, 2026, 6:19 p.m.

Remotely Exploit :

—
Affected Products

The following products are affected by CVE-2026-49981 vulnerability. Even if cvefeed.io is aware of the exact versions of the products that are affected, the information is not represented in the table below.

ID Vendor Product Action
1 Symfony twig
1 Twigphp twig
CVSS Scores
The Common Vulnerability Scoring System is a standardized framework for assessing the severity of vulnerabilities in software and systems. We collect and displays CVSS scores from various sources for each CVE.
Score Version Severity Vector Exploitability Score Impact Score Source
CVSS 134c704f-9b21-4f2e-91b3-4a467353bcc0
CVSS 3.1 HIGH [email protected]
CVSS 4.0 MEDIUM [email protected]

We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).

Results are limited to the first 15 repositories due to potential performance issues.

The following list is the news that have been mention CVE-2026-49981 vulnerability anywhere in the article.

The following table lists the changes that have been made to the CVE-2026-49981 vulnerability over time.

Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.

  • CVE Rejected by [email protected]

    Nov. 18, 2026

    Action Type Old Value New Value
  • CVE Modified by [email protected]

    Nov. 18, 2026

    Action Type Old Value New Value
    Changed 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. Rejected reason: This CVE is a duplicate of another CVE.
    Removed CVSS V4.0 GitHub, Inc.: 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
    Removed CVSS V3.1 NIST: AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:N
    Removed CWE GitHub, Inc.: CWE-693
    Removed CWE GitHub, Inc.: CWE-863
    Removed CPE Configuration OR *cpe:2.3:a:symfony:twig:*:*:*:*:*:*:*:* versions up to (excluding) 3.27.0
    Added Affected Affected value removed. <a href="https://github.com/CVEProject/cvelistV5/blob/main/cves/2026/49xxx/CVE-2026-49981.json">CVE-2026-49981</a>
    Removed Reference GitHub, Inc.: https://github.com/twigphp/Twig/commit/23eb6eb1267cb0d303b91eb5cff9b0c559c538a4
    Removed Reference GitHub, Inc.: https://github.com/twigphp/Twig/releases/tag/v3.27.0
    Removed Reference GitHub, Inc.: https://github.com/twigphp/Twig/security/advisories/GHSA-529h-vh3j-85hq
    Removed Reference Type GitHub, Inc.: https://github.com/twigphp/Twig/commit/23eb6eb1267cb0d303b91eb5cff9b0c559c538a4 Types: Patch
    Removed Reference Type GitHub, Inc.: https://github.com/twigphp/Twig/releases/tag/v3.27.0 Types: Release Notes
    Removed Reference Type GitHub, Inc.: https://github.com/twigphp/Twig/security/advisories/GHSA-529h-vh3j-85hq Types: Vendor Advisory
  • CVE Translated by [email protected]

    Oct. 24, 2026

    Action Type Old Value New Value
    Added Translation Title: Twig de twigphp, Description: Twig es un lenguaje de plantillas para PHP. Antes de la versión 3.27.0, el veredicto de la lista de permitidos (allow-list) de filtros, etiquetas y funciones por plantilla se calcula cuando se construye una instancia de Template y puede permanecer en caché después de cambios de estado del sandbox entre renderizados, permitiendo que un renderizado posterior en sandbox reutilice una plantilla que fue verificada originalmente con una política diferente o vacía. Este problema se solucionó en la versión 3.27.0.
  • CVE Modified by 134c704f-9b21-4f2e-91b3-4a467353bcc0

    Jul. 21, 2026

    Action Type Old Value New Value
    Added SSVC {'id': 'CVE-2026-49981', 'role': 'CISA Coordinator', 'options': [{'exploitation': 'none'}, {'automatable': 'no'}, {'technicalImpact': 'partial'}], 'version': '2.0.3', 'timestamp': '2026-07-21T14:57:43.577123Z'}
  • Initial Analysis by [email protected]

    Jul. 17, 2026

    Action Type Old Value New Value
    Added CVSS V3.1 AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:N
    Added CPE Configuration OR *cpe:2.3:a:symfony:twig:*:*:*:*:*:*:*:* versions up to (excluding) 3.27.0
    Added Reference Type GitHub, Inc.: https://github.com/twigphp/Twig/commit/23eb6eb1267cb0d303b91eb5cff9b0c559c538a4 Types: Patch
    Added Reference Type GitHub, Inc.: https://github.com/twigphp/Twig/releases/tag/v3.27.0 Types: Release Notes
    Added Reference Type GitHub, Inc.: https://github.com/twigphp/Twig/security/advisories/GHSA-529h-vh3j-85hq Types: Vendor Advisory
  • New CVE Received by [email protected]

    Jul. 14, 2026

    Action Type Old Value New Value
    Added Affected [{'vendor': 'twigphp', 'product': 'Twig', 'versions': [{'status': 'affected', 'version': '< 3.27.0'}]}]
    Added 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.
    Added CVSS V4.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
    Added CWE CWE-693
    Added CWE CWE-863
    Added Reference https://github.com/twigphp/Twig/commit/23eb6eb1267cb0d303b91eb5cff9b0c559c538a4
    Added Reference https://github.com/twigphp/Twig/releases/tag/v3.27.0
    Added Reference https://github.com/twigphp/Twig/security/advisories/GHSA-529h-vh3j-85hq
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days. Following chart shows the EPSS score history of the vulnerability.