CVE-2026-108375: 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 27 Nov 2026, 22:51 UTC
- EPSS
- 0.5% chance of exploitation in 30 days – higher than 38% 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 28 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 dataclasses-avroschema to version 0.70.6 or later, where the vulnerability is fixed by escaping schema values in generated string literals. No other mitigations are specified or recommended. Users should apply this official fix to prevent code injection via crafted schema defaults.
Description
A code injection vulnerability (CWE-94) exists in dataclasses-avroschema versions 0.38.0 through 0.70.5. The vulnerability arises because FieldRepresentation.get_field_default inserts certain schema-controlled default values into generated Python source code without proper escaping. This allows crafted defaults to break out of string literals and inject arbitrary code that executes when the generated module is imported. The issue is fixed in version 0.70.6 by escaping schema values in generated string literals.
References
- github.com/marcosschroh/dataclasses-avroschema/security/advisories/GHSA-9h8h-264x-jcg2 (opens in a new tab)
- github.com/marcosschroh/dataclasses-avroschema/commit/01e6d5e15ab0ff69faac39a340d21b85da1e852f (opens in a new tab)
- github.com/marcosschroh/dataclasses-avroschema/releases/tag/0.70.6 (opens in a new tab)