SEPTEMBER 11, 2026
Live Feed
Back to database
Case File

CVE-2026-48806

CRITICAL · CVSS 9.1 EPSS 0.23% Public Exploit

Source: NVD + CISA KEV + EPSS · Published 2026-07-14 · Last synced 2026-08-13

CyberRota Analysis

AI-Generated

Twig versions prior to 3.27.0 are vulnerable due to insufficient protection for dynamic mapping keys, which can lead to the execution of the __toString() method on Stringable objects without proper sandboxing. This flaw poses a critical risk, as it could allow for arbitrary code execution in applications using Twig for templating. Developers and organizations utilizing Twig for PHP should prioritize upgrading to version 3.27.0 to mitigate this severe vulnerability.

Public Exploit Signal

A public exploit, PoC, GitHub repository or Metasploit reference was detected for this CVE.

Note: these links are listed for security research and verification purposes only.

CVE
CVE-2026-48806
Severity
CRITICAL
CVSS
9.1
EPSS
0.23%

Original NVD Description

Twig is a template language for PHP. Prior to 3.27.0, ArrayExpression does not guard dynamic mapping keys that are coerced to strings, allowing PHP to invoke __toString() on a Stringable object used as a mapping key without calling SandboxExtension::ensureToStringAllowed(). This issue is fixed in version 3.27.0.

Related CVEs

Other vulnerabilities affecting the same vendor(s)