CVE-2026-108375
8.8HighPublished Oct 13, 2026 · NVD status: Awaiting Analysis · AI triage by gemini-3.8-flash
High
0CVSS v3.110
- Attack vector
- Network
- Complexity
- Low
- Privileges
- None
- User action
- Required
- Impact
- Full C/I/A compromise
- Weakness
- CWE-94
What an attacker gets
Attackers can achieve arbitrary code execution when your application imports generated Python source code. They need you to process or generate code from a maliciously crafted Avro schema containing poisoned field defaults.
Root cause
FieldRepresentation.get_field_default inserts schema default values into generated Python code without escaping, allowing literal escapes and code injection.
Affected versions
dataclasses-avroschema 0.38.0 through 0.70.5
CVSS v3.1 · CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Fix & remediation
Upgrade dataclasses-avroschema to version 0.70.6 or higher. If upgrading must wait, do not generate code from untrusted Avro schemas or do not import the generated Python modules.
$ pip install --upgrade 'dataclasses-avroschema>=0.70.6'AI-suggested. Run it in staging first and check it against the vendor advisory. Why?
NVD 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, FieldRepresentation.get_field_default inserts schema-controlled string, UUID, bytes, and fixed field defaults into quoted literals in generated Python source without escaping them. A crafted default can terminate the literal and inject statements into the generated module, which execute when the module is imported. Version 0.70.6 fixes the vulnerability by escaping schema values rendered into generated string literals.
References
- https://github.com/marcosschroh/dataclasses-avroschema/commit/01e6d5e15ab0ff69faac39a340d21b85da1e852f
- https://github.com/marcosschroh/dataclasses-avroschema/releases/tag/0.70.6
- https://github.com/marcosschroh/dataclasses-avroschema/security/advisories/GHSA-9h8h-264x-jcg2
- https://github.com/marcosschroh/dataclasses-avroschema/security/advisories/GHSA-9h8h-264x-jcg2
Related Critical / High CVEs
More fully triaged vulnerabilities you may want to check next.
- CVE-2026-8525910.0CriticalUnauthenticated attackers can execute arbitrary commands or read sensitive files on your runners. This occurs by injecting malicious input into GitHub issues processed by the automated triage workflow.
- CVE-2026-590418.4HighLocal attackers can escalate privileges to the system level without user interaction. This is a confused deputy vulnerability in the Android GrammaticalInflectionService.
- CVE-2026-590368.4HighLocal attackers can escalate privileges to gain full system access. No user interaction or existing permissions are required to exploit this.
- CVE-2026-590307.4HighLocal attackers can escalate privileges to gain full control over the system. This requires no user interaction or existing privileges, though it relies on winning a race condition.
- CVE-2026-1415118.7HighUnauthenticated remote attackers can crash the MQTT broker by sending a malformed SUBSCRIBE packet. This leads to a denial of service via out-of-bounds memory access.
- CVE-2026-1414728.7HighRemote unauthenticated attackers can crash the Mongoose web server process by sending a malformed TLS ClientHello packet. This causes a heap out-of-bounds read that terminates the service.