CVE-2026-108380
Last modified
CVE-2026-108380 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.65.9 through 0.70.5, PydanticFieldRepresentation.add_field_properties inserts a schema field's doc value between the quotes of a generated pydantic.Field description argument without escaping it. EPSS estimates a 0.45% 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.65.9 through 0.70.5, PydanticFieldRepresentation.add_field_properties inserts a schema field's doc value between the quotes of a generated pydantic.Field description argument without escaping it. A crafted quote can terminate the string and inject an expression evaluated during generated class definition, allowing arbitrary Python code execution for Pydantic and AvroDantic model generation. Version 0.70.6 fixes the vulnerability by escaping the documentation value before rendering it.
Metrics
Weakness Enumeration
Affected Software
Source: CNA advisory (CVE.org). NVD analysis pending.
| Vendor | Product | Versions |
|---|---|---|
| marcosschroh | dataclasses-avroschema | >= 0.65.9, < 0.70.6 |
References
Timeline
- Published
- Last Modified
- Status
- Deferred
Frequently Asked Questions
What is CVE-2026-108380?
How severe is CVE-2026-108380?
How do I fix CVE-2026-108380?
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-108374ERPNext is a free and open source Enterprise Resource Planni…7.7
- 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-108381dataclasses-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
Are you affected by CVE-2026-108380?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
