PatchSiren cyber security CVE debrief
CVE-2026-46635 twigphp CVE debrief
AI-assisted PatchSiren debrief based on the supplied source corpus. The CVE record was published on 2026-07-14T22:16:56.270Z and has not been modified since then. The vulnerability affects PHP applications using Twig template language versions prior to 3.26.0, allowing an untrusted template author to read properties not in the sandbox allowlist. Defenders should assess exposure and prioritize verification and remediation. The issue is fixed in version 3.26.0. This debrief provides an executive overview of the affected product, vulnerability class, likely operational impact, and source-confidence limits.
- Vendor
- twigphp
- Product
- Twig
- CVSS
- MEDIUM 5.3
- CISA KEV
- Not listed in stored evidence
- Original CVE published
- 2026-07-14
- Original CVE updated
- 2026-10-24
- Advisory published
- 2026-07-14
- Advisory updated
- 2026-10-24
Who should care
Defenders of PHP applications using Twig template language, especially those allowing untrusted template authors, should assess exposure and prioritize verification and remediation.
Why it matters
CVE-2026-46635 allows an untrusted template author to read properties not in the sandbox allowlist in Twig template language for PHP. Defenders should prioritize verifying exposure, restricting use of the column filter, and upgrading to Twig version 3.26.0 or later.
- Potential unauthorized property access by untrusted template authors
- Verification of exposure in PHP applications using Twig versions prior to 3.26.0
- Remediation priority for Twig versions prior to 3.26.0
- Review and update of sandbox allowlists for Twig properties
Technical summary
The column filter in Twig template language for PHP passes object arrays to PHP array_column(), which reads public and magic properties without reaching CoreExtension::getAttribute() or SandboxExtension::checkPropertyAllowed(). This allows an untrusted template author with column in allowedFilters to read properties that are not in the sandbox allowlist. The vulnerability affects PHP applications using Twig versions prior to 3.26.0. The issue is fixed in version 3.26.0. Defenders should prioritize verifying exposure in PHP applications using Twig template language versions prior to 3.26.0, especially those allowing untrusted template authors to use the column filter.
Defensive priority
Defenders should prioritize verifying exposure in PHP applications using Twig template language versions prior to 3.26.0, especially those allowing untrusted template authors to use the column filter.
Recommended defensive actions
- Verify exposure in PHP applications using Twig template language versions prior to 3.26.0
- Restrict use of the column filter in allowedFilters for untrusted template authors
- Upgrade to Twig version 3.26.0 or later
- Review and update sandbox allowlists for Twig properties
- Confirm whether affected product deployments exist in managed environments and assign an owner for follow-up
- Plan vendor-supported updates or mitigations through normal change control where exposure is confirmed
- Track exceptions, retest remediated assets, and close the item only after evidence is documented
Evidence notes
The CVE record and NVD detail page provide information on the vulnerability in Twig template language for PHP, allowing an untrusted template author to read properties not in the sandbox allowlist. The issue is fixed in version 3.26.0.
Sources and references
Verified primary and authoritative sources
-
CVE-2026-46635 CVE Program record
Publisher, destination, and source semantics verified
URL: https://www.cve.org/CVERecord?id=CVE-2026-46635
CVE Program - Official CVE Program record with source-provided CVE metadata.
-
CVE-2026-46635 NVD vulnerability detail
Publisher, destination, and source semantics verified
URL: https://nvd.nist.gov/vuln/detail/CVE-2026-46635
NIST National Vulnerability Database - Official NIST NVD detail page and source-specific vulnerability assessment.
Supplemental references
-
Source reference
Unverified legacy reference
URL: https://github.com/twigphp/Twig/commit/f05c5011c25caf17de37614b7e04662022532ac4
[email protected] - Patch
-
Source reference
Unverified legacy reference
URL: https://github.com/twigphp/Twig/releases/tag/v3.26.0
[email protected] - Release Notes
-
Source reference
Unverified legacy reference
URL: https://github.com/twigphp/Twig/security/advisories/GHSA-vcc8-phrv-43wj
[email protected] - Vendor Advisory
Methodology and review provenance
AI-assisted synthesis based on stored public vulnerability evidence. System validation, approval state, and publication status do not by themselves establish human review of this revision. PatchSiren helps prioritize defensive review and does not prove exposure or remediation on any system.