<?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 22:41:32 +0000</lastBuildDate>
    <item>
      <title>EUVD-2026-342425</title>
      <link>https://cve.radiocsirt.org/vuln/euvd-2026-342425</link>
      <description>EUVD-2026-342425</description>
      <guid isPermaLink="false">https://cve.radiocsirt.org/vuln/euvd-2026-342425</guid>
    </item>
    <item>
      <title>fkie_cve-2026-54654</title>
      <link>https://cve.radiocsirt.org/vuln/fkie_cve-2026-54654</link>
      <description>&lt;p&gt;datamodel-code-generator generates Python data models from schema definitions. From 0.14.1 until 0.60.2, the --extra-template-data comment field is rendered into Python comments in src/datamodel_code_generator/model/template/TypeAliasAnnotation.jinja2, src/datamodel_code_generator/model/template/TypedDict.jinja2, src/datamodel_code_generator/model/template/dataclass.jinja2, src/datamodel_code_generator/model/template/msgspec.Struct.jinja2, src/datamodel_code_generator/model/template/pydantic/BaseModel.jinja2, and src/datamodel_code_generator/model/template/pydantic_v2/BaseModel.jinja2 without neutralizing carriage returns in Python # comments, allowing an attacker-controlled comment value to inject Python code into generated models that runs when imported. This issue is fixed in version 0.60.2.&lt;/p&gt;</description>
      <content:encoded>&lt;p&gt;datamodel-code-generator generates Python data models from schema definitions. From 0.14.1 until 0.60.2, the --extra-template-data comment field is rendered into Python comments in src/datamodel_code_generator/model/template/TypeAliasAnnotation.jinja2, src/datamodel_code_generator/model/template/TypedDict.jinja2, src/datamodel_code_generator/model/template/dataclass.jinja2, src/datamodel_code_generator/model/template/msgspec.Struct.jinja2, src/datamodel_code_generator/model/template/pydantic/BaseModel.jinja2, and src/datamodel_code_generator/model/template/pydantic_v2/BaseModel.jinja2 without neutralizing carriage returns in Python # comments, allowing an attacker-controlled comment value to inject Python code into generated models that runs when imported. This issue is fixed in version 0.60.2.&lt;/p&gt;</content:encoded>
      <guid isPermaLink="false">https://cve.radiocsirt.org/vuln/fkie_cve-2026-54654</guid>
    </item>
    <item>
      <title>GHSA-wjv6-jcfj-mf9r — `datamodel-code-generator` vulnerable to code injection via unescaped carriage return in `--extra-template-data` `comme…</title>
      <link>https://cve.radiocsirt.org/vuln/ghsa-wjv6-jcfj-mf9r</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 a developer passes an `--extra-template-data` file whose `comment` value contains a literal `\r` (carriage return). The `comment` variable is rendered into a Python `#` comment in six built-in templates with **no** line-terminator escaping. Python&amp;#39;s tokenizer treats a bare CR as a physical-line terminator (see [Python language reference — Physical lines](https://docs.python.org/3/reference/lexical_analysis.html#physical-lines)), so the comment ends at the `\r` and the text after it is parsed as Python, including, when the CR is followed by suitable indentation, as a statement within the class body that follows on the next template line.&lt;/p&gt;
&lt;p&gt;### Details&lt;/p&gt;
&lt;p&gt;The vulnerable templates each contain `# {{ comment }}` with no escaping:&lt;/p&gt;
&lt;p&gt;- `src/datamodel_code_generator/model/template/TypeAliasAnnotation.jinja2:12` and `:19`
- `src/datamodel_code_generator/model/template/TypeAliasType.jinja2:12` and `:19`
- `src/datamodel_code_generator/model/template/TypeStatement.jinja2:12` and `:19`
- `src/datamodel_code_generator/model/template/pydantic_v2/BaseModel.jinja2:4`
- `src/datamodel_code_generator/model/template/pydantic_v2/RootModel.jinja2:19`
- `src/datamodel_code_generator/model/template/pydantic_v2/RootModelTypeAlias.jinja2:13`&lt;/p&gt;
&lt;p&gt;The `pydantic_v2/BaseModel.jinja2:4` site is representative:&lt;/p&gt;
&lt;p&gt;```jinja2
class {{ class_name }}({{ base_class }}):{% if comment is defined %}  # {{ comment }}{% endif %}
```&lt;/p&gt;
&lt;p&gt;When the deve…&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 a developer passes an `--extra-template-data` file whose `comment` value contains a literal `\r` (carriage return). The `comment` variable is rendered into a Python `#` comment in six built-in templates with **no** line-terminator escaping. Python&amp;#39;s tokenizer treats a bare CR as a physical-line terminator (see [Python language reference — Physical lines](https://docs.python.org/3/reference/lexical_analysis.html#physical-lines)), so the comment ends at the `\r` and the text after it is parsed as Python, including, when the CR is followed by suitable indentation, as a statement within the class body that follows on the next template line.&lt;/p&gt;
&lt;p&gt;### Details&lt;/p&gt;
&lt;p&gt;The vulnerable templates each contain `# {{ comment }}` with no escaping:&lt;/p&gt;
&lt;p&gt;- `src/datamodel_code_generator/model/template/TypeAliasAnnotation.jinja2:12` and `:19`
- `src/datamodel_code_generator/model/template/TypeAliasType.jinja2:12` and `:19`
- `src/datamodel_code_generator/model/template/TypeStatement.jinja2:12` and `:19`
- `src/datamodel_code_generator/model/template/pydantic_v2/BaseModel.jinja2:4`
- `src/datamodel_code_generator/model/template/pydantic_v2/RootModel.jinja2:19`
- `src/datamodel_code_generator/model/template/pydantic_v2/RootModelTypeAlias.jinja2:13`&lt;/p&gt;
&lt;p&gt;The `pydantic_v2/BaseModel.jinja2:4` site is representative:&lt;/p&gt;
&lt;p&gt;```jinja2
class {{ class_name }}({{ base_class }}):{% if comment is defined %}  # {{ comment }}{% endif %}
```&lt;/p&gt;
&lt;p&gt;When the deve…&lt;/p&gt;</content:encoded>
      <guid isPermaLink="false">https://cve.radiocsirt.org/vuln/ghsa-wjv6-jcfj-mf9r</guid>
    </item>
    <item>
      <title>PYSEC-2026-3566 — `datamodel-code-generator` vulnerable to code injection via unescaped carriage return in `--extra-template-data` `comme…</title>
      <link>https://cve.radiocsirt.org/vuln/pysec-2026-3566</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 a developer passes an `--extra-template-data` file whose `comment` value contains a literal `\r` (carriage return). The `comment` variable is rendered into a Python `#` comment in six built-in templates with **no** line-terminator escaping. Python&amp;#39;s tokenizer treats a bare CR as a physical-line terminator (see [Python language reference — Physical lines](https://docs.python.org/3/reference/lexical_analysis.html#physical-lines)), so the comment ends at the `\r` and the text after it is parsed as Python, including, when the CR is followed by suitable indentation, as a statement within the class body that follows on the next template line.&lt;/p&gt;
&lt;p&gt;### Details&lt;/p&gt;
&lt;p&gt;The vulnerable templates each contain `# {{ comment }}` with no escaping:&lt;/p&gt;
&lt;p&gt;- `src/datamodel_code_generator/model/template/TypeAliasAnnotation.jinja2:12` and `:19`
- `src/datamodel_code_generator/model/template/TypeAliasType.jinja2:12` and `:19`
- `src/datamodel_code_generator/model/template/TypeStatement.jinja2:12` and `:19`
- `src/datamodel_code_generator/model/template/pydantic_v2/BaseModel.jinja2:4`
- `src/datamodel_code_generator/model/template/pydantic_v2/RootModel.jinja2:19`
- `src/datamodel_code_generator/model/template/pydantic_v2/RootModelTypeAlias.jinja2:13`&lt;/p&gt;
&lt;p&gt;The `pydantic_v2/BaseModel.jinja2:4` site is representative:&lt;/p&gt;
&lt;p&gt;```jinja2
class {{ class_name }}({{ base_class }}):{% if comment is defined %}  # {{ comment }}{% endif %}
```&lt;/p&gt;
&lt;p&gt;When the deve…&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 a developer passes an `--extra-template-data` file whose `comment` value contains a literal `\r` (carriage return). The `comment` variable is rendered into a Python `#` comment in six built-in templates with **no** line-terminator escaping. Python&amp;#39;s tokenizer treats a bare CR as a physical-line terminator (see [Python language reference — Physical lines](https://docs.python.org/3/reference/lexical_analysis.html#physical-lines)), so the comment ends at the `\r` and the text after it is parsed as Python, including, when the CR is followed by suitable indentation, as a statement within the class body that follows on the next template line.&lt;/p&gt;
&lt;p&gt;### Details&lt;/p&gt;
&lt;p&gt;The vulnerable templates each contain `# {{ comment }}` with no escaping:&lt;/p&gt;
&lt;p&gt;- `src/datamodel_code_generator/model/template/TypeAliasAnnotation.jinja2:12` and `:19`
- `src/datamodel_code_generator/model/template/TypeAliasType.jinja2:12` and `:19`
- `src/datamodel_code_generator/model/template/TypeStatement.jinja2:12` and `:19`
- `src/datamodel_code_generator/model/template/pydantic_v2/BaseModel.jinja2:4`
- `src/datamodel_code_generator/model/template/pydantic_v2/RootModel.jinja2:19`
- `src/datamodel_code_generator/model/template/pydantic_v2/RootModelTypeAlias.jinja2:13`&lt;/p&gt;
&lt;p&gt;The `pydantic_v2/BaseModel.jinja2:4` site is representative:&lt;/p&gt;
&lt;p&gt;```jinja2
class {{ class_name }}({{ base_class }}):{% if comment is defined %}  # {{ comment }}{% endif %}
```&lt;/p&gt;
&lt;p&gt;When the deve…&lt;/p&gt;</content:encoded>
      <guid isPermaLink="false">https://cve.radiocsirt.org/vuln/pysec-2026-3566</guid>
    </item>
  </channel>
</rss>
