Marcosschroh dataclasses-avroschema
dataclasses-avroschema allows code injection through record names in generated default factories
dataclasses-avroschema generates Avro schemas from Python dataclasses, Pydantic models, and Faust Records and generates Python code from Avro schemas. From version 0.47.3 through 0.70.5, FieldRepresentation.get_field_default inserts a schema-controlled referenced record name into the callable position of a generated default_factory lambda without validating it as an Avro name. A crafted record name can become an arbitrary Python expression that executes when an instance of the generated model consumes the field default. Version 0.70.6 fixes the vulnerability by rejecting record names that do not match the Avro name grammar.
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
- >= 0.47.3, < 0.70.6
Fixed in 0.70.6
Mitigation
Upgrade dataclasses-avroschema to 0.70.6 or later.
References
- Vendor advisory github.com/marcosschroh/dataclasses-avroschema…
- Patch github.com/marcosschroh/dataclasses-avroschema…
- Release notes github.com/marcosschroh/dataclasses-avroschema…
Timeline
Days relative to CVE publicationNo public PoC found yet; not in CISA KEV.
PoC repositories
Found on GitHub.No PoC repositories found yet.
Other public exploits
Exploit-DB, Metasploit and nuclei count as public PoCs. Exploit-tagged references from the CVE record and NVD are links only. None of these are analysed by us.| Source | Title | Published | Found by us |
|---|---|---|---|
| CVE record (tagged exploit) | https://hackmd.io/@1ExmmukzRMWN7B4gQ4W-4Q/cve-2026-110113-publiccms-trade-address-save-cross-user-overwrite | unknown | 14 Nov 2026 |