PT-2026-111792 · Git+1 · Dataclasses-Avroschema

CVE-2026-108383

·

Published

2026-10-13

·

Updated

2026-10-13

CVSS v3.1

8.8

High

VectorAV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Name of the Vulnerable Software and Affected Versions dataclasses-avroschema versions 0.38.0 through 0.70.5
Description The software generates Avro schemas from Python dataclasses, Pydantic models, and Faust Records, and also generates Python code from Avro schemas. The get field default() function within FieldRepresentation renders a schema-controlled enum field default as an enum member reference after case conversion without validating it as an identifier. This allows newlines, operators, and punctuation to escape the intended reference and inject constrained statements into the generated module, which can lead to namespace modification or prevent the module from loading.
Recommendations Update dataclasses-avroschema to version 0.70.6.

Exploit

Fix

Code Injection

Found an issue in the description? Have something to add? Feel free to write us 👾

Weakness Enumeration

Related Identifiers

CVE-2026-108383
GHSA-4XXF-MV22-HCR8

Affected Products

Dataclasses-Avroschema