<?xml version='1.0' encoding='UTF-8'?>
<?xml-stylesheet href="/static/style.xsl" type="text/xsl"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
  <id>https://cve.radiocsirt.org/rss/recent/all/10</id>
  <title>Most recent entries from all</title>
  <updated>2026-10-09T22:42:33.182138+00:00</updated>
  <author>
    <name>Vulnerability-Lookup</name>
    <email>csirt@opendfir.org</email>
  </author>
  <link href="https://cve.radiocsirt.org" rel="alternate"/>
  <generator uri="https://lkiesow.github.io/python-feedgen" version="1.0.0">python-feedgen</generator>
  <subtitle>Contains only the most 10 recent entries.</subtitle>
  <entry>
    <id>https://cve.radiocsirt.org/vuln/euvd-2026-342425</id>
    <title>EUVD-2026-342425</title>
    <updated>2026-10-09T22:42:33.184927+00:00</updated>
    <content>EUVD-2026-342425</content>
    <link href="https://cve.radiocsirt.org/vuln/euvd-2026-342425"/>
  </entry>
  <entry>
    <id>https://cve.radiocsirt.org/vuln/fkie_cve-2026-54654</id>
    <title>fkie_cve-2026-54654</title>
    <updated>2026-10-09T22:42:33.184961+00:00</updated>
    <content type="xhtml">
      <div xmlns="http://www.w3.org/1999/xhtml">
        <p>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.</p>
      </div>
    </content>
    <link href="https://cve.radiocsirt.org/vuln/fkie_cve-2026-54654"/>
  </entry>
  <entry>
    <id>https://cve.radiocsirt.org/vuln/ghsa-wjv6-jcfj-mf9r</id>
    <title>GHSA-wjv6-jcfj-mf9r — `datamodel-code-generator` vulnerable to code injection via unescaped carriage return in `--extra-template-data` `comme…</title>
    <updated>2026-10-09T22:42:33.184996+00:00</updated>
    <content type="xhtml">
      <div xmlns="http://www.w3.org/1999/xhtml"><p><strong>Affected:</strong> PyPI: datamodel-code-generator</p>
<p>### Summary</p>
<p>`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'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.</p>
<p>### Details</p>
<p>The vulnerable templates each contain `# {{ comment }}` with no escaping:</p>
<p>- `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`</p>
<p>The `pydantic_v2/BaseModel.jinja2:4` site is representative:</p>
<p>```jinja2
class {{ class_name }}({{ base_class }}):{% if comment is defined %}  # {{ comment }}{% endif %}
```</p>
<p>When the deve…</p></div>
    </content>
    <link href="https://cve.radiocsirt.org/vuln/ghsa-wjv6-jcfj-mf9r"/>
  </entry>
  <entry>
    <id>https://cve.radiocsirt.org/vuln/pysec-2026-3566</id>
    <title>PYSEC-2026-3566 — `datamodel-code-generator` vulnerable to code injection via unescaped carriage return in `--extra-template-data` `comme…</title>
    <updated>2026-10-09T22:42:33.185051+00:00</updated>
    <content type="xhtml">
      <div xmlns="http://www.w3.org/1999/xhtml"><p><strong>Affected:</strong> PyPI: datamodel-code-generator</p>
<p>### Summary</p>
<p>`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'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.</p>
<p>### Details</p>
<p>The vulnerable templates each contain `# {{ comment }}` with no escaping:</p>
<p>- `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`</p>
<p>The `pydantic_v2/BaseModel.jinja2:4` site is representative:</p>
<p>```jinja2
class {{ class_name }}({{ base_class }}):{% if comment is defined %}  # {{ comment }}{% endif %}
```</p>
<p>When the deve…</p></div>
    </content>
    <link href="https://cve.radiocsirt.org/vuln/pysec-2026-3566"/>
  </entry>
</feed>
