{"id":"CVE-2024-32024","summary":"Kohya_ss vulenrable to path injection in `common_gui.py` `add_pre_postfix` function (`GHSL-2024-023`)","details":"Kohya_ss is a GUI for Kohya's Stable Diffusion trainers. Kohya_ss is vulnerable to a path injection in the `common_gui.py` `add_pre_postfix` function. This vulnerability is fixed in 23.1.5.","aliases":["GHSA-h9fp-j58h-wwrc"],"modified":"2026-08-12T03:51:26.368748450Z","published":"2024-04-16T14:42:20.969Z","database_specific":{"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/32xxx/CVE-2024-32024.json","cna_assigner":"GitHub_M","cwe_ids":["CWE-22"]},"references":[{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/32xxx/CVE-2024-32024.json"},{"type":"ADVISORY","url":"https://github.com/bmaltais/kohya_ss/security/advisories/GHSA-h9fp-j58h-wwrc"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-32024"},{"type":"ADVISORY","url":"https://securitylab.github.com/advisories/GHSL-2024-019_GHSL-2024-024_kohya_ss"},{"type":"FIX","url":"https://github.com/bmaltais/kohya_ss/commit/25bb1303fff21cb5bae17236d53504e85c1866df"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/bmaltais/kohya_ss","events":[{"introduced":"6d0a9ba0d2d3fea61d5b0e18e989a34f760d5c61"},{"fixed":"1898851aa6626213c3bbd7d5e00d95e6b082f053"},{"fixed":"25bb1303fff21cb5bae17236d53504e85c1866df"}],"database_specific":{"source":["CPE_RANGE","REFERENCES"],"cpe":"cpe:2.3:a:bmaltais:kohya_ss:*:*:*:*:*:*:*:*","extracted_events":[{"introduced":"22.6.1"},{"fixed":"24.0.1"}]}}],"versions":["v24.0.0","v23.1.5","v22.1.5","v23.1.3","v23.1.2","v23.1.1","v23.1.0","v23.0.15","v23.0.14","v23.0.13","v23.0.12","v23.0.11","v23.0.10","v23.0.9","v23.0.8","v23.0.7","v23.0.6","v23.0.5","23.0.4","v23.0.3","v23.0.2","v23.0.1","v23.0.0","v22.6.2","v22.6.1"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-32024.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N"}]}