HOMEVULNERABILITIESCVE-2026-46633
CRITICAL

CVE-2026-46633

CWE-94Published: July 14, 2026· Updated: Jul 16, 2026

9.8
CVSS v3.1
EPSS:0.64%probability of exploitation in 30 daysPercentile:46.7th

Official Description

Twig is a template language for PHP. Prior to 3.26.0, Compiler::string() does not escape single quotes when a template name from a {% use %} tag is placed inside a PHP single-quoted string literal, allowing a crafted template name to terminate the string and inject arbitrary PHP expressions into the compiled cache file. This issue is fixed in version 3.26.0.

NVD Source

Risk Analysis

This critical vulnerability in Twig prior to version 3.26.0, with a CVSS score of 9.8, allows for arbitrary PHP expression injection into compiled cache files. This is due to improper escaping of single quotes in template names from {% use %} tags.

No public exploit is currently known for this vulnerability. The flaw is remotely exploitable (AV:N) and has low attack complexity (AC:L), making it a significant concern.

Recommended Action

Upgrade Twig to version 3.26.0 or later. Ensure that all template names are properly escaped before being embedded in PHP string literals within compiled cache files.

Generated by the CTIWATCH analysis pipeline from this CVE's metadata (CVSS, EPSS, KEV status, exploit intelligence). Verify against vendor advisories before acting.

Technical Analysis

CVE-2026-46633 can be exploited remotely over the network without requiring physical or adjacent access, significantly expanding the attack surface for threat actors.

The vulnerability requires no privileges and no user interaction, making it a prime target for automated exploitation campaigns and worm-like propagation.

A successful exploit results in complete confidentiality breach (data exposure), full integrity compromise (data manipulation), availability disruption (denial of service), with a CVSS base score of 9.8.

CVSS v3.1 Vector Breakdown

Exploitability
Attack VectorNetwork
Attack ComplexityLow
Privileges Req.None
User InteractionNone
ScopeUnchanged
Impact
ConfidentialityHigh
IntegrityHigh
AvailabilityHigh
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Affected Vendors & Products

symfony1 product(s)
twig
Source: NVD CPE · 1 total CPE entries

Exploit & PoC Resources

NO KNOWN EXPLOITNo public exploit confirmed at this time
External links open in a new tab. Always verify in a controlled environment before use.

Official Patches & Advisories

All References (4)

Quick Facts

CVE IDCVE-2026-46633
CVSS Score9.8 / 10
SeverityCRITICAL
WeaknessCWE-94
CISA KEVNo
EPSS (30d)0.64%
Affected1 vendor(s)
PublishedJul 14, 2026

Related CVEs (CWE-94)

Recommended Actions

  • Apply vendor patches immediately
  • Monitor CVE-2026-46633 in threat intel feeds
  • Review IDS/IPS signatures for exploitation attempts
Data sourced from NVD (NIST), CISA KEV, and EPSS (FIRST). Analysis generated by CTIWatch. CVE data is provided under the NVD usage policy.