CVE-2026-108376
Last modified
CVE-2026-108376 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.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. EPSS estimates a 0.37% 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.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.
Metrics
Weakness Enumeration
Affected Software
Source: CNA advisory (CVE.org). NVD analysis pending.
| Vendor | Product | Versions |
|---|---|---|
| marcosschroh | dataclasses-avroschema | >= 0.47.3, < 0.70.6 |
References
Timeline
- Published
- Last Modified
- Status
- Awaiting Analysis
Frequently Asked Questions
What is CVE-2026-108376?
How severe is CVE-2026-108376?
How do I fix CVE-2026-108376?
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-108362Privasys Remote Attestation TLS Clients provides multi-langu…9.1
- CVE-2026-10837Open redirection vulnerability due to insufficient validatio…5.1
- CVE-2026-108372Open and provider-neutral, LoopX is a lightweight state kern…7.1
- CVE-2026-108373ERPNext is a free and open source Enterprise Resource Planni…6.5
- 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-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-108381dataclasses-avroschema generates Avro schemas from Python da…8.8
- CVE-2026-108382dataclasses-avroschema generates Avro schemas from Python da…8.8
Are you affected by CVE-2026-108376?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
