<?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://vulnerability.circl.lu</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 09:31:03 +0000</lastBuildDate>
    <item>
      <title>fkie_cve-2026-107377</title>
      <link>https://vulnerability.circl.lu/vuln/fkie_cve-2026-107377</link>
      <description>&lt;p&gt;datamodel-code-generator generates Python data models from schema definitions. From 0.59.0 until 0.81.0, an attacker-controlled Protobuf schema can supply absolute or parent-directory paths captured by WEAK_IMPORT_PATTERN and consumed by _write_missing_weak_imports in src/datamodel_code_generator/parser/protobuf.py. Exploitation requires a victim or automated job to process the attacker-controlled schema with Protobuf input support, which requires the grpcio-tools package. The paths escape the weak_imports temporary directory before protoc runs, allowing creation of directory trees and new files or overwrite of existing writable files with a generated Protobuf syntax declaration. The effect persists when later Protobuf compilation fails. The written content is limited to a proto2 or proto3 syntax declaration, and direct arbitrary code execution has not been demonstrated. This issue is fixed in version 0.81.0.&lt;/p&gt;</description>
      <content:encoded>&lt;p&gt;datamodel-code-generator generates Python data models from schema definitions. From 0.59.0 until 0.81.0, an attacker-controlled Protobuf schema can supply absolute or parent-directory paths captured by WEAK_IMPORT_PATTERN and consumed by _write_missing_weak_imports in src/datamodel_code_generator/parser/protobuf.py. Exploitation requires a victim or automated job to process the attacker-controlled schema with Protobuf input support, which requires the grpcio-tools package. The paths escape the weak_imports temporary directory before protoc runs, allowing creation of directory trees and new files or overwrite of existing writable files with a generated Protobuf syntax declaration. The effect persists when later Protobuf compilation fails. The written content is limited to a proto2 or proto3 syntax declaration, and direct arbitrary code execution has not been demonstrated. This issue is fixed in version 0.81.0.&lt;/p&gt;</content:encoded>
      <guid isPermaLink="false">https://vulnerability.circl.lu/vuln/fkie_cve-2026-107377</guid>
    </item>
    <item>
      <title>GHSA-77xj-x4rm-935c — datamodel-code-generator: Protobuf weak-import path traversal allows files to be written outside the temporary directory</title>
      <link>https://vulnerability.circl.lu/vuln/ghsa-77xj-x4rm-935c</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;When processing an attacker-controlled Protobuf schema, vulnerable versions of
`datamodel-code-generator` could write a generated weak-import stub outside the
intended `__weak_imports__` temporary directory. Absolute import paths and relative
paths containing `..` could escape this directory.&lt;/p&gt;
&lt;p&gt;An attacker could create directories and new files at locations writable by the
process. Relative path traversal could also overwrite existing writable files
because the existence check and the stub write used different base directories.
An existing absolute target was skipped by the existence check.&lt;/p&gt;
&lt;p&gt;Written content was limited to a generated Protobuf syntax declaration,
`syntax = &amp;#34;proto2&amp;#34;;` or `syntax = &amp;#34;proto3&amp;#34;;`, followed by a newline. This issue did
not provide fully attacker-controlled file contents, and direct arbitrary code
execution has not been demonstrated.&lt;/p&gt;
&lt;p&gt;These filesystem side effects occurred before `protoc` ran. A subsequent
compilation error did not undo them. A user or CI job must process the
attacker-controlled schema for the issue to be triggered, whether the schema is
supplied as a local file or fetched via `--url`.&lt;/p&gt;
&lt;p&gt;The fix has been merged into the parent repository&amp;#39;s `main` branch in
[5e94b8f](https://github.com/datamodel-code-generator/datamodel-code-generator/commit/5e94b8f4203198798ec66b8e48217f70af69a0dc). A patched package release is not yet available.
The technical details and PoC below describe the vulnerable implementation before
that fix.&lt;/p&gt;
&lt;p&gt;##…&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;When processing an attacker-controlled Protobuf schema, vulnerable versions of
`datamodel-code-generator` could write a generated weak-import stub outside the
intended `__weak_imports__` temporary directory. Absolute import paths and relative
paths containing `..` could escape this directory.&lt;/p&gt;
&lt;p&gt;An attacker could create directories and new files at locations writable by the
process. Relative path traversal could also overwrite existing writable files
because the existence check and the stub write used different base directories.
An existing absolute target was skipped by the existence check.&lt;/p&gt;
&lt;p&gt;Written content was limited to a generated Protobuf syntax declaration,
`syntax = &amp;#34;proto2&amp;#34;;` or `syntax = &amp;#34;proto3&amp;#34;;`, followed by a newline. This issue did
not provide fully attacker-controlled file contents, and direct arbitrary code
execution has not been demonstrated.&lt;/p&gt;
&lt;p&gt;These filesystem side effects occurred before `protoc` ran. A subsequent
compilation error did not undo them. A user or CI job must process the
attacker-controlled schema for the issue to be triggered, whether the schema is
supplied as a local file or fetched via `--url`.&lt;/p&gt;
&lt;p&gt;The fix has been merged into the parent repository&amp;#39;s `main` branch in
[5e94b8f](https://github.com/datamodel-code-generator/datamodel-code-generator/commit/5e94b8f4203198798ec66b8e48217f70af69a0dc). A patched package release is not yet available.
The technical details and PoC below describe the vulnerable implementation before
that fix.&lt;/p&gt;
&lt;p&gt;##…&lt;/p&gt;</content:encoded>
      <guid isPermaLink="false">https://vulnerability.circl.lu/vuln/ghsa-77xj-x4rm-935c</guid>
    </item>
  </channel>
</rss>
