llamaCVEVulnerability Intelligence
/
Pydantic

CVE-2026-133422

Pydantic denial of service in unique_items list validation

A remote, unauthenticated attacker can send a large list that stalls validation for seconds, halting the application.

Texto original en inglés · Ver en español

Parche disponibledenial of service
Descargar PNG JSON
CVSS 4.0
6.9
Media
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N Fuente: CNA
ExplotaciónSin evidenciaSSVC: ninguna · no figura en CISA KEV
Exploits públicos0Ninguno conocido
Parche1 versiónPrimer parche a -22 d de la divulgación
Exposición1 dDesde la divulgación, 20 nov 2026, 2:33 a. m.
Detección9 minDesde la divulgación hasta su ingreso al índice
Decisión SSVCSeguir
Remediar en la ventana regular de mantenimiento
Sin explotación conocida, automatizable e impacto técnico parcial. Hay versiones corregidas disponibles.
Esto no amerita reunión. Un ticket basta.Se arregla en el próximo ciclo. Sin estrés.
Timeline

Ciclo de vida de la vulnerabilidad

Hoy
Divulgación
Publicada +2
Explotación
Remediación
Parche 1.10.27
Monitoreo
Detectada +2
29 oct 26
20 nov 26
21 nov 26
29 oct 26
4 nov 26
10 nov 26
15 nov 26
21 nov 26
FechaFaseEventoDetalle
Remediación Parche 1.10.27 pydantic · -22 d desde divulgación
Divulgación Publicada CVE-2026-133422 divulgada · CVSS 6.9 (CNA)
Monitoreo Detectada Ingresó al índice
Divulgación Evaluación SSVC CISA-ADP · explotación ninguna
Divulgación Modificada Última actualización del registro
Monitoreo Fuente: NIST NVD Registro visto por primera vez en NIST NVD
Monitoreo Verificada Última verificación contra las fuentes
Resumen
Resumen generado por IA · CC-BY 4.0 · 20 nov 2026

Pydantic, the Python data validation library, has a flaw in its V1 unique_items list check that makes validating a large untrusted list very slow. An attacker can send a remote, unauthenticated request containing a list of a few hundred kilobytes, which can tie up the application for seconds and cause a denial of service.

Descripción original del registro (Pydantic)

Validating an untrusted list into a field constrained with unique_items=True with Pydantic V1 takes quadratic time: an input of a few hundred kilobytes takes seconds to validate. The ConstrainedList.unique_items_validator validator (in pydantic/types.py) checks each item against all the following ones. For a list with no duplicates (the common, valid case), this results in a quadratic number of comparisons. The issue was fixed in commit 6ec75e57f277a820ec583e601167f25fe8dc7c87. Users relying on the pydantic.v1 namespace in Pydantic V2 should upgrade to 2.14.2 or later. Impact: denial of service through validation of untrusted input. Affected are applications validating untrusted lists into fields constrained with unique_items=True (using conlist() or Field()). The fix only applies to lists of builtin scalar types (int, float, str, bytes, bool and None), for which duplicates can be detected in linear time. Lists of other types (e.g. models or dictionaries) are still checked in quadratic time, as their items aren't guaranteed to be hashable: bound their size using the max_items constraint. Pydantic V2 models are not affected.

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:N
NingunoPresentes
PrivilegiosPR:N
NingunoBajosAltos
InteracciónUI:N
NingunaPasivaActiva
Confid. (sistema)VC:N
AltoBajoNinguno
Integridad (sistema)VI:N
AltoBajoNinguno
Disponib. (sistema)VA:L
AltoBajoNinguno
Confid. (posterior)SC:N
AltoBajoNinguno
Integridad (posterior)SI:N
AltoBajoNinguno
Disponib. (posterior)SA:N
AltoBajoNinguno
Score de explotaciónQué tan fácil y probable es que la exploten
10.0/ 10Muy alto
Vector 10.0 (muy fácil) · sin evidencia de explotación.
Versiones

Rangos afectados

Afectada Corregida Última
pydantic≥ 1.9.0 ≤ 1.10.26
1.9.0
1.10.26
2.14.4
Remediación

Estado del parche por paquete

Paquete / productoEstadoCorregida enDesde divulgaciónÚltima versión
pypipydantic
Corregida 1.10.27 -22 d 2.14.4 no afectada
Versiones corregidas1.10.27
Explotación

Arsenal público

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

Referencias
Fabricantehttps://github.com/pydantic/pydantic/security/advisories/GHSA-49g6-96jj-f7r9
Otrahttps://github.com/pydantic/pydantic/blob/v1.10.26/pydantic/types.py#L612-L620
Otrahttps://github.com/pydantic/pydantic/commit/6ec75e57f277a820ec583e601167f25fe8dc7c87
Otrahttps://github.com/pydantic/pydantic/releases/tag/v2.14.2

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