CVE Feed

    Dashboard / CVE / CVE-2026-54655

    CVE-2026-54655

    datamodel-code-generator generates Python data models from schema definitions. From 0.51.0 until 0.60.2, x-python-type values parsed by src/datamodel_code_generator/parser/jsonschema.py in _get_python_type_override are inserted into generated field annotations without sufficient validation, allowing attacker-controlled JSON Schema content to execute Python code when the generated module is imported. This issue is fixed in version 0.60.2.

    Published:Jul 28, 2026
    Last Modified:Jul 29, 2026
    EPS:Jul 28, 2026
    EPSS Score:0.00145
    CVSS Score:7.8

    Affected Products

    Vendor
    Koxudaxi
    Product
    Datamodel-code-generator

    Exploits

    No exploit reference

    Related CVEs

    Common Vulnerability Scoring System

    Attack Vector
    Network
    Adjacent
    Local
    Physical
    Privileges Required
    None
    Low
    High
    User Interaction
    None
    Required
    Scope
    Unchanged
    Changed
    Confidentiality
    None
    Low
    High
    Integrity
    None
    Low
    High
    Availability
    None
    Low
    High