Skip to main content
VulnerabilityPublished Updated

CVE-2026-108376: marcosschroh dataclasses-avroschema · Code Injection

Affects marcosschroh dataclasses-avroschemaSource CVE Database V5

0
Compare

Not known to be exploited · CVSS 8.8 High : upgrade to 0.70.6 soon.

Data as of 26 Nov 2026, 14:58 UTC

CVSS 3.1 base score
8.8High
How severe the flaw is on the 0–10 CVSS scale.
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:H

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 13 Oct 2026

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq 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

ProductAffectedFixed in
marcosschrohdataclasses-avroschemaAffected
  • >=0.47.3 <0.70.6
Fixed in
  • 0.70.6
PyPIdataclasses-avroschemapkg:pypi/dataclasses-avroschemaOther threatsAffected
  • >=0.47.3 <0.70.6
Fixed in
  • 0.70.6

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

AI-suggested

A fix is available in dataclasses-avroschema version 0.70.6, which enforces validation of record names against the Avro name grammar to prevent code injection. Users should upgrade to version 0.70.6 or later to remediate this vulnerability. No additional mitigation is indicated by the vendor advisory.

Description

A code injection vulnerability exists in dataclasses-avroschema versions 0.47.3 through 0.70.5. The issue arises because the FieldRepresentation.get_field_default method inserts a schema-controlled record name into a generated default_factory lambda without validating it as a proper Avro name. This allows a crafted record name to be interpreted as arbitrary Python code, which executes when an instance of the generated model uses the field default. The vulnerability is fixed in version 0.70.6 by enforcing Avro name grammar validation on record names.

References

Community reviews

Loading reviews…