CVEBrief

Home / sensiolabs / symfony / CVE-2026-118515

CVE-2026-118515: is it exploited, and which versions of sensiolabs symfony are affected and fixed?

CVE-2026-118515 is an external Control of File Name or Path vulnerability in sensiolabs symfony. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 19:09 UTC). Affected: symfony/serializer before 5.4.56, symfony/serializer from 6.0.0 before 6.4.50, symfony/serializer from 7.0.0 before 7.4.23 and 5 more (GitHub advisory GHSA-h38r-xrmh-cwhr). Fixed in 5.4.56, 6.4.50, 7.4.23 and 8.1.11 (GitHub advisory GHSA-h38r-xrmh-cwhr). Severity: High (8.4, CVSS 4.0, from Checkmarx).

Data checked December 3, 2026: last read CISA KEV December 3, 2026, 19:09 UTC, CVE record November 19, 2026, 07:04 UTC and NVD November 19, 2026, 07:04 UTC.

Exploited in the wild
Not in CISA KEV
KEV read December 3, 2026, 19:09 UTC
Affected
symfony/serializer before 5.4.56, symfony/serializer from 6.0.0 before 6.4.50, symfony/serializer from 7.0.0 before 7.4.23 and 5 more
GitHub advisory GHSA-h38r-xrmh-cwhr
Fixed in
5.4.56, 6.4.50, 7.4.23 and 8.1.11
GitHub advisory GHSA-h38r-xrmh-cwhr
Severity
High 8.4
CVSS 4.0 from Checkmarx
Exploit odds (EPSS)
0.54% in 30 days
higher than 47% of CVEs; FIRST, December 3, 2026
Free for up to 3 items: a weekly email, and an alert the day CISA lists one as exploited. We email you once to confirm. More about the watch

What is CVE-2026-118515?

Symfony: The Serializer Builds UploadedFile Objects From Request Data, Letting a Client Point an Upload at Any Server File

The Symfony Serializer component DataUriNormalizer handles only the exact types SplFileInfo, SplFileObject, and File, so for a property typed with a subclass such as UploadedFile, ObjectNormalizer instantiates the object through its constructor from attacker-controlled data, including the file path. This allows an arbitrary file on the server to be treated as an uploaded file in Symfony versions prior to 5.4.56, 6.x prior to 6.4.50, 7.x prior to 7.4.23, and 8.x prior to 8.1.11. A request body such as {"image": {"path": "/path/to/project/.env.local", "originalName": "a.png", "test": true}} makes the application handle any file on the server as an upload, without the file being sent. With test: true, UploadedFile::isValid() skips is_uploaded_file() and move() falls back to rename(). Assert\File does not prevent this because it validates the file at the attacker-chosen path, which exists on the server. Any code that deserializes untrusted data into a type that holds such a property is affected. That includes #[MapRequestPayload] on a DTO with an UploadedFile property, which is how uploads are mapped in Symfony 8.1; a single unauthenticated request with a JSON or form body is enough. Depending on what the application does with the upload, this can expose any file readable by PHP (for instance, when uploads are stored and served back), move any such file when move() is called, and reveal whether a path exists. A serializer built without DataUriNormalizer ahead of the object normalizer is not protected by the fix; the serializer configured by FrameworkBundle is.

From the CVE record by Checkmarx, last updated November 11, 2026, 03:10 UTC.

Which versions are affected, and which fix it?

VendorProductAffectedFixed or not affected from
sensiolabssymfony symfony/serializernot stated

As the CVE record by Checkmarx states it, last updated November 11, 2026. Version ranges are the CNA's; a version the record calls not affected is usually the fix.

Which packages are affected, and in which version is each fixed?

EcosystemPackageAffectedFixed inAdvisory
Packagistsymfony/serializer< 5.4.565.4.56GHSA-h38r-xrmh-cwhr
Packagistsymfony/serializer>= 6.0.0, < 6.4.506.4.50GHSA-h38r-xrmh-cwhr
Packagistsymfony/serializer>= 7.0.0, < 7.4.237.4.23GHSA-h38r-xrmh-cwhr
Packagistsymfony/serializer>= 8.0.0, < 8.1.118.1.11GHSA-h38r-xrmh-cwhr
Packagistsymfony/symfony< 5.4.565.4.56GHSA-h38r-xrmh-cwhr
Packagistsymfony/symfony>= 6.0.0, < 6.4.506.4.50GHSA-h38r-xrmh-cwhr
Packagistsymfony/symfony>= 7.0.0, < 7.4.237.4.23GHSA-h38r-xrmh-cwhr
Packagistsymfony/symfony>= 8.0.0, < 8.1.118.1.11GHSA-h38r-xrmh-cwhr

GitHub Advisory Database, reviewed advisories (CC BY 4.0); advisory updated December 1, 2026. Summary: Symfony: The Serializer Builds UploadedFile Objects From Request Data, Letting a Client Point an Upload at Any Server File.

How severe is CVE-2026-118515?

ScoreVersionVectorSource
High 8.4CVSS 4.0CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:L/VA:H/SC:N/SI:N/SA:NCheckmarx

Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.

What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.

Is CVE-2026-118515 exploited in the wild?

CISA KEV
Not listed (catalog 2026.11.30)
CISA SSVC
Exploitation: none; automatable: yes; technical impact: total (CISA ADP, November 11, 2026)
EPSS
0.54% probability of exploitation activity in the next 30 days, percentile 47.1 (FIRST EPSS, scores of December 3, 2026)

What kind of flaw is it?

Where are the vendor advisories and references?

Who found and reported it?

As published in the CVE record; contact details are removed.

When was it published, and where is the official record?

Reserved
October 28, 2026
Published
November 6, 2026, 16:17 UTC
CVE record updated
November 11, 2026, 03:10 UTC by Checkmarx
NVD
Awaiting Analysis, last modified November 11, 2026, 05:19 UTC
Last checked
CVE list November 19, 2026, 07:04 UTC; NVD November 19, 2026, 07:04 UTC; KEV December 3, 2026, 19:09 UTC; EPSS December 3, 2026
Official record
cve.org · NVD

What other CVEs affect symfony?

Every CVE in symfony

Questions about CVE-2026-118515

Is CVE-2026-118515 exploited in the wild?

Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 19:09 UTC. FIRST's EPSS gives it a 0.54% chance of exploitation activity in the next 30 days (scores of December 3, 2026).

Which versions of sensiolabs symfony are affected by CVE-2026-118515?

symfony/serializer before 5.4.56, symfony/serializer from 6.0.0 before 6.4.50, symfony/serializer from 7.0.0 before 7.4.23, symfony/serializer from 8.0.0 before 8.1.11, symfony/symfony before 5.4.56, symfony/symfony from 6.0.0 before 6.4.50 and 2 more, per the GitHub advisory GHSA-h38r-xrmh-cwhr. The tables above give every range the sources list.

Which version fixes CVE-2026-118515?

5.4.56, 6.4.50, 7.4.23 and 8.1.11, per the GitHub advisory GHSA-h38r-xrmh-cwhr. Check the vendor's advisory before you rely on it.

How severe is CVE-2026-118515?

High (8.4, CVSS 4.0, from Checkmarx). The severity table above shows each score with its source.

Where is the official record of CVE-2026-118515?

The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.