Vulnerability · CVE-2026-118515
Symfony: The Serializer Builds UploadedFile Objects From Request Data, Letting a Client Point an Upload at Any Server File
Published Nov 6, 2026 · catalog updated Nov 7, 2026 · Symfony: The Serializer Builds
Last checked Nov 7, 2026. A connected source was read within the last 7 days.
Check if you run it
No confirmed exploitation is on record for CVE-2026-118515. EPSS is 0.58%. Act only if a listed version of Symfony: The Serializer Builds is installed.
Gaps on this record
- The stored product name is a package slug. The name on this page is taken from the title (Symfony: The Serializer Builds).
- No vendor fix or required action is stored. Compare the linked advisory before you change production.
Same product and reporting
- CVE-2026-123824 · Low
- CVE-2026-122053 · Medium
- CVE-2026-118514 · Medium
- CVE-2024-50340 · Unknown · known exploited
- CVE-2026-48784 · Medium
- Severity
- High8.4
- Known exploitation
- Not in CISA/VulnCheck KEV
- EPSS
- 0.58%
- Remediation
- Advisory link
- Affected products
- Debian:12 symfony · Debian:13 symfony · Debian:14 symfony · vendor sensiolabs symfony
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.
Are you affected?
Enter the version you run. The result uses only the ranges stored on this record.
The check returns affected, not affected, or incomplete. It does not guess a version that is missing from the record.
- Debian:12 symfony5.4.23+dfsg-1, 5.4.23+dfsg-1+deb12u1, 5.4.23+dfsg-1+deb12u2
- Debian:13 symfony6.4.21+dfsg-2, 6.4.21+dfsg-2+deb13u1, 6.4.24+dfsg-1
- Debian:14 symfony6.4.21+dfsg-2, 6.4.24+dfsg-1, 6.4.25+dfsg-1
- vendor sensiolabs symfonyversion unspecified
How to fix CVE-2026-118515
No stored fix
No vendor fix text is stored. Use the linked advisory before you change production.
Version check
Seen in 5.4.23+dfsg-1 · 8 other packages on the advisory
Advisory
Open the cve_org record and follow its fix.
Official advisories
What to do
Three questions, each answered from this record only. Confirm the vendor advisory before you patch.
Should you patch?
No confirmed exploitation is on record for CVE-2026-118515. EPSS is 0.58%. Act only if a listed version of Symfony: The Serializer Builds is installed.
Which versions are affected?
Compare what you have installed with 5.4.23+dfsg-1, 5.4.23+dfsg-1+deb12u1, 5.4.23+dfsg-1+deb12u2, 6.4.21+dfsg-2, 6.4.21+dfsg-2+deb13u1, 6.4.24+dfsg-1, 6.4.21+dfsg-2, 6.4.24+dfsg-1, 6.4.25+dfsg-1. Compare the installed version with the linked vendor advisory before you change production.
What should an analyst verify?
CWE-73. EPSS 0.58%. There is no CISA KEV listing. No Exploit-DB or Metasploit reference is linked. Use the source links for the original advisory.
Technology hubs
Code
The project this record applies to. Exploit listings stay in References.
Timeline
Detection, updates, and resolution for this record.
Nov 6, 2026 · OpenSSF OSV / OSV Scanner
Detected
Nov 7, 2026 · OpenSSF OSV / OSV Scanner
Updated
The description or metadata changed.
Sources
- CVE.orgVulnerability recordCVE-2026-118515
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, incl
cve.org - FIRST EPSSExploitation probabilityCVE-2026-118515
30-day exploitation probability 0.58%
first.org - OpenSSF OSV / OSV ScannerPackage advisoryDEBIAN-CVE-2026-118515osv.dev
References
Freshness
Last verified in this catalog Nov 7, 2026. Significant claims (KEV, EPSS, CVSS, affected ranges) come from the source rows above — open the original publisher for the authoritative advisory.
- FIRST EPSSNov 7, 2026
- CVE.orgNov 7, 2026
- OpenSSF OSV / OSV ScannerNov 7, 2026