{"id":"CVE-2026-108384","published":"2026-10-13T18:17:17.750","lastModified":"2026-10-16T20:04:29.760","description":"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.","cvssScore":8.8,"cvssSeverity":"HIGH","cvssVector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","cwes":["CWE-94"],"vendors":[],"products":[],"references":[{"url":"https://github.com/marcosschroh/dataclasses-avroschema/commit/429f3d705d2d04c0c65e2ef832daed5ff91318fc","tags":[]},{"url":"https://github.com/marcosschroh/dataclasses-avroschema/releases/tag/0.70.6","tags":[]},{"url":"https://github.com/marcosschroh/dataclasses-avroschema/security/advisories/GHSA-8j5c-xq6f-2c43","tags":[]}],"exploitRefs":[{"url":"https://github.com/marcosschroh/dataclasses-avroschema/commit/429f3d705d2d04c0c65e2ef832daed5ff91318fc","tags":[]},{"url":"https://github.com/marcosschroh/dataclasses-avroschema/releases/tag/0.70.6","tags":[]},{"url":"https://github.com/marcosschroh/dataclasses-avroschema/security/advisories/GHSA-8j5c-xq6f-2c43","tags":[]}],"hasPoc":true,"ai":{"summary":"The vulnerability allows arbitrary code execution during schema parsing when processing fixed type aliases in dataclasses-avroschema. An attacker can craft a malicious schema that executes arbitrary Python code upon import of the generated module.","exploitability":"Exploitation is moderately difficult as it requires an attacker to control a schema definition that gets processed by the vulnerable library, typically involving a user-supplied or untrusted schema that gets parsed and generates executable Python code.","blast_radius":"The impact could be significant in environments where schemas are imported from untrusted sources, potentially leading to full system compromise through code execution in the context of the importing process.","remediation":"Upgrade to version 0.70.6 or later to fix the vulnerability in BaseGenerator.parse_fixed.","detection":"No reliable host or network indicator is derivable from the published description.","tags":["rce","deserialization","schema"],"model":"garnet-coder","analyzedAt":"2026-10-17T08:51:01.144Z"}}