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.
References
Configurations
No configuration.
History
16 Oct 2026, 23:16
| Type | Values Removed | Values Added |
|---|---|---|
| References |
|
13 Oct 2026, 18:17
| Type | Values Removed | Values Added |
|---|---|---|
| New CVE |
Information
Published : 2026-10-13 18:17
Updated : 2026-10-16 23:16
NVD link : CVE-2026-108376
Mitre link : CVE-2026-108376
CVE.ORG link : CVE-2026-108376
JSON object : View
Products Affected
No product.
CWE
CWE-94
Improper Control of Generation of Code ('Code Injection')
