CVE-2026-46635

Medium

Description

Twig is a template language for PHP. Prior to 3.26.0, the column filter passes object arrays to PHP array_column(), which reads public and magic properties without reaching CoreExtension::getAttribute() or SandboxExtension::checkPropertyAllowed(), allowing an untrusted template author with column in allowedFilters to read properties that are not in the sandbox allowlist. This issue is fixed in version 3.26.0.

SeverityMedium
CVSS4.3
Exploit probability—
ProductSymfony Twig
PublishedJul 14, 2026
First seenJul 14, 2026

How to fix

Update
  • symfony twig3.26.0 or later
  • twig/twig3.26.0 or later

Affected products

ProductAffected versionsFixed in
symfony twigv < 3.26.03.26.0
twig/twigPackagistv < 3.26.03.26.0

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.

CVE-2026-46635 · Symfony Twig · Dark Radar