Lucene search
+L

12 matches found

PyPA
PyPA
•added 2026/08/04 11:34 a.m.•27 views

`datamodel-code-generator` vulnerable to code injection via unescaped carriage return in GraphQL Union description

Summarydatamodel-code-generator is vulnerable to code injection when generating Python models from an attacker-controlled GraphQL schema. A description on a Union type, written in the regular-string form "..." with a literal \r escape, is rendered into a Python comment by a Jinja2 filter that...

7.8CVSS5.9AI score0.0021EPSS
SaveExploits0References6Affected Software1
OSV
OSV
•added 2026/08/04 11:34 a.m.•11 views

PYSEC-2026-3561 `datamodel-code-generator` vulnerable to code injection via unescaped carriage return in GraphQL Union description

Summary datamodel-code-generator is vulnerable to code injection when generating Python models from an attacker-controlled GraphQL schema. A description on a Union type, written in the regular-string form "..." with a literal \r escape, is rendered into a Python comment by a Jinja2 filter that...

7.8CVSS5.9AI score0.0021EPSS
SaveExploits0References6
NVD
NVD
•added 2026/07/28 10:17 p.m.•19 views

CVE-2026-54621

datamodel-code-generator generates Python data models from schema definitions. Prior to 0.60.1, GraphQL Union description values in src/datamodelcodegenerator/model/template/UnionTypeStatement.jinja2 and src/datamodelcodegenerator/model/template/UnionTypeStatement.py312.jinja2 are rendered into...

7.8CVSS0.0021EPSS
SaveExploits0References3
OSV
OSV
•added 2026/07/28 9:35 p.m.•20 views

GHSA-J884-Q54Q-MMX3 `datamodel-code-generator` vulnerable to code injection via unescaped carriage return in GraphQL Union description

Summary datamodel-code-generator is vulnerable to code injection when generating Python models from an attacker-controlled GraphQL schema. A description on a Union type, written in the regular-string form "..." with a literal \r escape, is rendered into a Python comment by a Jinja2 filter that...

7.8CVSS6.2AI score0.0021EPSS
SaveExploits0References3
Github Security Blog
Github Security Blog
•added 2026/07/28 9:35 p.m.•19 views

`datamodel-code-generator` vulnerable to code injection via unescaped carriage return in GraphQL Union description

Summary datamodel-code-generator is vulnerable to code injection when generating Python models from an attacker-controlled GraphQL schema. A description on a Union type, written in the regular-string form "..." with a literal \r escape, is rendered into a Python comment by a Jinja2 filter that...

7.8CVSS6.2AI score0.0021EPSS
SaveExploits0References3Affected Software1
EUVD
EUVD
•added 2026/07/28 9:35 p.m.•21 views

EUVD-2026-50072

datamodel-code-generator generates Python data models from schema definitions. Prior to 0.60.1, GraphQL Union description values in src/datamodelcodegenerator/model/template/UnionTypeStatement.jinja2 and src/datamodelcodegenerator/model/template/UnionTypeStatement.py312.jinja2 are rendered into...

7.8CVSS5.9AI score0.0021EPSS
SaveExploits0References3
Vulnrichment
Vulnrichment
•added 2026/07/28 9:35 p.m.•13 views

CVE-2026-54621 `datamodel-code-generator` vulnerable to code injection via unescaped carriage return in GraphQL Union description

datamodel-code-generator generates Python data models from schema definitions. Prior to 0.60.1, GraphQL Union description values in src/datamodelcodegenerator/model/template/UnionTypeStatement.jinja2 and src/datamodelcodegenerator/model/template/UnionTypeStatement.py312.jinja2 are rendered into...

7.8CVSS5.9AI score0.0021EPSS
SaveExploits0References3
Cvelist
Cvelist
•added 2026/07/28 9:35 p.m.•44 views

CVE-2026-54621 `datamodel-code-generator` vulnerable to code injection via unescaped carriage return in GraphQL Union description

datamodel-code-generator generates Python data models from schema definitions. Prior to 0.60.1, GraphQL Union description values in src/datamodelcodegenerator/model/template/UnionTypeStatement.jinja2 and src/datamodelcodegenerator/model/template/UnionTypeStatement.py312.jinja2 are rendered into...

7.8CVSS0.0021EPSS
SaveExploits0References3
CVE
CVE
•added 2026/07/28 9:35 p.m.•59 views

CVE-2026-54621

datamodel-code-generator is affected: before version 0.60.1, GraphQL Union description values in UnionTypeStatement templates are rendered into Python comments without neutralizing carriage returns, enabling attacker-controlled GraphQL schema content to inject Python code that executes upon impor...

7.8CVSS5.9AI score0.0021EPSS
SaveExploits0References3
attackerkb
attackerkb
•added 2026/07/28 9:35 p.m.•14 views

CVE-2026-54621

datamodel-code-generator generates Python data models from schema definitions. Prior to 0.60.1, GraphQL Union description values in src/datamodelcodegenerator/model/template/UnionTypeStatement.jinja2 and src/datamodelcodegenerator/model/template/UnionTypeStatement.py312.jinja2 are rendered into...

7.8CVSS5.9AI score0.0021EPSS
SaveExploits0References4Affected Software1
OSV
OSV
•added 2026/07/28 9:35 p.m.•12 views

CVE-2026-54621 `datamodel-code-generator` vulnerable to code injection via unescaped carriage return in GraphQL Union description

datamodel-code-generator generates Python data models from schema definitions. Prior to 0.60.1, GraphQL Union description values in src/datamodelcodegenerator/model/template/UnionTypeStatement.jinja2 and src/datamodelcodegenerator/model/template/UnionTypeStatement.py312.jinja2 are rendered into...

7.8CVSS5.9AI score
SaveExploits0References5
Positive Technologies
Positive Technologies
•added 2026/07/28 12:00 a.m.•18 views

PT-2026-65608

Name of the Vulnerable Software and Affected Versions datamodel-code-generator versions 0.25.0 through 0.60.0 Description Code injection occurs when generating Python models from an attacker-controlled GraphQL schema. The issue stems from how GraphQL Union description values are rendered into...

7.8CVSS5.5AI score0.0021EPSS
SaveExploits0References9
Rows per page
Query Builder