CVE-2026-136188
CVE-2026-136188 · Spug before 4.1.1 SSH Private Key Disclosure via Host API
CVSS 7.1 · High · EPSS 0.7% · Fix available
Compare with your installed version
Affected products and known fixed versions are public information. Compare them with your installed version.
- spugUpdate to 4.1.1
Assess your server’s risks
The free check gives you a rating and a risk summary by technology stack, without signing up. It does not answer whether this particular vulnerability affects you.
Monitoring matches public information against your servers’ software. Detailed findings for your servers include the order of updates.
curl -fsSL https://patchfirst.dev/check.sh | shChannels carry general technology news; monitoring reports new findings on your servers in your dashboard, through browser notifications, in Telegram or via a webhook.
This page contains facts from public vulnerability sources. Check the original advisory before updating.
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.
- Published
- Updated
Affected products and versions
spug
- Versions
- ≥ 0, < 4.1.1: Affected (semver)
Update to 4.1.1
Original sources
- https://github.com/openspug/spug/security/advisories/GHSA-cpvp-p8jv-vhxg
- https://github.com/openspug/spug/commit/7878d9d73fd5deaa62f35bea88b8a93a4833d4e9
- https://github.com/openspug/spug/releases/tag/v4.1.1
- https://github.com/openspug/spug/blob/v4.1.0/spug_api/apps/host/views.py#L26-L34
- https://github.com/openspug/spug/blob/v4.1.0/spug_api/apps/host/models.py#L31-L36
- https://www.vulncheck.com/advisories/spug-before-4.1.1-ssh-private-key-disclosure-via-host-api
- https://nvd.nist.gov/vuln/detail/CVE-2026-136188