<?xml version='1.0' encoding='UTF-8'?>
<?xml-stylesheet href="/static/style.xsl" type="text/xsl"?>
<rss xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/" version="2.0">
  <channel>
    <title>Most recent entries from all</title>
    <link>https://cve.radiocsirt.org</link>
    <description>Contains only the most 10 recent entries.</description>
    <docs>http://www.rssboard.org/rss-specification</docs>
    <generator>python-feedgen</generator>
    <language>en</language>
    <lastBuildDate>Fri, 09 Oct 2026 21:54:35 +0000</lastBuildDate>
    <item>
      <title>EUVD-2026-342294</title>
      <link>https://cve.radiocsirt.org/vuln/euvd-2026-342294</link>
      <description>EUVD-2026-342294</description>
      <guid isPermaLink="false">https://cve.radiocsirt.org/vuln/euvd-2026-342294</guid>
    </item>
    <item>
      <title>fkie_cve-2026-54621</title>
      <link>https://cve.radiocsirt.org/vuln/fkie_cve-2026-54621</link>
      <description>&lt;p&gt;datamodel-code-generator generates Python data models from schema definitions. Prior to 0.60.1, GraphQL Union description values in src/datamodel_code_generator/model/template/UnionTypeStatement.jinja2 and src/datamodel_code_generator/model/template/UnionTypeStatement.py312.jinja2 are rendered into Python comments without neutralizing carriage returns in Python # comments, allowing attacker-controlled GraphQL schema content to inject Python code into generated models that runs when imported. This issue is fixed in version 0.60.1.&lt;/p&gt;</description>
      <content:encoded>&lt;p&gt;datamodel-code-generator generates Python data models from schema definitions. Prior to 0.60.1, GraphQL Union description values in src/datamodel_code_generator/model/template/UnionTypeStatement.jinja2 and src/datamodel_code_generator/model/template/UnionTypeStatement.py312.jinja2 are rendered into Python comments without neutralizing carriage returns in Python # comments, allowing attacker-controlled GraphQL schema content to inject Python code into generated models that runs when imported. This issue is fixed in version 0.60.1.&lt;/p&gt;</content:encoded>
      <guid isPermaLink="false">https://cve.radiocsirt.org/vuln/fkie_cve-2026-54621</guid>
    </item>
    <item>
      <title>GHSA-j884-q54q-mmx3 — `datamodel-code-generator` vulnerable to code injection via unescaped carriage return in GraphQL Union description</title>
      <link>https://cve.radiocsirt.org/vuln/ghsa-j884-q54q-mmx3</link>
      <description>&lt;p&gt;&lt;strong&gt;Affected:&lt;/strong&gt; PyPI: datamodel-code-generator&lt;/p&gt;
&lt;p&gt;### Summary&lt;/p&gt;
&lt;p&gt;`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 (`&amp;#34;...&amp;#34;`) with a literal `\r` escape, is rendered into a Python `#` comment by a Jinja2 filter that handles only `\n`. Python&amp;#39;s tokenizer treats a bare CR as a physical-line terminator, so the comment ends at the `\r` and the text after it is parsed as module-level Python. The injected code executes at `import` time of the generated `.py`, in the context of any consumer that imports the model. No special CLI flags are required.&lt;/p&gt;
&lt;p&gt;This affects versions `&amp;gt;=0.25.0, &amp;lt;0.60.1` and is fixed in `0.60.1`.&lt;/p&gt;
&lt;p&gt;### Details&lt;/p&gt;
&lt;p&gt;The vulnerable output was generated by the GraphQL Union templates:&lt;/p&gt;
&lt;p&gt;- `src/datamodel_code_generator/model/template/UnionTypeStatement.jinja2`
- `src/datamodel_code_generator/model/template/UnionTypeAliasAnnotation.jinja2`
- `src/datamodel_code_generator/model/template/UnionTypeAliasType.jinja2`&lt;/p&gt;
&lt;p&gt;Before `0.60.1`, Union descriptions were rendered as Python comments using logic equivalent to `# {{ description | replace(&amp;#39;\n&amp;#39;, &amp;#39;\n# &amp;#39;) }}`.&lt;/p&gt;
&lt;p&gt;The Jinja2 `replace` filter handled `\n`, but bare `\r` was not normalized. Python&amp;#39;s lexical analysis treats CR, LF, and CRLF as physical line terminators. As a result, a malicious GraphQL schema could cause the generated Python comment to end early and emit attacker-controlled text as module-level Python code.&lt;/p&gt;
&lt;p&gt;The `description`…&lt;/p&gt;</description>
      <content:encoded>&lt;p&gt;&lt;strong&gt;Affected:&lt;/strong&gt; PyPI: datamodel-code-generator&lt;/p&gt;
&lt;p&gt;### Summary&lt;/p&gt;
&lt;p&gt;`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 (`&amp;#34;...&amp;#34;`) with a literal `\r` escape, is rendered into a Python `#` comment by a Jinja2 filter that handles only `\n`. Python&amp;#39;s tokenizer treats a bare CR as a physical-line terminator, so the comment ends at the `\r` and the text after it is parsed as module-level Python. The injected code executes at `import` time of the generated `.py`, in the context of any consumer that imports the model. No special CLI flags are required.&lt;/p&gt;
&lt;p&gt;This affects versions `&amp;gt;=0.25.0, &amp;lt;0.60.1` and is fixed in `0.60.1`.&lt;/p&gt;
&lt;p&gt;### Details&lt;/p&gt;
&lt;p&gt;The vulnerable output was generated by the GraphQL Union templates:&lt;/p&gt;
&lt;p&gt;- `src/datamodel_code_generator/model/template/UnionTypeStatement.jinja2`
- `src/datamodel_code_generator/model/template/UnionTypeAliasAnnotation.jinja2`
- `src/datamodel_code_generator/model/template/UnionTypeAliasType.jinja2`&lt;/p&gt;
&lt;p&gt;Before `0.60.1`, Union descriptions were rendered as Python comments using logic equivalent to `# {{ description | replace(&amp;#39;\n&amp;#39;, &amp;#39;\n# &amp;#39;) }}`.&lt;/p&gt;
&lt;p&gt;The Jinja2 `replace` filter handled `\n`, but bare `\r` was not normalized. Python&amp;#39;s lexical analysis treats CR, LF, and CRLF as physical line terminators. As a result, a malicious GraphQL schema could cause the generated Python comment to end early and emit attacker-controlled text as module-level Python code.&lt;/p&gt;
&lt;p&gt;The `description`…&lt;/p&gt;</content:encoded>
      <guid isPermaLink="false">https://cve.radiocsirt.org/vuln/ghsa-j884-q54q-mmx3</guid>
    </item>
    <item>
      <title>PYSEC-2026-3561 — `datamodel-code-generator` vulnerable to code injection via unescaped carriage return in GraphQL Union description</title>
      <link>https://cve.radiocsirt.org/vuln/pysec-2026-3561</link>
      <description>&lt;p&gt;&lt;strong&gt;Affected:&lt;/strong&gt; PyPI: datamodel-code-generator&lt;/p&gt;
&lt;p&gt;### Summary&lt;/p&gt;
&lt;p&gt;`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 (`&amp;#34;...&amp;#34;`) with a literal `\r` escape, is rendered into a Python `#` comment by a Jinja2 filter that handles only `\n`. Python&amp;#39;s tokenizer treats a bare CR as a physical-line terminator, so the comment ends at the `\r` and the text after it is parsed as module-level Python. The injected code executes at `import` time of the generated `.py`, in the context of any consumer that imports the model. No special CLI flags are required.&lt;/p&gt;
&lt;p&gt;This affects versions `&amp;gt;=0.25.0, &amp;lt;0.60.1` and is fixed in `0.60.1`.&lt;/p&gt;
&lt;p&gt;### Details&lt;/p&gt;
&lt;p&gt;The vulnerable output was generated by the GraphQL Union templates:&lt;/p&gt;
&lt;p&gt;- `src/datamodel_code_generator/model/template/UnionTypeStatement.jinja2`
- `src/datamodel_code_generator/model/template/UnionTypeAliasAnnotation.jinja2`
- `src/datamodel_code_generator/model/template/UnionTypeAliasType.jinja2`&lt;/p&gt;
&lt;p&gt;Before `0.60.1`, Union descriptions were rendered as Python comments using logic equivalent to `# {{ description | replace(&amp;#39;\n&amp;#39;, &amp;#39;\n# &amp;#39;) }}`.&lt;/p&gt;
&lt;p&gt;The Jinja2 `replace` filter handled `\n`, but bare `\r` was not normalized. Python&amp;#39;s lexical analysis treats CR, LF, and CRLF as physical line terminators. As a result, a malicious GraphQL schema could cause the generated Python comment to end early and emit attacker-controlled text as module-level Python code.&lt;/p&gt;
&lt;p&gt;The `description`…&lt;/p&gt;</description>
      <content:encoded>&lt;p&gt;&lt;strong&gt;Affected:&lt;/strong&gt; PyPI: datamodel-code-generator&lt;/p&gt;
&lt;p&gt;### Summary&lt;/p&gt;
&lt;p&gt;`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 (`&amp;#34;...&amp;#34;`) with a literal `\r` escape, is rendered into a Python `#` comment by a Jinja2 filter that handles only `\n`. Python&amp;#39;s tokenizer treats a bare CR as a physical-line terminator, so the comment ends at the `\r` and the text after it is parsed as module-level Python. The injected code executes at `import` time of the generated `.py`, in the context of any consumer that imports the model. No special CLI flags are required.&lt;/p&gt;
&lt;p&gt;This affects versions `&amp;gt;=0.25.0, &amp;lt;0.60.1` and is fixed in `0.60.1`.&lt;/p&gt;
&lt;p&gt;### Details&lt;/p&gt;
&lt;p&gt;The vulnerable output was generated by the GraphQL Union templates:&lt;/p&gt;
&lt;p&gt;- `src/datamodel_code_generator/model/template/UnionTypeStatement.jinja2`
- `src/datamodel_code_generator/model/template/UnionTypeAliasAnnotation.jinja2`
- `src/datamodel_code_generator/model/template/UnionTypeAliasType.jinja2`&lt;/p&gt;
&lt;p&gt;Before `0.60.1`, Union descriptions were rendered as Python comments using logic equivalent to `# {{ description | replace(&amp;#39;\n&amp;#39;, &amp;#39;\n# &amp;#39;) }}`.&lt;/p&gt;
&lt;p&gt;The Jinja2 `replace` filter handled `\n`, but bare `\r` was not normalized. Python&amp;#39;s lexical analysis treats CR, LF, and CRLF as physical line terminators. As a result, a malicious GraphQL schema could cause the generated Python comment to end early and emit attacker-controlled text as module-level Python code.&lt;/p&gt;
&lt;p&gt;The `description`…&lt;/p&gt;</content:encoded>
      <guid isPermaLink="false">https://cve.radiocsirt.org/vuln/pysec-2026-3561</guid>
    </item>
  </channel>
</rss>
