CVE-2026-108384 HIGH

CVE-2026-108384: dataclasses-avroschema allows code injection through fixed-type aliases supplied as a bare string

Vendor Marcosschroh
Product dataclasses-avroschema
Weakness CWE-94 · Code injection
Published October 13, 2026
Last update October 13, 2026

CVSS base score

8.8/10
Attack vector Network
Attack complexity Low
Privileges required None
User interaction Required
Confidentiality High
Integrity High

CVSS vector

CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

What the vulnerability does

01Description

dataclasses-avroschema generates Avro schemas from Python dataclasses, Pydantic models, and Faust Records and generates Python code from Avro schemas. From version 0.38.0 through 0.70.5, BaseGenerator.parse_fixed interpolates a fixed type's aliases value directly into a generated types.confixed annotation. A list is represented with quoted entries, but a bare string is emitted as an unquoted Python expression and evaluated when the generated module is imported, allowing arbitrary code execution from a crafted schema. Version 0.70.6 fixes the vulnerability by rejecting aliases values that are not lists.

Key dates

02Disclosure timeline

October 13, 2026 CVE published

Related vulnerabilities

04Related CVE