6.5
MEDIUM CVSS 3.1
CVE-2024-32024
Kohya_ss vulenrable to path injection in `common_gui.py` `add_pre_postfix` function (`GHSL-2024-023`)
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` `add_pre_postfix` 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:23 p.m.

Remotely Exploit :

Yes !
Affected Products

The following products are affected by CVE-2024-32024 vulnerability. Even if cvefeed.io is aware of the exact versions of the products that are affected, the information is not represented in the table below.

ID Vendor Product Action
1 Bmaltais kohya_ss
CVSS Scores
The Common Vulnerability Scoring System is a standardized framework for assessing the severity of vulnerabilities in software and systems. We collect and displays CVSS scores from various sources for each CVE.
Score Version Severity Vector Exploitability Score Impact Score Source
CVSS 3.1 MEDIUM [email protected]
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-32024 is associated with the following CWEs:

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-32024 vulnerability anywhere in the article.

The following table lists the changes that have been made to the CVE-2024-32024 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 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/25bb1303fff21cb5bae17236d53504e85c1866df Types: Patch
    Added Reference Type GitHub, Inc.: https://github.com/bmaltais/kohya_ss/commit/25bb1303fff21cb5bae17236d53504e85c1866df Types: Patch
    Added Reference Type CVE: https://github.com/bmaltais/kohya_ss/security/advisories/GHSA-h9fp-j58h-wwrc Types: Third Party Advisory
    Added Reference Type GitHub, Inc.: https://github.com/bmaltais/kohya_ss/security/advisories/GHSA-h9fp-j58h-wwrc 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/25bb1303fff21cb5bae17236d53504e85c1866df
    Added Reference https://github.com/bmaltais/kohya_ss/security/advisories/GHSA-h9fp-j58h-wwrc
    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` `add_pre_postfix` function. This vulnerability is fixed in 23.1.5.
    Added Reference GitHub, Inc. https://github.com/bmaltais/kohya_ss/security/advisories/GHSA-h9fp-j58h-wwrc [No types assigned]
    Added Reference GitHub, Inc. https://github.com/bmaltais/kohya_ss/commit/25bb1303fff21cb5bae17236d53504e85c1866df [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
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days. Following chart shows the EPSS score history of the vulnerability.
Vulnerability Scoring Details
Base CVSS Score: 6.5
Attack Vector
Attack Complexity
Privileges Required
User Interaction
Scope
Confidentiality Impact
Integrity Impact
Availability Impact