CVE & CISA-KEV Catalog

CVE-2026-46628

MEDIUM
5.4
CVSS v3
NVD

Description

Twig is a template language for PHP. Prior to 3.26.0, the deprecated spaceless filter is registered as safe for HTML, causing Twig autoescaping to emit attacker-controlled markup unescaped when spaceless is applied to untrusted input. This issue is fixed in version 3.26.0.

How to fix

Remediation Available
php-twigDebian
Fixed in:3.5.1-1+deb12u3CVE-2026-46628
Fixed in:3.27.0-0+deb13u1CVE-2026-46628
Fixed in:3.26.0-1CVE-2026-46628

TridentStack Control can deploy fixes like this automatically across your Windows, macOS, and Linux fleet. See how it works

Remediation is compiled from vendor and distribution security advisories. Always confirm against the linked source for your exact version and platform.

CVSS v3 Vector

Exploitability

Attack VectorNetwork
Attack ComplexityLow
Privileges RequiredLow
User InteractionRequired
ScopeChanged

Impact

ConfidentialityLow
IntegrityLow
AvailabilityNone

CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N

Exploit Intelligence

0.29%probability of exploitation in 30 days
22ndpercentile

Low risk: more likely to be exploited than 22% of all known CVEs.

References

Vendor Advisory1
Release Notes1

Related Vulnerabilities

Other CWE-116 vulnerabilities, ordered by exploit likelihood. View all

CVESeverityCVSSEPSSExploitedFix
CVE-2024-38475Critical9.1100%KEVFix
CVE-2022-36446Critical9.896%-Fix
CVE-2021-31806Medium6.596%-Fix
CVE-2022-30781High7.589%-Fix
CVE-2022-36099Critical9.976%-Fix
CVE-2022-36100Critical9.974%-Fix

Common questions

How do I fix CVE-2026-46628?

Upgrade php-twig on debian 12 to 3.5.1-1+deb12u3 or later.

Is CVE-2026-46628 being actively exploited?

Not that we know of. CVE-2026-46628 is not in the CISA Known Exploited Vulnerabilities catalog. Its EPSS score of 0.29% is the estimated probability that it will be exploited in the next 30 days. That is higher than 22% of all scored CVEs.

How severe is CVE-2026-46628?

CVE-2026-46628 has a CVSS v3 base score of 5.4, rated medium. CVSS rates the technical impact if the vulnerability is exploited, not how likely that is, so weigh it alongside the exploit-prediction score when you decide what to patch first.

What does CVE-2026-46628 affect?

Published advisories record a fix for php-twig (Debian). Only products with a sourced advisory are listed, so treat this as what we can cite rather than a complete inventory.

Embed a live status badge for CVE-2026-46628
CVE-2026-46628 severity badge

Markdown

[![CVE-2026-46628](https://tridentstack.com/cve/badge/CVE-2026-46628.svg)](https://tridentstack.com/cve/CVE-2026-46628)

HTML

<a href="https://tridentstack.com/cve/CVE-2026-46628"><img src="https://tridentstack.com/cve/badge/CVE-2026-46628.svg" alt="CVE-2026-46628"></a>

Find and fix vulnerabilities across your fleet

TridentStack Control continuously scans your Windows, macOS, and Linux fleet for known vulnerabilities, prioritizes them by severity and active exploitation, and patches them automatically.

See how it worksStart freeThis CVE lookup is free and always will be.

This product uses NVD data but is not endorsed or certified by the NVD. EPSS scores courtesy of FIRST.org (https://www.first.org/epss). Source: CISA KEV Catalog. Data as of 2026-07-16.