HOMEVULNERABILITIESCVE-2026-46634
CRITICAL

CVE-2026-46634

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

9.8
CVSS v3.1
EPSS:0.42%probability of exploitation in 30 daysPercentile:34.0th

Official Description

Twig is a template language for PHP. From 3.9.0 until 3.26.0, template_from_string() compiles an inner template under a synthesized __string_template__<hash> name that can fall outside a SourcePolicyInterface sandbox decision, allowing a sandboxed template that can call template_from_string and include to render an inner template without security policy enforcement. This issue is fixed in version 3.26.0.

NVD Source

Risk Analysis

This critical vulnerability in Twig versions 3.9.0 through 3.26.0, with a CVSS score of 9.8, allows sandboxed templates to bypass security policy enforcement. This occurs when template_from_string() compiles inner templates outside the SourcePolicyInterface sandbox.

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 compilation, especially from strings, adheres to defined security policies and sandboxing rules.

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-46634 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 (3)

Quick Facts

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

Related CVEs (CWE-693)

Recommended Actions

  • Apply vendor patches immediately
  • Monitor CVE-2026-46634 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.