PT-2026-111786
CVE-2026-108377
·
Published
2026-10-13
·
Updated
2026-10-13
Description by
CVSS 3.1
8.8
HighMetricsAV: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.62.3 through 0.70.5
Description
The
ClassRepresentation.render metaclass() function inserts a schema-controlled Avro record name into the Meta.schema name field of generated Python source code without proper escaping. This allows a crafted name to terminate the string literal and inject arbitrary statements into the generated class body, which are then executed when the generated module is imported.Recommendations
Update dataclasses-avroschema to version 0.70.6.
Found an issue in the description? Have something to add? Feel free to write us 👾