{"id":"CVE-2024-32023","summary":"Kohya_ss vulnerable to path injection in `common_gui.py` `find_and_replace` function (`GHSL-2024-024`)","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` `find_and_replace` function. This vulnerability is fixed in 23.1.5.","aliases":["GHSA-p945-7qm7-7j53"],"modified":"2026-08-12T03:51:44.575090098Z","published":"2024-04-16T14:39:21.366Z","database_specific":{"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/32xxx/CVE-2024-32023.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-32023.json"},{"type":"ADVISORY","url":"https://github.com/bmaltais/kohya_ss/security/advisories/GHSA-p945-7qm7-7j53"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-32023"},{"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/8bc67a7467f8366db1a4b9b3b14525ec763f1650"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/bmaltais/kohya_ss","events":[{"introduced":"6d0a9ba0d2d3fea61d5b0e18e989a34f760d5c61"},{"fixed":"1898851aa6626213c3bbd7d5e00d95e6b082f053"},{"fixed":"8bc67a7467f8366db1a4b9b3b14525ec763f1650"}],"database_specific":{"cpe":"cpe:2.3:a:bmaltais:kohya_ss:*:*:*:*:*:*:*:*","extracted_events":[{"introduced":"22.6.1"},{"fixed":"24.0.1"}],"source":["CPE_RANGE","REFERENCES"]}}],"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-32023.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"}]}