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

CVE-2026-108382

·

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 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.

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-108382
GHSA-VRQ9-94WW-JV3C

Affected Products

Dataclasses-Avroschema