Cyber Resilience

CVE-2024-32022

CriticalPublic PoCRCE

Published: 16 April 2024

Published
16 April 2024
Modified
19 September 2025
KEV Added
Patch
CVSS Score v3.1 9.1 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
EPSS Score 0.0383 88.4th percentile
Risk Priority 20 60% EPSS · 20% KEV · 20% CVSS

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

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

T1059.004 Unix Shell Execution
Adversaries may abuse Unix shell commands and scripts for execution.
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

bmaltais
kohya ss
22.6.1 — 23.1.15

Mitigating Controls

No mitigating controls mapped yet. The per-CVE control annotator has not reached this CVE.

References