CVE-2024-32022
Published: 16 April 2024
Summary
CVE-2024-32022 is a critical-severity Command Injection (CWE-77) vulnerability in Bmaltais Kohya Ss. Its CVSS base score is 9.1 (Critical).
Operationally, exploitation aligns with the MITRE ATT&CK technique Unix Shell (T1059.004); ranked in the top 11.6% of CVEs by exploit likelihood; it is not currently listed in the CISA KEV catalog; a public proof-of-concept is referenced.
This vulnerability is AI-related — categorised as Computer Vision; in the Other ATLAS/OWASP Terms risk domain.
EU & UK References
- 🇪🇺 ENISA EUVD: EUVD-2024-29860
Vulnerability details
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.
- CWE(s)
AI Security AnalysisAI
- AI Category
- Computer Vision
- Risk Domain
- Other ATLAS/OWASP Terms
- OWASP Top 10 for LLMs 2025
- None mapped
- Classification Reason
- Kohya_ss is a GUI for Kohya's Stable Diffusion trainers, where Stable Diffusion is a generative AI model for image generation, aligning with Computer Vision category.
Related Threats
MITRE ATT&CK Enterprise TechniquesAI
Why these techniques?
The vulnerability enables arbitrary command injection via unsanitized user inputs (e.g., images_dir, train_data_dir) directly concatenated into shell commands executed with os.system on POSIX systems, facilitating Unix Shell abuse.
Affected Assets
Mitigating Controls
No mitigating controls mapped yet. The per-CVE control annotator has not reached this CVE.