CVE-2026-108376

Source
https://cve.org/CVERecord?id=CVE-2026-108376
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-108376.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-108376
Aliases
  • GHSA-jcjg-gjg5-xp7v
Published
2026-10-13T17:17:07Z
Modified
2026-10-14T02:46:46Z
Severity
  • 8.8 (High) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H CVSS Calculator
Summary
dataclasses-avroschema allows code injection through record names in generated default factories
Details

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.

Database specific
{
    "cna_assigner":  "GitHub_M",
    "cwe_ids":  [
        "CWE-94"
    ],
    "osv_generated_from":  "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/108xxx/CVE-2026-108376.json"
}
References

Affected packages

Git / github.com/marcosschroh/dataclasses-avroschema

Affected ranges

Type
GIT
Repo
https://github.com/marcosschroh/dataclasses-avroschema
Events
Database specific
Show details
{
    "extracted_events":  [
        {
            "introduced":  "0.47.3"
        },
        {
            "fixed":  "0.70.6"
        }
    ],
    "source":  "AFFECTED_FIELD"
}

Affected versions

0.*
0.47.3
0.48.0
0.48.1
0.49.0
0.50.0
0.50.1
0.50.2
0.51.0
0.52.0
0.52.1
0.53.0
0.53.1
0.54.0
0.54.1
0.54.2
0.55.0
0.55.1
0.56.0
0.56.1
0.56.2
0.57.0
0.57.1
0.57.2
0.57.3
0.57.4
0.57.5
0.58.0
0.58.1
0.58.2
0.59.0
0.59.1
0.60.0
0.60.1
0.60.2
0.61.0
0.62.0
0.62.1
0.62.10
0.62.11
0.62.2
0.62.3
0.62.4
0.62.5
0.62.6
0.62.7
0.62.8
0.62.9
0.63.0
0.63.1
0.63.10
0.63.2
0.63.3
0.63.4
0.63.5
0.63.6
0.63.7
0.63.8
0.63.9
0.64.0
0.64.1
0.64.2
0.65.0
0.65.1
0.65.10
0.65.11
0.65.12
0.65.13
0.65.14
0.65.2
0.65.3
0.65.4
0.65.5
0.65.6
0.65.7
0.65.8
0.65.9
0.66.0
0.66.1
0.66.2
0.66.3
0.66.4
0.67.0
0.68.0
0.68.1
0.69.0
0.69.1
0.70.0
0.70.1
0.70.2
0.70.3
0.70.4
0.70.5

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-108376.json"