CVE-2024-32023
Kohya_ss vulnerable to path injection in `common_gui.py` `find_and_replace` function (`GHSL-2024-024`)
Description
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.
INFO
Published Date :
April 16, 2024, 3:15 p.m.
Last Modified :
Sept. 8, 2025, 8:29 p.m.
Remotely Exploit :
Yes !
Source :
[email protected]
CVSS Scores
Score | Version | Severity | Vector | Exploitability Score | Impact Score | Source |
---|---|---|---|---|---|---|
CVSS 3.1 | MEDIUM | [email protected] | ||||
CVSS 3.1 | MEDIUM | [email protected] |
References to Advisories, Solutions, and Tools
Here, you will find a curated list of external links that provide in-depth
information, practical solutions, and valuable tools related to
CVE-2024-32023
.
URL | 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 |
CWE - Common Weakness Enumeration
While CVE identifies
specific instances of vulnerabilities, CWE categorizes the common flaws or
weaknesses that can lead to vulnerabilities. CVE-2024-32023
is
associated with the following CWEs:
Common Attack Pattern Enumeration and Classification (CAPEC)
Common Attack Pattern Enumeration and Classification
(CAPEC)
stores attack patterns, which are descriptions of the common attributes and
approaches employed by adversaries to exploit the CVE-2024-32023
weaknesses.
We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).
Results are limited to the first 15 repositories due to potential performance issues.
The following list is the news that have been mention
CVE-2024-32023
vulnerability anywhere in the article.
The following table lists the changes that have been made to the
CVE-2024-32023
vulnerability over time.
Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.
-
Initial Analysis by [email protected]
Sep. 08, 2025
Action Type Old Value New Value Added CVSS V3.1 AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N Added CPE Configuration OR *cpe:2.3:a:bmaltais:kohya_ss:*:*:*:*:*:*:*:* versions from (including) 22.6.1 up to (excluding) 24.0.1 Added Reference Type CVE: https://github.com/bmaltais/kohya_ss/commit/8bc67a7467f8366db1a4b9b3b14525ec763f1650 Types: Patch Added Reference Type GitHub, Inc.: https://github.com/bmaltais/kohya_ss/commit/8bc67a7467f8366db1a4b9b3b14525ec763f1650 Types: Patch Added Reference Type CVE: https://github.com/bmaltais/kohya_ss/security/advisories/GHSA-p945-7qm7-7j53 Types: Third Party Advisory Added Reference Type GitHub, Inc.: https://github.com/bmaltais/kohya_ss/security/advisories/GHSA-p945-7qm7-7j53 Types: Third Party Advisory Added Reference Type CVE: https://securitylab.github.com/advisories/GHSL-2024-019_GHSL-2024-024_kohya_ss Types: Exploit, Third Party Advisory Added Reference Type GitHub, Inc.: https://securitylab.github.com/advisories/GHSL-2024-019_GHSL-2024-024_kohya_ss Types: Exploit, Third Party Advisory -
CVE Modified by af854a3a-2127-422b-91ae-364da2661108
Nov. 21, 2024
Action Type Old Value New Value Added Reference https://github.com/bmaltais/kohya_ss/commit/8bc67a7467f8366db1a4b9b3b14525ec763f1650 Added Reference https://github.com/bmaltais/kohya_ss/security/advisories/GHSA-p945-7qm7-7j53 Added Reference https://securitylab.github.com/advisories/GHSL-2024-019_GHSL-2024-024_kohya_ss -
CVE Modified by [email protected]
May. 14, 2024
Action Type Old Value New Value -
CVE Modified by [email protected]
Apr. 19, 2024
Action Type Old Value New Value Added Reference GitHub, Inc. https://securitylab.github.com/advisories/GHSL-2024-019_GHSL-2024-024_kohya_ss [No types assigned] -
CVE Received by [email protected]
Apr. 16, 2024
Action Type Old Value New Value Added Description 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. Added Reference GitHub, Inc. https://github.com/bmaltais/kohya_ss/security/advisories/GHSA-p945-7qm7-7j53 [No types assigned] Added Reference GitHub, Inc. https://github.com/bmaltais/kohya_ss/commit/8bc67a7467f8366db1a4b9b3b14525ec763f1650 [No types assigned] Added CWE GitHub, Inc. CWE-22 Added CVSS V3.1 GitHub, Inc. AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N