symfony/serializer: is it safe?

Short answer: Version 8.1.11 or later has a fix for every vulnerability listed here. Older versions may be affected: check the table against the exact version you run.

Composer symfony/serializer has 6 known advisories in the phpwarden feed. Feed 2026.11.23.2, updated 2026-11-23.

6advisories
1critical
0on CISA KEV
0no fix recorded
CVETitleSeverityCVSSAffectedFixed in
CVE-2021-41270CSV Injection in symfony/serializermedium6.5>=5.0.0 and <5.3.12 or >=4.1.0 and <4.4.35 or >=4.1.0 and <4.2.0 or >=4.2.0 and <4.3.0 or >=4.3.0 and <4.4.0 or >=4.4.0 and <4.4.35 or >=5.0.0 and <5.1.0 or >=5.1.0 and <5.2.0 or >=5.2.0 and <5.3.0 or >=5.3.0 and <5.3.125.3.12, 4.4.35
CVE-2026-121623DataUriNormalizer Opens Data URIs With a Non-Lowercase Scheme as Local Files, Letting a Client Read Any Server Fileunknown0.0>=2.0.0 and <3.0.0 or >=3.0.0 and <4.0.0 or >=4.0.0 and <5.0.0 or >=5.0.0 and <5.1.0 or >=5.1.0 and <5.2.0 or >=5.2.0 and <5.3.0 or >=5.3.0 and <5.4.0 or >=5.4.0 and <5.4.56 or >=6.0.0 and <6.1.0 or >=6.1.0 and <6.2.0 or >=6.2.0 and <6.3.0 or >=6.3.0 and <6.4.0 or >=6.4.0 and <6.4.50 or >=7.0.0 and <7.1.0 or >=7.1.0 and <7.2.0 or >=7.2.0 and <7.3.0 or >=7.3.0 and <7.4.0 or >=7.4.0 and <7.4.23 or >=8.0.0 and <8.1.0 or >=8.1.0 and <8.1.115.4.56, 6.4.50, 7.4.23, 8.1.11
CVE-2026-118515CVE-2026-118515: The Serializer Builds UploadedFile Objects From Request Data, Letting a Client Point an Upload at Any Server Fileunknown0.0>=2.0.0 and <3.0.0 or >=3.0.0 and <4.0.0 or >=4.0.0 and <5.0.0 or >=5.0.0 and <5.1.0 or >=5.1.0 and <5.2.0 or >=5.2.0 and <5.3.0 or >=5.3.0 and <5.4.0 or >=5.4.0 and <5.4.56 or >=6.0.0 and <6.1.0 or >=6.1.0 and <6.2.0 or >=6.2.0 and <6.3.0 or >=6.3.0 and <6.4.0 or >=6.4.0 and <6.4.50 or >=7.0.0 and <7.1.0 or >=7.1.0 and <7.2.0 or >=7.2.0 and <7.3.0 or >=7.3.0 and <7.4.0 or >=7.4.0 and <7.4.23 or >=8.0.0 and <8.1.0 or >=8.1.0 and <8.1.115.4.56, 6.4.50, 7.4.23, 8.1.11
CVE-2026-122053ObjectNormalizer Dotted-Key Property-Path Traversal Bypasses #[Ignore] on Nested Objectsunknown0.0>=5.4.41 and <5.4.56 or >=6.4.9 and <6.4.50 or >=7.0.9 and <7.1.0 or >=7.1.2 and <7.2.0 or >=7.2.0 and <7.3.0 or >=7.3.0 and <7.4.0 or >=7.4.0 and <7.4.23 or >=8.0.0 and <8.1.0 or >=8.1.0 and <8.1.115.4.56, 6.4.50, 7.4.23, 8.1.11
GHSA-j68w-pg49-f6vxSymfony XML decoding attack vector through external entitiescritical9.8>=2.0.0 and <2.0.112.0.11
2012-02-24XML decoding attack vector through external entitiesunknown0.0>=2.0.0 and <2.0.112.0.11

Quick answers

Is symfony/serializer safe to use?

Version 8.1.11 or later has a fix for every vulnerability listed here. Older versions may be affected: check the table against the exact version you run.

Is symfony/serializer being actively exploited?

None of its 6 known vulnerabilities are on CISA's Known Exploited Vulnerabilities list today.

How do I check my own site?

Run `phpwarden deps composer.lock`. phpwarden compares the exact version you have installed with these advisories and lists only the ones that apply, exploited ones first.

Am I affected?

Find out in one command. phpwarden checks your composer.lock against this advisory and 21,000+ others, ranked by real-world exploitation (CISA KEV + EPSS). Free, offline, open data.

# PHP projects (recommended)
composer require --dev phpwarden/phpwarden
# then
vendor/bin/phpwarden deps composer.lock

# or, without Composer
pipx install phpwarden   &&   phpwarden deps composer.lock

Or keep it checked automatically: GitHub Action · pre-commit hook · GitLab CI · Laravel artisan command

Install docs   How findings are ranked
A version is vulnerable when it falls inside an affected range and below the fixed version. phpwarden applies these ranges to the exact versions in your lockfile or install, so you only see what applies to you.

Add this status to your README

phpwarden status badge

Maintainer of this package? The badge updates itself whenever the feed is rebuilt (twice a day). Add ?v=1.2.3 to the image address to show the status of one exact version.

[![phpwarden](https://phpwarden.io/badge/symfony/serializer.svg)](https://phpwarden.io/packages/symfony/serializer)