CVE-2026-108377: marcosschroh dataclasses-avroschema · Code Injection
Affects marcosschroh dataclasses-avroschemaSource CVE Database V5
Not known to be exploited · CVSS 8.8 High : upgrade to 0.70.6 soon.
Data as of 26 Nov 2026, 14:58 UTC
- EPSS
- 0.5% chance of exploitation in 30 days – higher than 40% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
- Patch
- Available – fixed in 0.70.6
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:HExploitation evidence
Disclosed: evidence found.
CVE published 13 Oct 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 26 Nov 2026.
What to do
Upgrade marcosschroh dataclasses-avroschema to 0.70.6.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| marcosschrohdataclasses-avroschema | Affected
| Fixed in
|
PyPIdataclasses-avroschemapkg:pypi/dataclasses-avroschemaOther threats | Affected
| Fixed in
|
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
Upgrade to dataclasses-avroschema version 0.70.6 or later, which includes a fix that escapes schema values in generated string literals to prevent code injection.
Description
dataclasses-avroschema generates Avro schemas from Python dataclasses, Pydantic models, and Faust Records and generates Python code from Avro schemas. From version 0.62.3 through 0.70.5, ClassRepresentation.render_metaclass inserts a schema-controlled Avro record name into the quoted Meta.schema_name field of generated Python source without escaping it. A crafted name can terminate the string literal and inject statements into the generated class body, which execute when the generated module is imported. Version 0.70.6 fixes the vulnerability by escaping schema values rendered into generated string literals.
References
- github.com/marcosschroh/dataclasses-avroschema/security/advisories/GHSA-57hr-pcm8-p9j9 (opens in a new tab)
- github.com/marcosschroh/dataclasses-avroschema/commit/429f3d705d2d04c0c65e2ef832daed5ff91318fc (opens in a new tab)
- github.com/marcosschroh/dataclasses-avroschema/commit/919d3e07c8938369cfc2c0569007ba373247e74a (opens in a new tab)
- github.com/marcosschroh/dataclasses-avroschema/releases/tag/0.70.6 (opens in a new tab)