PT-2026-111787
CVE-2026-108378
·
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.40.0 through 0.70.5
Description
The
ClassRepresentation.render docstring() function fails to escape quotes or backslashes when copying a schema record's doc value into a generated triple-double-quoted class docstring. An attacker can use a crafted triple-quote sequence to close the docstring and inject statements into the generated class body. Additionally, a trailing backslash can escape the closing delimiter, which may lead to arbitrary Python code execution during module import.Recommendations
Update to version 0.70.6.
Found an issue in the description? Have something to add? Feel free to write us 👾