Lucene search
+L

CVE-2026-48806 Twig: Sandbox `__toString()` policy bypass via dynamic mapping keys

🗓️ 14 Jul 2026 21:28:08Reported by GitHub_MType 
cvelist
 cvelist
🔗 www.cve.org👁 42 Views

Twig dynamic mapping keys can trigger __toString without sandbox guard; fixed in 3.27.0.

Related
Affected
Refs
ReporterTitlePublishedViews
Family
attackerkb
ATTACKERKB
CVE-2026-48806
14 Jul 202621:28
attackerkb
circl
Circl
CVE-2026-48806
27 May 202613:21
circl
cve
CVE
CVE-2026-48806
14 Jul 202621:28
cve
debiancve
Debian CVE
CVE-2026-48806
14 Jul 202621:28
debiancve
euvd
EUVD
EUVD-2026-44513
14 Jul 202621:28
euvd
friendsofphp
Friends Of PHP
Sandbox `__toString()` policy bypass via dynamic mapping keys
1 Jan 197000:00
friendsofphp
github
Github Security Blog
Twig: Sandbox `__toString()` policy bypass via dynamic mapping keys
30 Jun 202618:42
github
nvd
NVD
CVE-2026-48806
14 Jul 202622:17
nvd
osv
OSV
DEBIAN-CVE-2026-48806
14 Jul 202622:17
osv
osv
OSV
GHSA-5V5V-WW74-355V Twig: Sandbox `__toString()` policy bypass via dynamic mapping keys
30 Jun 202618:42
osv
Rows per page
[
  {
    "vendor": "twigphp",
    "product": "Twig",
    "versions": [
      {
        "version": "< 3.27.0",
        "status": "affected"
      }
    ]
  }
]

Data

Build on a solid foundation with Vulners data

We provide the essential building blocks for cybersecurity solutions with comprehensive, structured, and constantly updated vulnerability and exploits data

Api

Power your application with Vulners API

The Vulners REST API offers reliable, high-performance access to vulnerability intelligence, with 99.9% SLA uptime and CDN-backed data delivery for seamless global access

App

Assess and manage vulnerabilities with Vulners tools

Built on top of Vulners' database and SDK, end-user solutions give security professionals and developers lightweight and powerful tools for vulnerability remediation