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.
                
            References
                    | Link | Resource | 
|---|---|
| https://github.com/bmaltais/kohya_ss/commit/25bb1303fff21cb5bae17236d53504e85c1866df | Patch | 
| https://github.com/bmaltais/kohya_ss/security/advisories/GHSA-h9fp-j58h-wwrc | 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/25bb1303fff21cb5bae17236d53504e85c1866df | Patch | 
| https://github.com/bmaltais/kohya_ss/security/advisories/GHSA-h9fp-j58h-wwrc | 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:23
| Type | Values Removed | Values Added | 
|---|---|---|
| CPE | cpe:2.3:a:bmaltais:kohya_ss:*:*:*:*:*:*:*:* | |
| First Time | Bmaltais kohya Ss Bmaltais | |
| References | () https://github.com/bmaltais/kohya_ss/commit/25bb1303fff21cb5bae17236d53504e85c1866df - Patch | |
| References | () https://github.com/bmaltais/kohya_ss/security/advisories/GHSA-h9fp-j58h-wwrc - 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/25bb1303fff21cb5bae17236d53504e85c1866df - | |
| References | () https://github.com/bmaltais/kohya_ss/security/advisories/GHSA-h9fp-j58h-wwrc - | |
| 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:23
NVD link : CVE-2024-32024
Mitre link : CVE-2024-32024
CVE.ORG link : CVE-2024-32024
JSON object : View
Products Affected
                bmaltais
- kohya_ss
CWE
                
                    
                        
                        CWE-22
                        
            Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')
