CVE-2026-108381
Last modified
CVE-2026-108381 is a high-severity vulnerability rated 8.8/10 on the CVSS scale. 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. EPSS estimates a 0.30% chance of exploitation in the next 30 days.
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.
Metrics
Weakness Enumeration
Affected Software
Source: CNA advisory (CVE.org). NVD analysis pending.
| Vendor | Product | Versions |
|---|---|---|
| marcosschroh | dataclasses-avroschema | >= 0.44.0, < 0.70.6 |
References
Timeline
- Published
- Last Modified
- Status
- Awaiting Analysis
Frequently Asked Questions
What is CVE-2026-108381?
How severe is CVE-2026-108381?
How do I fix CVE-2026-108381?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2026
- CVE-2026-108375dataclasses-avroschema generates Avro schemas from Python da…8.8
- CVE-2026-108376dataclasses-avroschema generates Avro schemas from Python da…8.8
- CVE-2026-108377dataclasses-avroschema generates Avro schemas from Python da…8.8
- CVE-2026-108378dataclasses-avroschema generates Avro schemas from Python da…8.8
- CVE-2026-108379dataclasses-avroschema generates Avro schemas from Python da…8.8
- CVE-2026-108380dataclasses-avroschema generates Avro schemas from Python da…8.8
- CVE-2026-108382dataclasses-avroschema generates Avro schemas from Python da…8.8
- CVE-2026-108383dataclasses-avroschema generates Avro schemas from Python da…8.8
- CVE-2026-108384dataclasses-avroschema generates Avro schemas from Python da…8.8
- CVE-2026-108385dataclasses-avroschema generates Avro schemas from Python da…8.8
- CVE-2026-108388Indico is a feature-rich event management system. Indico 3.3…3.5
- CVE-2026-10839Open redirection vulnerability in the authentication system …5.1
Are you affected by CVE-2026-108381?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
