RCE in Marcosschroh Dataclasses-Avroschema
CVE-2026-108385
dataclasses-avroschema generates Avro schemas from Python dataclasses, Pydantic models, and Faust Records and generates Python code from Avro schemas. From version 0.38.0 through 0.70.5, BaseGenerator.parse_enum and EnumRepresentation.render_symbols use each schema-controlled enum symbol as a generated enum member name after case conversion but without validating it as an identifier. When generator classes are used directly, newlines and punctuation can inject constrained statements into the generated enum class body, allowing namespace modification or preventing the module from loading. Version 0.70.6 fixes the vulnerability by validating every enum symbol as a name.
Vulnerability class: RCE (Remote Code Execution)
Published · last modified .
CVSS v3 metric
CVSS v3 base score 8.8 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H.
EPSS exploit prediction
No EPSS score from FIRST.org yet. New CVEs usually get one within a few days; no score means no signal yet, not low risk. How EPSS works.
Affected products
- Marcosschroh Dataclasses-Avroschema — versions >= 0.38.0, < 0.70.6
Weakness classification (CWE)
References
Frequently asked questions
- What is CVE-2026-108385?
- CVE-2026-108385 is a high-severity vulnerability in Marcosschroh Dataclasses-Avroschema, classified under Code Injection. CVSS score: 8.8/10. Published 2026-10-13.
- How severe is CVE-2026-108385?
- High severity. CVSS v3 base score is 8.8 out of 10.