CVE-2026-133769: twig/html-extra Auth Bypass

CVE-2026-133769

NVD

Vulnerability Summary

Cva::apply() converted the values of variants, default variants and compound variants with (array). These values come from the arguments of html_cva(). A sandboxed template could therefore pass any object of its context, and print the private and protected properties of that object:

{{ html_cva('base', {c: {p: user}}).apply({c: 'p'}) }}

Variant maps that are ArrayAccess objects were also read with a key that the template chooses, without the property check of the sandbox. The template then printed the offsets that the object returned.

Applications are affected when the sandbox allows the html_cva function and the apply method of Twig\Extra\Html\Cva.

A value that isn't an array is now treated as a single item, so objects are dropped and never match a variant. Variant maps are also only used when they're arrays.
Severity Level
LOW(2.3)
Published Date
Nov 24, 2026
Last Modified
Nov 24, 2026
Exploitation Status
No confirmed exploitation yet
EPSS Score (30-Day)
0.53%Probability
Root Weakness (CWE)
The product performs an authorization check when an actor attempts to access a resource or perform an action, but it does not correctly perform the check.
CVSS v4.0 Base Metrics — Score 2.3 (LOW)
CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N
Attack VectorNetwork
Attack ComplexityLow
Attack RequirementsPresent
Privileges RequiredLow
User InteractionNone
Confidentiality (Vulnerable System)Low
Integrity (Vulnerable System)None
Availability (Vulnerable System)None
Confidentiality (Subsequent System)None
Integrity (Subsequent System)None
Availability (Subsequent System)None

Affected & Patched Versions

Affected Versions
  • twig/html-extra >= 3.12.0 and < 3.31.1
Patched Versions
  • twig/html-extra 3.31.1

What to do

Fix it during your normal patch cycle. No exploitation is confirmed yet.

  1. Check whether you run twig/html-extra and which version.
  2. Update to a patched version listed above, then confirm the new version.

Timeline

  • Nov 24, 2026Published
  • Nov 24, 2026Record last modified

Score, severity and exploitation changes are tracked from the day Watchtower started logging them.

Get notified about new twig/html-extra CVEsYou are reading CVE-2026-133769. Get an email when KEV listings, exploits or new CVEs match your stack.
Set up CVE alerts

Data last checked: Nov 30, 2026 11:12 UTC