Lucene search
+L

3 matches found

osv_pysec
osv_pysec
•added 2026/08/04 11:34 a.m.•24 views

PYSEC-2026-3557 datamodel-code-generator vulnerable to code injection via `x-python-import` / `customTypePath` in generated import statements

Summary A malicious input schema OpenAPI / JSON Schema can execute arbitrary Python code on the machine that imports the generated model. The x-python-import and customTypePath schema extensions flow, unsanitized, into the import statements datamodel-code-generator emits. A newline embedded in th...

7.5CVSS7.1AI score0.00488EPSS
SaveExploits1References7
PyPA
PyPA
•added 2026/08/04 11:34 a.m.•37 views

datamodel-code-generator vulnerable to code injection via `x-python-import` / `customTypePath` in generated import statements

SummaryA malicious input schema OpenAPI / JSON Schema can execute arbitrary Python code on the machine that imports the generated model. The x-python-import and customTypePath schema extensions flow, unsanitized, into the import statements datamodel-code-generator emits. A newline embedded in the...

7.5CVSS7.1AI score0.00488EPSS
SaveExploits1References7Affected Software1
Github Security Blog
Github Security Blog
•added 2026/07/28 9:40 p.m.•33 views

datamodel-code-generator vulnerable to code injection via `x-python-import` / `customTypePath` in generated import statements

Summary A malicious input schema OpenAPI / JSON Schema can execute arbitrary Python code on the machine that imports the generated model. The x-python-import and customTypePath schema extensions flow, unsanitized, into the import statements datamodel-code-generator emits. A newline embedded in th...

7.5CVSS7.1AI score0.00488EPSS
SaveExploits1References4Affected Software1
Rows per page
Query Builder