618 matches found
CVE-2026-127208
The datamodel-code-generator library (versions before 0.84.0 ) is vulnerable to a code injection vulnerability. The root cause is a validation bypass in parse_python_type_annotation and _python_type_expr_from_ast, which allows an attacker to provide a malicious JSON Schema with a crafted x-python...
EUVD-2026-124714
datamodel-code-generator before 0.84.0 contains a code injection vulnerability that allows attackers to achieve arbitrary code execution by supplying a malicious JSON Schema with a crafted x-python-type annotation containing a string ast.Constant node in a subscript slice position, which bypasses...
CVE-2026-127208 datamodel-code-generator < 0.84.0 Code Injection via x-python-type Annotation
datamodel-code-generator before 0.84.0 contains a code injection vulnerability that allows attackers to achieve arbitrary code execution by supplying a malicious JSON Schema with a crafted x-python-type annotation containing a string ast.Constant node in a subscript slice position, which bypasses...
CVE-2026-127208: datamodel-code-generator: datamodel-code-generator before 0.84.0 contains a code injection vulnerability that allows attackers to achieve…
datamodel-code-generator before 0.84.0 contains a code injection vulnerability that allows attackers to achieve arbitrary code execution by supplying a malicious JSON Schema with a crafted x-python-type annotation containing a string ast.Constant node in a subscript slice position, which bypasses...
PT-2026-146058
datamodel-code-generator before 0.84.0 contains a code injection vulnerability that allows attackers to achieve arbitrary code execution by supplying a malicious JSON Schema with a crafted x-python-type annotation containing a string ast.Constant node in a subscript slice position, which bypasses...
fastapi-code-generator: Import-time RCE via route path -> unescaped @app.get('...') decorator
Summary fastapi-code-generator koxudaxi emits the OpenAPI path into the generated main.py route decorator as a single-quoted string literal @app.get'/u//x' without escaping the '. A ' in the path closes the decorator string and, via concatenation, injects a live expression that the decorator...
GHSA-P2MM-64F6-GMPP fastapi-code-generator: Import-time RCE via route path -> unescaped @app.get('...') decorator
Summary fastapi-code-generator koxudaxi emits the OpenAPI path into the generated main.py route decorator as a single-quoted string literal @app.get'/u//x' without escaping the '. A ' in the path closes the decorator string and, via concatenation, injects a live expression that the decorator...
EUVD-2026-116147
fastapi-code-generator: Import-time RCE via route path - unescaped @app.get'...' decorator...
Improper Encoding or Escaping of Output
Overview fastapi-code-generator is a Generate a FastAPI app from an OpenAPI file. Affected versions of this package are vulnerable to Improper Encoding or Escaping of Output via the OpenAPI path field, which is emitted unescaped into the generated main.py route decorator as a single-quoted string...
EUVD-2026-116146
fastapi-code-generator: Import-time RCE via response status-code key - unescaped @app.get..., responses=... dict...
GHSA-6XMV-CJR5-W3Q8 fastapi-code-generator: Import-time RCE via response status-code key -> unescaped @app.get(..., responses={...}) dict
Summary fastapi-code-generator koxudaxi emits an operation's extra responses into the route decorator's responses=... dict, using each response's status-code key as a single-quoted string literal without escaping the '. A ' in a status-code key closes the dict-key string and, via concatenation,...
Improper Encoding or Escaping of Output
Overview fastapi-code-generator is a Generate a FastAPI app from an OpenAPI file. Affected versions of this package are vulnerable to Improper Encoding or Escaping of Output via the response status-code key in the additionalresponses dict, which is emitted into the generated route decorator as an...
fastapi-code-generator: Import-time RCE via response status-code key -> unescaped @app.get(..., responses={...}) dict
Summary fastapi-code-generator koxudaxi emits an operation's extra responses into the route decorator's responses=... dict, using each response's status-code key as a single-quoted string literal without escaping the '. A ' in a status-code key closes the dict-key string and, via concatenation,...
GHSA-H667-4JJ2-CGV4 fastapi-code-generator: Call-time RCE via operation summary -> unescaped route-handler docstring
Summary fastapi-code-generator koxudaxi emits an operation's summary as the generated route handler's docstring, using a triple-quoted string without escaping """. A """ in the summary closes the docstring and, via concatenation, injects a live expression that becomes an expression statement in t...
EUVD-2026-116145
fastapi-code-generator: Call-time RCE via operation summary - unescaped route-handler docstring...
fastapi-code-generator: Call-time RCE via operation summary -> unescaped route-handler docstring
Summary fastapi-code-generator koxudaxi emits an operation's summary as the generated route handler's docstring, using a triple-quoted string without escaping """. A """ in the summary closes the docstring and, via concatenation, injects a live expression that becomes an expression statement in t...
Improper Encoding or Escaping of Output
Overview fastapi-code-generator is a Generate a FastAPI app from an OpenAPI file. Affected versions of this package are vulnerable to Improper Encoding or Escaping of Output via the summary field of an OpenAPI operation being emitted as an unescaped triple-double-quoted docstring in the generated...
CVE-2026-63469
fastapi-code-generator creates FastAPI applications from OpenAPI files. Prior to 0.8.1, the generator inserts an additional response status-code key into the generated responses=... route-decorator dictionary as a single-quoted Python string without escaping embedded quotes. A multi-response...
CVE-2026-63470
fastapi-code-generator creates FastAPI applications from OpenAPI files. Prior to 0.8.1, the generator inserts Operation.summary into a generated route-handler docstring as a triple-double-quoted string without escaping embedded triple quotes. An attacker-controlled or attacker-influenced operatio...
CVE-2026-63471
fastapi-code-generator creates FastAPI applications from OpenAPI files. Prior to 0.8.1, the generator inserts an OpenAPI path into a generated @app.get... route decorator as a single-quoted generated route string without escaping embedded quotes. An attacker-controlled or attacker-influenced...