{"id":"CVE-2026-108384","published":"2026-10-13T17:53:48Z","modified":"2026-10-13T20:21:19Z","title":"dataclasses-avroschema allows code injection through fixed-type aliases supplied as a bare string","vendor":"marcosschroh","product":"dataclasses-avroschema","tier":"tail","description":{"text":"dataclasses-avroschema generates Avro schemas from Python dataclasses, Pydantic models, and Faust Records and generates Python code from Avro schemas. From version 0.38.0 through 0.70.5, BaseGenerator.parse_fixed interpolates a fixed type's aliases value directly into a generated types.confixed annotation. A list is represented with quoted entries, but a bare string is emitted as an unquoted Python expression and evaluated when the generated module is imported, allowing arbitrary code execution from a crafted schema. Version 0.70.6 fixes the vulnerability by rejecting aliases values that are not lists.","provenance":"source","from":"CVE.org"},"cvss":{"score":8.8,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00644,"percentile":0.45444,"provenance":"source"},"cwes":[{"id":"CWE-94","name":"Improper Control of Generation of Code"}],"references":[{"url":"https://github.com/marcosschroh/dataclasses-avroschema/security/advisories/GHSA-8j5c-xq6f-2c43","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/marcosschroh/dataclasses-avroschema/commit/429f3d705d2d04c0c65e2ef832daed5ff91318fc","tags":["x_refsource_MISC"]},{"url":"https://github.com/marcosschroh/dataclasses-avroschema/releases/tag/0.70.6","tags":["x_refsource_MISC"]}],"priority":{"score":15.2,"factors":[{"name":"EPSS percentile","points":9.09},{"name":"CVSS severity","points":6.16}]},"vendorSlug":"marcosschroh","affectedVersions":[{"vendor":"marcosschroh","product":"dataclasses-avroschema","versions":[">= 0.38.0, < 0.70.6"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"total","timestamp":"2026-10-13T20:14:08.820272Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2026-98981","exploited":false,"provenance":"source"}}