Lucene search
+L

3 matches found

NVD
NVD
added 6 days ago7 views

CVE-2026-54656

datamodel-code-generator generates Pydantic v2 models, dataclasses, TypedDict, and msgspec.Struct from OpenAPI, JSON Schema, GraphQL, Avro, Protobuf, and raw JSON, YAML, or CSV. From 0.52.1 until 0.60.2, datamodel-code-generator interpolates validators from --extra-template-data in...

7.8CVSS0.0015EPSS
SaveExploits0References3
OSV
OSV
added 6 days ago4 views

GHSA-8M8R-38JM-F355 `datamodel-code-generator` vulnerable to code execution on import via unescaped `validators` entries in --extra-template-data

Summary When the Pydantic v2 output mode is in use, datamodel-code-generator reads a validators array from each model entry in the --extra-template-data file and synthesises a Pydantic @fieldvalidator... decorator from each entry. The field names and the validator mode are interpolated into the...

7.8CVSS6.4AI score0.0015EPSS
SaveExploits0References4
Github Security Blog
Github Security Blog
added 6 days ago7 views

`datamodel-code-generator` vulnerable to code execution on import via unescaped `validators` entries in --extra-template-data

Summary When the Pydantic v2 output mode is in use, datamodel-code-generator reads a validators array from each model entry in the --extra-template-data file and synthesises a Pydantic @fieldvalidator... decorator from each entry. The field names and the validator mode are interpolated into the...

7.8CVSS6.4AI score0.0015EPSS
SaveExploits0References4Affected Software1
Rows per page
Query Builder