{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "extracted_events": [
              {
                "range": [
                  {
                    "introduced": "0"
                  },
                  {
                    "fixed": "4.1.1"
                  }
                ],
                "source": "AFFECTED_FIELD",
                "strategy": "StandardRange"
              },
              {
                "range": [
                  {
                    "fixed": "7878d9d73fd5deaa62f35bea88b8a93a4833d4e9"
                  }
                ],
                "source": "REFERENCES_COMMIT"
              },
              {
                "original_tag": "v4.1.1",
                "range": [
                  {
                    "fixed": "049984e01373fc1cd97b94b60c0b3124036b0f47"
                  }
                ],
                "source": "REFERENCES_TAG"
              }
            ]
          },
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "049984e01373fc1cd97b94b60c0b3124036b0f47"
            },
            {
              "fixed": "7878d9d73fd5deaa62f35bea88b8a93a4833d4e9"
            }
          ],
          "repo": "https://github.com/openspug/spug",
          "type": "GIT"
        }
      ]
    }
  ],
  "aliases": [
    "GHSA-cpvp-p8jv-vhxg"
  ],
  "database_specific": {
    "cna_assigner": "VulnCheck",
    "cwe_ids": [
      "CWE-201"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/136xxx/CVE-2026-136188.json"
  },
  "details": "Spug before 4.1.1 contains an information disclosure vulnerability that allows authenticated non-administrator users to read per-host SSH private keys through the GET /api/host/ endpoint. Users granted a host can read the cleartext pkey field returned by Host.to_view and log in directly over SSH, bypassing Spug's permissions and audit trail even after revocation.",
  "id": "CVE-2026-136188",
  "modified": "2026-11-25T20:45:37.638798863Z",
  "published": "2026-11-24T17:05:17.342Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/136xxx/CVE-2026-136188.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/openspug/spug/releases/tag/v4.1.1"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/openspug/spug/security/advisories/GHSA-cpvp-p8jv-vhxg"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-136188"
    },
    {
      "type": "ADVISORY",
      "url": "https://www.vulncheck.com/advisories/spug-before-4.1.1-ssh-private-key-disclosure-via-host-api"
    },
    {
      "type": "FIX",
      "url": "https://github.com/openspug/spug/commit/7878d9d73fd5deaa62f35bea88b8a93a4833d4e9"
    },
    {
      "type": "PACKAGE",
      "url": "https://github.com/openspug/spug"
    },
    {
      "type": "ARTICLE",
      "url": "https://github.com/openspug/spug/blob/v4.1.0/spug_api/apps/host/models.py#L31-L36"
    },
    {
      "type": "ARTICLE",
      "url": "https://github.com/openspug/spug/blob/v4.1.0/spug_api/apps/host/views.py#L26-L34"
    }
  ],
  "schema_version": "1.9.2",
  "severity": [
    {
      "score": "CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N",
      "type": "CVSS_V4"
    }
  ],
  "summary": "Spug before 4.1.1 SSH Private Key Disclosure via Host API"
}