10 matches found
CVE-2026-108384
The dataclasses-avroschema library (versions 0.38.0 through 0.70.5 ) contains a code injection vulnerability in the BaseGenerator.parse_fixed function. The root cause is the direct interpolation of a fixed type's aliases value into a generated types.confixed annotation. While lists are correctly ...
CVE-2026-108384 dataclasses-avroschema allows code injection through fixed-type aliases supplied as a bare string
dataclasses-avroschema generates Avro schemas from Python dataclasses, Pydantic models, and Faust Records and generates Python code from Avro schemas. From version 0.38.0 through 0.70.5, BaseGenerator.parsefixed interpolates a fixed type's aliases value directly into a generated types.confixed...
CVE-2026-108382
The dataclasses-avroschema library (versions 0.38.0 through 0.70.5 ) is vulnerable to code injection due to how it handles enum symbols. The EnumRepresentation.render_symbols function concatenates schema-controlled enum symbols between double quotes in generated Python code. If a quote is include...
CVE-2026-108381
The dataclasses-avroschema library (versions 0.44.0 through 0.70.5 ) is vulnerable to code injection within its Pydantic and AvroDantic model generators. The vulnerability occurs because the library inserts a schema field's pydantic-class value into a generated field annotation without safely res...
CVE-2026-108380
The dataclasses-avroschema library (versions 0.65.9 through 0.70.5 ) is vulnerable to code injection via the PydanticFieldRepresentation.add_field_properties function. The root cause is the failure to escape a schema field's doc value when inserting it into a generated pydantic.Field description ...
CVE-2026-108379
The dataclasses-avroschema library (versions 0.38.0 through 0.70.5 ) contains a code injection vulnerability. The BaseGenerator.parse_fixed function fails to escape or validate a fixed type's namespace value when generating Python code from Avro schemas. An attacker can provide a crafted quote to...
CVE-2026-108378
The dataclasses-avroschema library (versions 0.40.0 through 0.70.5 ) is vulnerable to code injection via the ClassRepresentation.render_docstring function. The root cause is the failure to escape quotes, backslashes, or unsafe control characters when copying a schema record's doc value into a gen...
CVE-2026-108377
The dataclasses-avroschema library (versions 0.62.3 through 0.70.5 ) is vulnerable to code injection due to improper handling of schema-controlled record names. Specifically, the ClassRepresentation.render_metaclass function inserts these names into the Meta.schema_name field of generated Python ...
CVE-2026-108376
The dataclasses-avroschema library versions 0.47.3 through 0.70.5 are vulnerable to code injection due to improper validation in the FieldRepresentation.get_field_default function. The library fails to validate schema-controlled referenced record names, allowing a crafted name to be inserted into...
CVE-2026-108375
The dataclasses-avroschema library (versions 0.38.0 through 0.70.5 ) is vulnerable to code injection when generating Python code from Avro schemas. The root cause lies in how the library handles field defaults and fixed types: FieldRepresentation.get_field_default fails to escape schema-controlle...