PT-2026-108124

CVE-2026-107377

·

تاريخ النشر

2026-10-08

·

تاريخ التحديث

2026-10-15

الوصف من

CVSS 3.1
7.5
عالية
المقاييسAV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
Name of the Vulnerable Software and Affected Versions datamodel-code-generator versions 0.59.0 through 0.80.0
Description An issue exists where an attacker-controlled Protobuf schema can provide absolute or parent-directory paths. These paths are captured by WEAK IMPORT PATTERN and processed by the write missing weak imports() function in src/datamodel code generator/parser/protobuf.py. This allows paths to escape the weak imports temporary directory, enabling the creation of directory trees and new files, or the overwriting of existing writable files with a generated Protobuf syntax declaration. This occurs when a victim or automated job processes the schema with Protobuf input support, which requires the grpcio-tools package. The effect remains even if subsequent Protobuf compilation fails. The written content is limited to proto2 or proto3 syntax declarations.
Recommendations Update to version 0.81.0.
قابلية الاستغلال
استغلال
إصلاح
التأثيرات
المورّدون
المنتجات المتأثرة
المعرّفات ذات الصلة
GHSA-77XJ-X4RM-935C
ECHO-B8C0-0024-5488
OPENSUSE-SU-2026:12096-1
PYSEC-2026-4205
وجدت خطأً في الوصف؟ لديك ما تضيفه؟ لا تتردد في مراسلتنا 👾