llamaCVEVulnerability Intelligence
/
Symfony Serializer

CVE-2026-118515

Symfony Serializer server file access via serializer uploads

A remote, unauthenticated attacker can make the application treat any server file PHP can read as an upload.

UnclearParche disponiblefile path manipulation
Descargar PNG JSON
CVSS 4.0
8.4
Alta
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 Fuente: CNA
ExplotaciónSin evidenciaSSVC: none · no figura en CISA KEV
Exploits públicos0Ninguno conocido
Parche4 versiones5.4.56 · 6.4.50 · 7.4.23 · 8.1.11
Exposición13 dDesde la divulgación, 6 nov 2026, 11:17 a. m.
Detección6 minDesde la divulgación hasta su ingreso al índice
Decisión SSVCAtender
Priorizar en el próximo ciclo de cambios
Sin explotación conocida, automatizable e impacto técnico total. Hay versiones corregidas disponibles.
Timeline

Ciclo de vida de la vulnerabilidad

Hoy
Divulgación
Publicada
Evaluación SSVC +1
Explotación
Remediación
Monitoreo
Detectada +2
Fuente: OSV
Verificada
6 nov 26
11 nov 26
16 nov 26
20 nov 26
6 nov 26
10 nov 26
13 nov 26
16 nov 26
20 nov 26
FechaFaseEventoDetalle
Divulgación Publicada CVE-2026-118515 divulgada · CVSS 8.4 (CNA)
Monitoreo Detectada Ingresó al índice
Monitoreo Fuente: NIST NVD Registro visto por primera vez en NIST NVD
Monitoreo Fuente: ENISA EUVD Registro visto por primera vez en ENISA EUVD
Divulgación Evaluación SSVC CISA-ADP · explotación ninguna
Divulgación Modificada Última actualización del registro
Monitoreo Fuente: OSV Registro visto por primera vez en OSV
Monitoreo Verificada Última verificación contra las fuentes
Resumen
Resumen generado por IA · CC-BY 4.0 · 6 nov 2026

Symfony's Serializer component can be tricked into building UploadedFile objects from client-supplied data, including a file path, so an attacker can make the application treat any file readable by PHP on the server as an upload. An attacker can do this remotely, without logging in, by sending a crafted JSON or form request body, and the impact depends on what the application does with the file, such as exposing its contents or moving it.

Symfony before 5.4.56, 6.x before 6.4.50, 7.x before 7.4.23 and 8.x before 8.1.11 are affected. Fixed in those releases, but a serializer without DataUriNormalizer ahead of the object normalizer is not protected.

¿Qué significa?The Serializer can turn request data into an UploadedFile that points at any file PHP can read on the server. A client can use this to expose the file's contents, move it when move() is called, or find out whether a path exists.
¿Quién está afectado?Affected versions are Symfony before 5.4.56, 6.x before 6.4.50, 7.x before 7.4.23 and 8.x before 8.1.11. To check, look at the installed Symfony version, and check whether the serializer is built with DataUriNormalizer ahead of the object normalizer, since that setup is not covered by the fix.
¿Qué hacer?Upgrade to the fixed release for your branch: 5.4.56, 6.4.50, 7.4.23 or 8.1.11.
Descripción original del registro (Checkmarx)

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.

Contexto

Condiciones y alcance

Condiciones necesarias para que el fallo sea explotable
01
Affected Symfony versions: before 5.4.56, 6.x before 6.4.50, 7.x before 7.4.23, 8.x before 8.1.11“5.4.56 6.4.50 7.4.23 8.1.11”
02
A serializer built without DataUriNormalizer ahead of the object normalizer is not protected by the fix“A serializer built without DataUriNormalizer ahead of the object normalizer does not get this protection”
Vector CVSS 4.0

Desglose de métricas

Opción resaltada = valor del vector · izquierda = peor caso · CNA
Vector de ataqueAV:N
RedAdyacenteLocalFísica
ComplejidadAC:L
BajaAlta
Requisitos de ataqueAT:P
NingunoPresentes
PrivilegiosPR:N
NingunoBajosAltos
InteracciónUI:N
NingunaPasivaActiva
Confid. (sistema)VC:H
AltoBajoNinguno
Integridad (sistema)VI:L
AltoBajoNinguno
Disponib. (sistema)VA:H
AltoBajoNinguno
Confid. (posterior)SC:N
AltoBajoNinguno
Integridad (posterior)SI:N
AltoBajoNinguno
Disponib. (posterior)SA:N
AltoBajoNinguno
Versiones

Rangos afectados

Afectada Corregida
symfony/serializer< 5.4.56
symfony/serializer≥ 6.0.0 < 6.4.50
symfony/serializer≥ 7.0.0 < 7.4.23
symfony/serializer≥ 8.0.0 < 8.1.11
5.4.56
6.0.0
6.4.50
7.0.0
7.4.23
8.0.0
8.1.11
Remediación

Estado del parche por paquete

Paquete / productoEstadoCorregida enDesde divulgaciónÚltima versión
symfony/serializer
Corregida 5.4.56, 6.4.50, 7.4.23, 8.1.11 — —
Versiones corregidas5.4.566.4.507.4.238.1.11
Explotación

Arsenal público

Sin exploits, módulos ni PoC públicos conocidos a la fecha de verificación.

Registro
EscenarioGENERALCheckmarx
Referencias
Fabricantehttps://github.com/symfony/symfony/security/advisories/GHSA-h38r-xrmh-cwhr
Parchehttps://github.com/symfony/symfony/commit/72ece5bb3084e8233325166357f85c8c0650ee86
Parchehttps://github.com/symfony/symfony/commit/c459104eb18ebda31e112c5490970da3f30bd668

Las referencias externas se muestran para copiar: cve.llama.ec no lo redirige a otros sitios.