{"id":"CVE-2026-108384","aliases":["CVE-2026-108384"],"related":[],"kind":"vulnerability","state":"published","title":"dataclasses-avroschema allows code injection through fixed-type aliases supplied as a bare string","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","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.","source":"cvelist"}],"published":"2026-10-13T17:53:48.228Z","modified":"2026-10-16T20:04:29.760Z","severity":{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","score":8.8,"rating":"HIGH"},"severities":[{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","score":8.8,"rating":"HIGH"}],"cwes":["CWE-94"],"affected":[{"ranges":[{"version":">= 0.38.0, < 0.70.6","status":"affected"}],"vendor":"marcosschroh","product":"dataclasses-avroschema","source":"cvelist"}],"references":[{"url":"https://github.com/marcosschroh/dataclasses-avroschema/security/advisories/GHSA-8j5c-xq6f-2c43","tags":["x-refsource-confirm"],"sources":["cvelist","nvd"]},{"url":"https://github.com/marcosschroh/dataclasses-avroschema/commit/429f3d705d2d04c0c65e2ef832daed5ff91318fc","tags":["x-refsource-misc"],"sources":["cvelist","nvd"]},{"url":"https://github.com/marcosschroh/dataclasses-avroschema/releases/tag/0.70.6","tags":["x-refsource-misc"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"GitHub_M","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"total","date":"2026-10-13T20:14:08.820Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-108384","url":"https://www.cve.org/CVERecord?id=CVE-2026-108384","licence":"CVE Terms of Use","modified":"2026-10-13T20:21:19.992Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-108384","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-108384","licence":"Public domain","modified":"2026-10-16T20:04:29.760Z"}],"updatedAt":"2026-11-25T22:59:43.881Z","epss":{"score":0.00343,"percentile":0.29809,"date":"2026-12-01T12:00:22.000Z"}}