{"id":"CVE-2026-31226","aliases":["CVE-2026-31226"],"related":[],"kind":"vulnerability","state":"published","title":"The TinyZero project thru commit 6652a63c57fa7e5ccde3fc9c598c7176ff15b839 (2025-58-24) contains a critical command injection vulnerability…","summary":"The TinyZero project thru commit 6652a63c57fa7e5ccde3fc9c598c7176ff15b839 (2025-58-24) contains a critical command injection vulnerability (CWE-78) in its HDFS file operation utilities. The vulnerability arises from the unsafe construction and execution of shell commands via os.system() without proper input sanitization or escaping. User-controlled input (such as file paths) is directly interpolated into shell command strings using f-strings within the _copy() function. An attacker can inject arbitrary OS commands by supplying a specially crafted path parameter through the Hydra configuration framework. This leads to remote code execution with the privileges of the user running the TinyZero training process.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"The TinyZero project thru commit 6652a63c57fa7e5ccde3fc9c598c7176ff15b839 (2025-58-24) contains a critical command injection vulnerability (CWE-78) in its HDFS file operation utilities. The vulnerability arises from the unsafe construction and execution of shell commands via os.system() without proper input sanitization or escaping. User-controlled input (such as file paths) is directly interpolated into shell command strings using f-strings within the _copy() function. An attacker can inject arbitrary OS commands by supplying a specially crafted path parameter through the Hydra configuration framework. This leads to remote code execution with the privileges of the user running the TinyZero training process.","source":"cvelist"}],"published":"2026-05-12T00:00:00.000Z","modified":"2026-06-17T10:33:28.070Z","severity":{"scorer":"CISA-ADP","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":9.8,"rating":"CRITICAL"},"severities":[{"scorer":"CISA-ADP","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":9.8,"rating":"CRITICAL"}],"cwes":["CWE-78"],"affected":[{"ranges":[{"version":"n/a","status":"affected"}],"source":"cvelist"}],"references":[{"url":"https://github.com/Jiayi-Pan/TinyZero","tags":[],"sources":["cvelist","nvd"]},{"url":"https://www.notion.so/CVE-2026-31226-35d1e139318881d19af5d63095c74579","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"mitre","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"yes","technicalImpact":"total","date":"2026-05-13T14:07:49.155Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-31226","url":"https://www.cve.org/CVERecord?id=CVE-2026-31226","licence":"CVE Terms of Use","modified":"2026-05-13T14:08:46.542Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-31226","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-31226","licence":"Public domain","modified":"2026-06-17T10:33:28.070Z"}],"updatedAt":"2026-11-25T22:59:21.368Z","epss":{"score":0.01158,"percentile":0.67989,"date":"2026-12-01T12:00:22.000Z"}}