Free and open · new CVEs checked every 20 minutesStatusRSSOpen dataContact

CVE-2026-45066: Symfony is a PHP framework for web and console applications and a set of reusable PHP components

28
Routine
MEDIUM 6.1UPGRADE

CVE-2026-45066 is a medium-severity flaw (CVSS 6.1) affecting symfony. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.

Symfony is a PHP framework for web and console applications and a set of reusable PHP components. From 6.1.0-BETA1 until 6.4.40, 7.4.12, and 8.0.12, HtmlSanitizer URL sanitization can allow off-allowlist URLs through allowLinkHosts() or allowMediaHosts() because UrlSanitizer::parse() follows RFC 3986 while browsers follow WHATWG URL parsing, and because <area href> is checked against the media policy rather than the link policy. This issue is fix

Why this priority

  • No elevated risk signals yet

A fixed release or distro patch exists.

Risk facts

CVSS score6.1 (Medium)
Attack vectorNetwork (remote)
Attack complexityLow
Privileges neededNone
User interactionRequired
EPSS exploit chance0.3% (top 73%)
CISA exploited listNo
WeaknessCWE-184, CWE-436
Published2026-07-14
Last modified2026-07-16
Publisher (CNA): GitHub, Inc. · Vendor: sensiolabs

Share: LinkedIn · X · Reddit

Last updated 2026-07-16 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score

Am I affected?

Timeline

sensiolabs symfony UPGRADE
Affected: >= 6.1.0 and < 6.4.40 · >= 7.0.0 and < 7.4.12 · >= 8.0.0 and < 8.0.12
Fixed in: 6.4.40, 7.4.12, 8.0.12
Safe to downgrade to: a release before 6.1.0
1. Check installed version
apt-cache policy symfony || rpm -q symfony || symfony --version
2. UPGRADE to 6.4.40 (Debian / Ubuntu)
sudo apt update && sudo apt install --only-upgrade symfony
2. UPGRADE (RHEL / Amazon Linux / Fedora)
sudo dnf upgrade symfony
Note
Distros often backport fixes without changing the version number. Confirm with the distro advisory or changelog.
3. If no update is available yet, DOWNGRADE to a release before 6.1.0 (Debian / Ubuntu)
apt-cache madison symfony sudo apt install symfony=<VERSION_BEFORE_6.1.0> sudo apt-mark hold symfony
3. If no update is available yet, DOWNGRADE (RHEL / Amazon Linux / Fedora)
dnf --showduplicates list symfony sudo dnf downgrade symfony-<VERSION_BEFORE_6.1.0> sudo dnf versionlock add symfony
Downgrade risk
Downgrading can break dependent software and may reopen older bugs. Read the distro advisory first and test on a non-production host.
After downgrade
Restart the service, and keep the package held until a fixed release ships.
Verify at the official source NVD · CVE Program · Report a problem with this page
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.

Quick answers

How do I fix CVE-2026-45066?

symfony: upgrade to 6.4.40, 7.4.12, 8.0.12. Exact commands for each OS are on this page.

Is CVE-2026-45066 being exploited?

CVE-2026-45066 is not on the CISA Known Exploited Vulnerabilities list at the time of the last update. Check again, as this can change.

What does CVE-2026-45066 affect?

CVE-2026-45066 affects symfony. Severity is medium (CVSS 6.1). Symfony is a PHP framework for web and console applications and a set of reusable PHP components. From 6.1.0-BETA1 until 6.4.40, 7.4.12, and 8.0.12, HtmlSanitizer URL sanitization can allow off-allowlist URLs through allowLinkHosts() or all

How urgent is CVE-2026-45066?

Priority 28/100. No elevated risk signals yet.

Software pages

PHP vulnerabilities

Related CVEs

References

← Back to latest CVEs

Get the weekly exploited-CVE digest by emailThe CVEs being attacked this week and how to fix them. No spam, unsubscribe any time.