ZeroDay Brief
Happy holidays from ZeroDay Brief!
CVE-2026-108382

When generator classes are used directly, a quote can terminate the string literal and inject arbitrary Python code into the enum class body, which executes when the generated module is imported.

CVSS
8.8High
Chance of exploitation (EPSS)
0.37%
Published
Oct 13, 2026
In the news
Not yet
More from this vendor

What to do

A serious code injection flaw in Marcosschroh Dataclasses-avroschema that can be attacked over the network without logging in, if someone is tricked into an action. No attacks are reported yet; it can go in your normal patch cycle.

Action: Check the vendor's advisory in the references and apply updates as soon as they are available.

Affected versions
Marcosschroh Dataclasses-avroschema
>= 0.38.0, < 0.70.6

Description

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, EnumRepresentation.render_symbols concatenates each schema-controlled enum symbol between double quotes in a generated enum assignment. When generator classes are used directly, a quote can terminate the string literal and inject arbitrary Python code into the enum class body, which executes when the generated module is imported. Version 0.70.6 fixes the vulnerability by escaping enum symbol values before rendering them.

CWE-94

Affected products

Get alerts for these →

Timeline 1

Latest change: CVE-2026-108382 published (CVSS 8.8) (Oct 13, 2026)

News, advisories, exploit code, scanner detection and exploitation, newest first.

Tue, Oct 13, 2026

  1. CVECVE-2026-108382 published (CVSS 8.8)CVE Program · 18:17 UTC

References 4

  • github.com /marcosschroh/dataclasses-avroschema/commit/429f3d705d2d04c0c65e2ef832daed5ff91318fc
  • github.com /marcosschroh/dataclasses-avroschema/releases/tag/0.70.6
  • github.com /marcosschroh/dataclasses-avroschema/security/advisories/GHSA-vrq9-94ww-jv3c
  • github.com /marcosschroh/dataclasses-avroschema/security/advisories/GHSA-vrq9-94ww-jv3c

You are leaving ZeroDay Brief

This link goes to exploit code on a third-party site. We find these links automatically and do not test, review or vouch for them. They may contain malware or fake exploits.

We are not responsible for anything that happens if you open the page or run its code. Never run exploit code on systems you care about.

↑ ↓ moveEnter openEsc closeTry “CVE-2026”, “fortinet” or “ivanti”