Skip to content
Connect AISign inSign up free
CVE-2026-477327.1HighCWE-863

CVE-2026-47732: Twig Sandbox: multiple `__toString()` policy bypasses via unguarded string coercion points

twigphp · Twig

Affected: twigphp · Exploitation: unlikely (under 1%)

Not in CyberSIXT coverage yet: no article names this CVE. This page shows the public record.

0.4%probability of exploitation in the next 30 days
34th percentile
050100

Higher than 34% of scored CVEs

7.1HighCVSS 4.0
LowHigh

DescriptionCVE.org

Twig is a template language for PHP. Prior to 3.26.0, several Twig language constructs trigger PHP string coercion on a Stringable operand without consulting SecurityPolicy::checkMethodAllowed(), allowing a sandboxed template author to invoke __toString() on objects reachable in the render context through conditional expressions, comparison operators, tests, template-loading tags, dynamic attribute names, spread arguments, the do tag, and the .. range operator. This issue is fixed in version 3.26.0.

Affected products1

From the CVE record. A product or version that is not listed is unknown, not unaffected.

  • twigphp · Twig< 3.26.0

On the Atlas

Every published CVE is on the CyberSIXT Atlas, grouped by weakness, vendor and month.

Open the Atlas
Exploitation
Unlikely (under 1%). EPSS under 1%, or no score yet.
CISA KEV
Not listed
Public check
No public nuclei template
Vendor
twigphp
Published
July 2026

CoverageNo articles yet

No CyberSIXT article names CVE-2026-47732 yet, so there is no coverage timeline, action brief or change log for it. Everything on this page comes from the public CVE record, CISA KEV, EPSS and the nuclei template index. Search the archive or see the CVEs in the news.

References