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.
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?
| Vendor | Product | Affected | Fixed or not affected from |
|---|---|---|---|
| sensiolabs | symfony symfony/serializer | not 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?
| Ecosystem | Package | Affected | Fixed in | Advisory |
|---|---|---|---|---|
| Packagist | symfony/serializer | < 5.4.56 | 5.4.56 | GHSA-h38r-xrmh-cwhr |
| Packagist | symfony/serializer | >= 6.0.0, < 6.4.50 | 6.4.50 | GHSA-h38r-xrmh-cwhr |
| Packagist | symfony/serializer | >= 7.0.0, < 7.4.23 | 7.4.23 | GHSA-h38r-xrmh-cwhr |
| Packagist | symfony/serializer | >= 8.0.0, < 8.1.11 | 8.1.11 | GHSA-h38r-xrmh-cwhr |
| Packagist | symfony/symfony | < 5.4.56 | 5.4.56 | GHSA-h38r-xrmh-cwhr |
| Packagist | symfony/symfony | >= 6.0.0, < 6.4.50 | 6.4.50 | GHSA-h38r-xrmh-cwhr |
| Packagist | symfony/symfony | >= 7.0.0, < 7.4.23 | 7.4.23 | GHSA-h38r-xrmh-cwhr |
| Packagist | symfony/symfony | >= 8.0.0, < 8.1.11 | 8.1.11 | GHSA-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?
| Score | Version | Vector | Source |
|---|---|---|---|
| High 8.4 | CVSS 4.0 | CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:L/VA:H/SC:N/SI:N/SA:N | Checkmarx |
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?
- CWE-73 External Control of File Name or Path
Where are the vendor advisories and references?
- https://github.com/symfony/symfony/security/advisories/GHSA-h38r-xrmh-cwhr third-party-advisory
- https://github.com/symfony/symfony/commit/72ece5bb3084e8233325166357f85c8c0650ee86 patch
- https://github.com/symfony/symfony/commit/c459104eb18ebda31e112c5490970da3f30bd668 patch
Who found and reported it?
- Oliver Wenzel (reporter)
- Nicolas Grekas (remediation developer)
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?
- Nov 12, 2026CVE-2026-121619 sensiolabs symfony: authentication bypass by spoofing
- Nov 6, 2026CVE-2026-123824 sensiolabs symfony: XML external entity (XXE)
- Nov 6, 2026CVE-2026-122053 sensiolabs symfony: mass assignment
- Nov 6, 2026CVE-2026-121623 sensiolabs symfony: external Control of File Name or Path
- Nov 6, 2026CVE-2026-123792 sensiolabs symfony: denial of service through slow algorithm
- Nov 6, 2026CVE-2026-123339 sensiolabs symfony: use of Less Trusted Source
- Nov 6, 2026CVE-2026-123746 sensiolabs symfony: authentication bypass through another path
- Nov 5, 2026CVE-2026-121949 sensiolabs symfony: incomplete List of Disallowed Inputs
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.