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.
                
            References
                    | Link | Resource | 
|---|---|
| https://github.com/bmaltais/kohya_ss/commit/8bc67a7467f8366db1a4b9b3b14525ec763f1650 | Patch | 
| https://github.com/bmaltais/kohya_ss/security/advisories/GHSA-p945-7qm7-7j53 | Third Party Advisory | 
| https://securitylab.github.com/advisories/GHSL-2024-019_GHSL-2024-024_kohya_ss | Exploit Third Party Advisory | 
| https://github.com/bmaltais/kohya_ss/commit/8bc67a7467f8366db1a4b9b3b14525ec763f1650 | Patch | 
| https://github.com/bmaltais/kohya_ss/security/advisories/GHSA-p945-7qm7-7j53 | Third Party Advisory | 
| https://securitylab.github.com/advisories/GHSL-2024-019_GHSL-2024-024_kohya_ss | Exploit Third Party Advisory | 
Configurations
                    History
                    08 Sep 2025, 20:29
| Type | Values Removed | Values Added | 
|---|---|---|
| First Time | Bmaltais kohya Ss Bmaltais | |
| CPE | cpe:2.3:a:bmaltais:kohya_ss:*:*:*:*:*:*:*:* | |
| References | () https://github.com/bmaltais/kohya_ss/commit/8bc67a7467f8366db1a4b9b3b14525ec763f1650 - Patch | |
| References | () https://github.com/bmaltais/kohya_ss/security/advisories/GHSA-p945-7qm7-7j53 - Third Party Advisory | |
| References | () https://securitylab.github.com/advisories/GHSL-2024-019_GHSL-2024-024_kohya_ss - Exploit, Third Party Advisory | 
21 Nov 2024, 09:14
| Type | Values Removed | Values Added | 
|---|---|---|
| References | () https://github.com/bmaltais/kohya_ss/commit/8bc67a7467f8366db1a4b9b3b14525ec763f1650 - | |
| References | () https://github.com/bmaltais/kohya_ss/security/advisories/GHSA-p945-7qm7-7j53 - | |
| References | () https://securitylab.github.com/advisories/GHSL-2024-019_GHSL-2024-024_kohya_ss - | 
19 Apr 2024, 16:15
| Type | Values Removed | Values Added | 
|---|---|---|
| References | 
 | 
17 Apr 2024, 12:48
| Type | Values Removed | Values Added | 
|---|---|---|
| Summary | 
 | 
16 Apr 2024, 15:15
| Type | Values Removed | Values Added | 
|---|---|---|
| New CVE | 
Information
                Published : 2024-04-16 15:15
Updated : 2025-09-08 20:29
NVD link : CVE-2024-32023
Mitre link : CVE-2024-32023
CVE.ORG link : CVE-2024-32023
JSON object : View
Products Affected
                bmaltais
- kohya_ss
CWE
                
                    
                        
                        CWE-22
                        
            Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')
