Analysis and contextual insights are available on OpenCVE Cloud.
No vendor fix or workaround currently provided.
Additional remediation guidance may be available on OpenCVE Cloud.
Tracking
Sign in to view the affected projects.
No advisories yet.
Tue, 13 Oct 2026 18:00:00 +0000
| Type | Values Removed | Values Added |
|---|---|---|
| Description | dataclasses-avroschema generates Avro schemas from Python dataclasses, Pydantic models, and Faust Records and generates Python code from Avro schemas. From version 0.44.0 through 0.70.5, the Pydantic and AvroDantic model generators insert a schema field's pydantic-class value after pydantic. in a generated field annotation without safely restricting the expression. Because annotations are evaluated when the generated module is imported, a crafted value can execute arbitrary Python code. Version 0.70.6 fixes the vulnerability by restricting the value to a bare name or a call to a bare name with literal arguments. | |
| Title | dataclasses-avroschema pydantic-class metadata allows code injection in generated annotations | |
| Weaknesses | CWE-94 | |
| References |
|
|
| Metrics |
cvssV3_1
|
Subscriptions
No data.
Status: PUBLISHED
Assigner: GitHub_M
Published:
Updated: 2026-10-13T17:43:11.422Z
Reserved: 2026-10-09T21:36:27.043Z
Link: CVE-2026-108381
No data.
Status : Received
Published: 2026-10-13T18:17:17.310
Modified: 2026-10-13T18:17:17.310
Link: CVE-2026-108381
No data.
OpenCVE Enrichment
Updated: 2026-10-13T20:00:16Z
-
CWE-94
Improper Control of Generation of Code ('Code Injection')