{
  "affected": [
    {
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "831af8babeb75faff62bcc6a8c6a4f80354f1ff1"
            }
          ],
          "repo": "https://github.com/bmaltais/kohya_ss",
          "type": "GIT"
        },
        {
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "831af8babeb75faff62bcc6a8c6a4f80354f1ff1"
            }
          ],
          "repo": "https://github.com/bmaltais/kohya_ss",
          "type": "GIT"
        }
      ]
    }
  ],
  "aliases": [
    "GHSA-m6jq-7j4v-2fg3"
  ],
  "database_specific": {
    "cna_assigner": "GitHub_M",
    "cwe_ids": [
      "CWE-77"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/32xxx/CVE-2024-32022.json"
  },
  "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.",
  "id": "CVE-2024-32022",
  "modified": "2026-04-01T23:08:04.290534999Z",
  "published": "2024-04-16T14:46:29.957Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/32xxx/CVE-2024-32022.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/bmaltais/kohya_ss/security/advisories/GHSA-m6jq-7j4v-2fg3"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2024-32022"
    },
    {
      "type": "ADVISORY",
      "url": "https://securitylab.github.com/advisories/GHSL-2024-019_GHSL-2024-024_kohya_ss"
    },
    {
      "type": "FIX",
      "url": "https://github.com/bmaltais/kohya_ss/commit/831af8babeb75faff62bcc6a8c6a4f80354f1ff1"
    }
  ],
  "schema_version": "1.7.3",
  "severity": [
    {
      "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N",
      "type": "CVSS_V3"
    }
  ],
  "summary": "Kohya_ss is vulnerable to a command injection in basic_caption_gui.py (GHSL-2024-019)"
}