Critical
Kohya_ss is vulnerable to a command injection in `finetune_gui.py` (`GHSL-2024-022`)
Type: advisorySources: OSV
Kohya_ss is a GUI for Kohya's Stable Diffusion trainers. Kohya_ss v22.6.1 is vulnerable to command injection in `finetune_gui.py` This vulnerability is fixed in 23.1.5.
- Products
- Not specified
- Affected versions
- Not specified
- Fixed versions
- Not specified
- CVEs
- CVE-2024-32027
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 2 Nov 2026, 19:58 UTC · Revision 1
Source evidence
Kohya_ss is vulnerable to a command injection in `finetune_gui.py` (`GHSL-2024-022`)
core-osv · Original sourcePublished 16 Apr 2024, 14:46 UTC
Kohya_ss is a GUI for Kohya's Stable Diffusion trainers. Kohya_ss v22.6.1 is vulnerable to command injection in `finetune_gui.py` This vulnerability is fixed in 23.1.5.
osv:CVE-2024-32027
Complete source record
{
"id": "bc4f83f309498387f7beaf57efb39d5c6c32fca2270c8e87ff85ef22df921856",
"url": "https://osv.dev/vulnerability/CVE-2024-32027",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "Kohya_ss is vulnerable to a command injection in `finetune_gui.py` (`GHSL-2024-022`)",
"summary": "Kohya_ss is a GUI for Kohya's Stable Diffusion trainers. Kohya_ss v22.6.1 is vulnerable to command injection in `finetune_gui.py` This vulnerability is fixed in 23.1.5.",
"evidence": "osv:CVE-2024-32027",
"products": [],
"severity": "critical",
"structured": {
"id": "CVE-2024-32027",
"aliases": [
"CVE-2024-32027",
"GHSA-8h78-3vqm-xw83"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://github.com/bmaltais/kohya_ss",
"type": "GIT",
"events": [
{
"introduced": "6d0a9ba0d2d3fea61d5b0e18e989a34f760d5c61"
},
{
"fixed": "1898851aa6626213c3bbd7d5e00d95e6b082f053"
},
{
"fixed": "831af8babeb75faff62bcc6a8c6a4f80354f1ff1"
}
],
"database_specific": {
"extracted_events": [
{
"cpe": "cpe:2.3:a:bmaltais:kohya_ss:*:*:*:*:*:*:*:*",
"range": [
{
"introduced": "22.6.1"
},
{
"fixed": "24.0.1"
}
],
"source": "CPE_RANGE"
},
{
"range": [
{
"fixed": "831af8babeb75faff62bcc6a8c6a4f80354f1ff1"
}
],
"source": "REFERENCES_COMMIT"
}
]
}
}
],
"versions": [
"v24.0.0",
"v23.1.5",
"v22.1.5",
"v23.1.3",
"v23.1.2",
"v23.1.1",
"v23.1.0",
"v23.0.15",
"v23.0.14",
"v23.0.13",
"v23.0.12",
"v23.0.11",
"v23.0.10",
"v23.0.9",
"v23.0.8",
"v23.0.7",
"v23.0.6",
"v23.0.5",
"23.0.4",
"v23.0.3",
"v23.0.2",
"v23.0.1",
"v23.0.0",
"v22.6.2",
"v22.6.1"
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-32027.json"
}
}
],
"modified": "2026-10-28T02:30:23.390024585Z",
"provider": "osv",
"references": [
"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/32xxx/CVE-2024-32027.json",
"https://github.com/bmaltais/kohya_ss/security/advisories/GHSA-8h78-3vqm-xw83",
"https://nvd.nist.gov/vuln/detail/CVE-2024-32027",
"https://securitylab.github.com/advisories/GHSL-2024-019_GHSL-2024-024_kohya_ss",
"https://github.com/bmaltais/kohya_ss/commit/831af8babeb75faff62bcc6a8c6a4f80354f1ff1"
],
"provider_metadata": {
"cwe_ids": [
"CWE-77"
],
"cna_assigner": "GitHub_M",
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/32xxx/CVE-2024-32027.json"
}
},
"related_cves": [
{
"value": "CVE-2024-32027",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 489474,
"published_at": "2024-04-16T14:46:24.185+00:00"
}