{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "extracted_events": [
              {
                "range": [
                  {
                    "introduced": "4.0.0"
                  },
                  {
                    "fixed": "4.1.1"
                  }
                ],
                "source": "AFFECTED_FIELD",
                "strategy": "StandardRange"
              },
              {
                "range": [
                  {
                    "fixed": "8e4c8199995406abea26a2d3e0f6ed487577d853"
                  }
                ],
                "source": "REFERENCES_COMMIT"
              },
              {
                "original_tag": "v4.1.1",
                "range": [
                  {
                    "fixed": "049984e01373fc1cd97b94b60c0b3124036b0f47"
                  }
                ],
                "source": "REFERENCES_TAG"
              }
            ]
          },
          "events": [
            {
              "introduced": "8b9bb0af8b11455919fbede2f7a5645d1cff9d60"
            },
            {
              "fixed": "049984e01373fc1cd97b94b60c0b3124036b0f47"
            },
            {
              "fixed": "8e4c8199995406abea26a2d3e0f6ed487577d853"
            }
          ],
          "repo": "https://github.com/openspug/spug",
          "type": "GIT"
        }
      ]
    }
  ],
  "aliases": [
    "GHSA-xp2v-72m9-wqfv"
  ],
  "database_specific": {
    "cna_assigner": "VulnCheck",
    "cwe_ids": [
      "CWE-78"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/136xxx/CVE-2026-136187.json"
  },
  "details": "Spug 4.0.0 before 4.1.1 contains an OS command injection vulnerability that allows any authenticated user to execute commands by supplying a crafted git URL to the /api/credential/check/ endpoint. Attackers can inject shell metacharacters into the data field passed to git ls-remote with shell=True, executing commands as the Spug service account, which is root in Docker deployments.",
  "id": "CVE-2026-136187",
  "modified": "2026-11-24T21:45:41.248678851Z",
  "published": "2026-11-24T17:05:18.588Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/136xxx/CVE-2026-136187.json"
    },
    {
      "type": "PACKAGE",
      "url": "https://github.com/openspug/spug"
    },
    {
      "type": "ARTICLE",
      "url": "https://github.com/openspug/spug/blob/v4.1.0/spug_api/apps/credential/views.py#L47-L60"
    },
    {
      "type": "ARTICLE",
      "url": "https://github.com/openspug/spug/blob/v4.1.0/spug_api/libs/gitlib.py#L197-L208"
    },
    {
      "type": "FIX",
      "url": "https://github.com/openspug/spug/commit/8e4c8199995406abea26a2d3e0f6ed487577d853"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/openspug/spug/releases/tag/v4.1.1"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/openspug/spug/security/advisories/GHSA-xp2v-72m9-wqfv"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-136187"
    },
    {
      "type": "ADVISORY",
      "url": "https://www.vulncheck.com/advisories/spug-4.0.0-before-4.1.1-os-command-injection-via-credential-check-endpoint"
    }
  ],
  "schema_version": "1.9.2",
  "severity": [
    {
      "score": "CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N",
      "type": "CVSS_V4"
    }
  ],
  "summary": "Spug 4.0.0 before 4.1.1 OS Command Injection via Credential Check Endpoint"
}