CVE-2026-136188: Spug before 4.1.1 SSH Private Key Disclosure via Host API

Published Nov 24, 2026
·
Updated

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.toview and log in directly over SSH, bypassing Spug's permissions and audit trail even after revocation.

Affected Software

1 affected component
Spug Spug<4.1.1

Event History

Nov 24, 2026
CVE Published
via MITRE·05:05 PM
Data Sourced
via MITRE·05:05 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·05:18 PM
DescriptionSeverityWeakness
Event
via NVD·05:18 PM

Frequently Asked Questions

1

Who can exploit this issue?

Any authenticated non-administrator user who has been granted access to a host can request the host API endpoint and read that host's cleartext SSH private key. An external unauthenticated attacker is not described as able to exploit it.

2

What can an attacker do with a disclosed key?

They can use the private key to log in directly to the affected host over SSH. This bypasses Spug permission controls and its audit trail, including after the user's Spug access has been revoked.

3

Which versions should be remediated?

Spug versions before 4.1.1 are affected. Upgrade to version 4.1.1 or later.

4

How can I determine whether keys may have been exposed?

Review whether non-administrator users were granted host access on an affected Spug version, because those users could retrieve the pkey field through GET /api/host/. Treat SSH keys for hosts accessible to such users as potentially disclosed.

5

What should I do if exposure is suspected?

Upgrade Spug to 4.1.1 or later and rotate SSH private keys for potentially affected hosts. Rotating the keys is necessary because previously retrieved keys can still be used for direct SSH access after Spug permissions are revoked.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203