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

A crafted name can terminate the string literal and inject statements into the generated class body, which execute when the generated module is imported.

CVSS
8.8High
Chance of exploitation (EPSS)
0.38%
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.62.3, < 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.62.3 through 0.70.5, ClassRepresentation.render_metaclass inserts a schema-controlled Avro record name into the quoted Meta.schema_name field of generated Python source without escaping it. A crafted name can terminate the string literal and inject statements into the generated class body, which execute when the generated module is imported. Version 0.70.6 fixes the vulnerability by escaping schema values rendered into generated string literals.

CWE-94

Affected products

Get alerts for these →

Timeline 1

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

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

Tue, Oct 13, 2026

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

References 5

  • github.com /marcosschroh/dataclasses-avroschema/commit/429f3d705d2d04c0c65e2ef832daed5ff91318fc
  • github.com /marcosschroh/dataclasses-avroschema/commit/919d3e07c8938369cfc2c0569007ba373247e74a
  • github.com /marcosschroh/dataclasses-avroschema/releases/tag/0.70.6
  • github.com /marcosschroh/dataclasses-avroschema/security/advisories/GHSA-57hr-pcm8-p9j9
  • github.com /marcosschroh/dataclasses-avroschema/security/advisories/GHSA-57hr-pcm8-p9j9

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”