PT-2026-111791
CVE-2026-108382
·
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.38.0 through 0.70.5
Description
The
EnumRepresentation.render symbols() function concatenates schema-controlled enum symbols between double quotes during the generation of enum assignments. When generator classes are used directly, a quote character can terminate the string literal, allowing the injection of arbitrary Python code into the enum class body. This injected code executes automatically when the generated module is imported.Recommendations
Update to version 0.70.6.
Found an issue in the description? Have something to add? Feel free to write us 👾