{"id":"CVE-2024-32022","published":"2024-04-16T14:46:29Z","modified":"2024-08-02T01:59:50Z","title":"Kohya_ss is vulnerable to a command injection in basic_caption_gui.py (GHSL-2024-019)","vendor":"bmaltais","product":"kohya_ss","tier":"tail","description":{"text":"Kohya_ss is a GUI for Kohya's Stable Diffusion trainers. Kohya_ss  is vulnerable to command injection in basic_caption_gui.py. This vulnerability is fixed in 23.1.5.","provenance":"source","from":"CVE.org"},"cvss":{"score":9.1,"severity":"CRITICAL","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.03114,"percentile":0.88115,"provenance":"source"},"cwes":[{"id":"CWE-77","name":"Improper Neutralization of Special Elements used in a Command"}],"references":[{"url":"https://github.com/bmaltais/kohya_ss/security/advisories/GHSA-m6jq-7j4v-2fg3","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/bmaltais/kohya_ss/commit/831af8babeb75faff62bcc6a8c6a4f80354f1ff1","tags":["x_refsource_MISC"]},{"url":"https://securitylab.github.com/advisories/GHSL-2024-019_GHSL-2024-024_kohya_ss","tags":["x_refsource_MISC"]}],"priority":{"score":29.0,"factors":[{"name":"EPSS percentile","points":17.62},{"name":"Public exploit code","points":5.0},{"name":"CVSS severity","points":6.37}]},"exploitSources":{"pocGithub":{"count":1,"skipped":0,"earliest":"2025-09-22","earliestUrl":"https://github.com/sylwia-budzynska/codeql-workshop","repos":[{"name":"sylwia-budzynska/codeql-workshop","url":"https://github.com/sylwia-budzynska/codeql-workshop","stars":16,"created":"2025-09-22"}]},"first":{"date":"2025-09-22","source":"PoC-in-GitHub","url":"https://github.com/sylwia-budzynska/codeql-workshop"},"provenance":"source"},"vendorSlug":"bmaltais","affectedVersions":[{"vendor":"bmaltais","product":"kohya_ss","versions":[">= 22.6.1, < 23.1.5"]}],"ssvc":{"exploitation":"poc","automatable":"yes","technicalImpact":"total","timestamp":"2024-07-03T15:37:35.962542Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2024-29860","exploited":false,"provenance":"source"}}