← Back to search

CVE-2026-108376

8.8 HIGHpublic exploit available

Published 2026-10-13 · Updated 2026-10-16

AI risk analysis

Summary
A Python library vulnerability allows attackers to inject arbitrary Python code through crafted Avro record names in default factory lambdas, leading to remote code execution when models are instantiated.
Exploitability
Exploitation requires a maliciously crafted Avro schema with a record name that becomes executable Python code in a lambda expression, but is relatively straightforward when applications use this library to process untrusted Avro data.
Blast radius
The vulnerability could affect any application using dataclasses-avroschema to process untrusted Avro schemas, potentially leading to widespread remote code execution across services that consume such data.
Detection
No reliable host or network indicator is derivable from the published description.
Prioritized remediation
Upgrade to version 0.70.6 or later to fix the Avro name validation issue in FieldRepresentation.get_field_default.
rcedeserializationpythonavro

Analysis generated locally by garnet-coder (no data left the box). AI-assisted — verify against primary sources before acting.

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.47.3 through 0.70.5, FieldRepresentation.get_field_default inserts a schema-controlled referenced record name into the callable position of a generated default_factory lambda without validating it as an Avro name. A crafted record name can become an arbitrary Python expression that executes when an instance of the generated model consumes the field default. Version 0.70.6 fixes the vulnerability by rejecting record names that do not match the Avro name grammar.

CVSS vector

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

Weaknesses

CWE-94

Public exploit & PoC references

All references

Source data: NVD (nvd.nist.gov), public domain. Exploit-DB.ai adds local AI analysis for defensive use only.

Related CVEs

Related by shared AI tags and CWE weakness class. Browse the full archive.