Read the docs

OS command injection in Spug credential check endpoint

Priority MEDIUM 44CWE-78Published · Updated

Key facts

Attack vector
Network
Privileges required
Low
User interaction
None
Attack complexity
Low
Attack requirements
None
Impact type
Code execution
Confidentiality · integrity · availability
High · High · High
Fix status
Fixed

Attack profile from CVSS 4.0 · CNA. Fix status from CNA. Impact type from CWE-78.

Summary

Spug from 4.0.0 before 4.1.1 contains an OS command injection flaw (CWE-78) in the credential check endpoint /api/credential/check/. Any authenticated user can run commands by supplying a crafted git URL that is passed to git ls-remote with shell=True. Commands run as the Spug service account, which is root in Docker deployments.

Written with Claude Haiku 5.5 from the sources below · 2026-11-24

Description from the CNA

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.

Why it matters now

Exploitation None reported CISA SSVC · not in CISA KEV
EPSS 0.02161 82nd percentileScored 2026-11-30
Fix Fixed spug (openspug): 4.1.1

SSVC decision points

CISA ADP · SSVC 2.0.3

Exploitation
None
Automatable
No
Technical impact
Total

The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.

Affected products

VendorProductAffected versionsFixed inStatusSource
openspugspug4.0.0 to before 4.1.14.1.1Patch availableCNA
  • spug Vendoropenspug Affected 4.0.0 to before 4.1.1 Fixed in 4.1.1 Patch available CNA

Remediation

Upgrade openspug spug to version 4.1.1, which fixes this flaw.

Written with Claude Haiku 5.5 from the sources below · 2026-11-24

  • Fix · CNA spug (openspug) Fixed in 4.1.1

Fixed in the same release

Records fixed by the same vendor advisory or release, as the CNA lists them.

  • Release ·

    openspug spug 4.1.1

    2 records Highest priority Priority MEDIUM 1 MEDIUM, 1 LOW

    Other records, highest priority first

    • TI-2026-97538 SSH private key disclosure in openspug Spug via host APIPriority LOW 32

Timeline

  1. 2026-11-24 Threatist record created from CVE-2026-136187
  2. 2026-11-24 Alias added: GHSA-j98f-4g4m-xxhj
  3. 2026-11-24 CISA SSVC decision points changed

References

  • TI-2026-70539 OS command injection in OpenSpug Spug File Transfer CVSS 4.0CRITICAL 9.4
  • TI-2026-61677 Spug through 3.4.0 Remote Code Execution via ping_check CVSS 4.0HIGH 8.7
  • TI-2026-97538 SSH private key disclosure in openspug Spug via host API CVSS 4.0HIGH 7.1

Sources