> CVE-2026-108380 [HIGH]

« BACK_TO_HOME
PUBLISHED
2026-10-13 18:17
MODIFIED
2026-10-13 18:17
CVSS_SCORE V3
8.8
EPSS (Prob. Exploit)
0.45%
Top 62.4%
DATA SOURCES:
NVD đź”— 2026-10-13 FIRST EPSS đź”— 2026-10-18 OSV đź”— 2026-10-18

> DESCRIPTION

dataclasses-avroschema generates Avro schemas from Python dataclasses, Pydantic models, and Faust Records and generates Python code from Avro schemas. From version 0.65.9 through 0.70.5, PydanticFieldRepresentation.add_field_properties inserts a schema field's doc value between the quotes of a generated pydantic.Field description argument without escaping it. A crafted quote can terminate the string and inject an expression evaluated during generated class definition, allowing arbitrary Python code execution for Pydantic and AvroDantic model generation. Version 0.70.6 fixes the vulnerability by escaping the documentation value before rendering it.

> AFFECTED_PRODUCTS

ℹ️ Aucun produit affecté n'a encore été publié par NVD pour cette CVE.
Cette CVE est récente (5 days ago) - les informations détaillées peuvent prendre quelques jours.

> CVSS V3 METRICS

CVSS_VECTOR
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
EXPLOITABILITY
2.8
IMPACT
5.9

> MÉTRIQUES CVSS DÉTAILLÉES

CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Métrique Valeur Interprétation
AV (Vecteur d'Attaque)
Attack Vector
Network (N)
Exploit possible à distance via réseau (HTTP, API, etc.)
AC (Complexité d'Attaque)
Attack Complexity
Low (L)
Peu de conditions requises pour exploiter
PR (Privilèges Requis)
Privileges Required
None (N)
Aucune authentification requise
UI (Interaction Utilisateur)
User Interaction
Required (R)
Nécessite une action utilisateur (clic lien, ouverture fichier, etc.)
S (Périmètre)
Scope
Unchanged (U)
Impact reste dans le périmètre du composant compromis
C (Impact Confidentialité)
Confidentiality Impact
High (H)
Divulgation totale d'informations
I (Impact Intégrité)
Integrity Impact
High (H)
Modification totale des données possible
A (Impact Disponibilité)
Availability Impact
High (H)
Interruption totale du service possible

> RÉSUMÉ DES IMPACTS

Confidentialité
High
Divulgation totale d'informations
Intégrité
High
Modification totale des données possible
Disponibilité
High
Interruption totale du service possible

> WEAKNESSES

CWE-94

> OSV (GOOGLE OPEN SOURCE VULNERABILITIES)

dataclasses-avroschema field documentation allows code injection in generated Pydantic descriptions

AFFECTED PACKAGES:
Unknown / Unknown
22 versions affected
ALIASES:
GHSA-g7p7-mgvm-jw7p

> HISTORIQUE DES MODIFICATIONS

Première apparition
13/10/2026 18:17
Source: NVD
Total des modifications: 0 Dernière mise à jour: 5 days ago

> REFERENCES

https://github.com/marcosschroh/dataclasses-avroschema/commit/429f3d705d2d04c0c6...
https://github.com/marcosschroh/dataclasses-avroschema/pull/843
https://github.com/marcosschroh/dataclasses-avroschema/releases/tag/0.70.6
https://github.com/marcosschroh/dataclasses-avroschema/security/advisories/GHSA-...
« BACK_TO_HOME