CVE-2026-136187: Spug 4.0.0 before 4.1.1 OS Command Injection via Credential Check Endpoint
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.
Affected Software
Event History
Frequently Asked Questions
Which deployments are exposed?
Spug versions 4.0.0 through versions before 4.1.1 are affected. The vulnerable functionality is the credential check API endpoint at /api/credential/check/.
What level of access does an attacker need?
An attacker must be authenticated as any Spug user. No user interaction is required.
What privileges could injected commands receive?
Commands execute as the Spug service account. In Docker deployments where that account is root, injected commands run with root privileges.
Which version addresses the issue?
Upgrade to Spug 4.1.1 or later.