Skip to main content

SxDevOps CVE-2026-93966

| EUVDEUVD-2026-83659 MEDIUM
Command Injection (CWE-77)
2026-09-20 VulDB GHSA-vfqp-92rp-43xr
5.1
CVSS 4.0 · Vendor: VulDB
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Authenticate as privileged operator
  2. Delivery
    Create TASK_RUN_COMMAND task
  3. Exploit
    Inject shell metacharacters in command argument
  4. Execution
    exec_command runs chained shell payload on target host
  5. Impact
    Execute unintended commands on managed host

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Command injection prevention
MITRE ATT&CK

1 technique across 1 tactic: Execution

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Requires an authenticated user with high privileges (PR:H) able to create or run a TASK_RUN_COMMAND task in SxDevOps 1.0/1.1; the injection point is the 'command' argument passed to paramiko.SSHClient.exec_command in backend/ops/host_tasks.py. Exploitation is limited by the fact that this role can legitimately execute commands on managed hosts, so the vulnerability primarily allows bypassing intended command constraints via shell metacharacters (';', '&&', '||', '|', '$(', backticks, newlines) rather than granting access an operator lacks. No user interaction and no special non-default configuration are required beyond having the host-task feature in use.

Impact

This is a high-CVSS-adjacent but low-real-risk issue. The CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:H/UI:N/VC:L/VI:L/VA:L, score 5.1) is the only quantitative signal provided: network vector, low complexity, but HIGH privileges required (PR:H) and only Low impact across confidentiality, integrity, and availability with no scope change. There is no EPSS score, no CISA KEV listing, and no public exploit code identified - only a VulDB entry and the reporter's GitHub issue (#16). The most important contextual caveat: SxDevOps is a DevOps/operations platform whose TASK_RUN_COMMAND feature exists precisely to execute commands on remote hosts over SSH (paramiko). An attacker exploiting this command injection must already hold PR:H (operator/admin) - i.e., a role that can legitimately run commands - so the incremental privilege gained is marginal. This substantially deflates real-world priority relative to the CWE-77 label, which in isolation sounds severe. No conflicting data was found; the signals consistently point to a low-urgency, authenticated-only issue in a niche product.

Exploit ScenarioDerived

An authenticated operator/admin user of SxDevOps creates or edits a 'run command' task, embedding shell metacharacters (e.g. ';', '&&', '|', '$(...)', backticks) into the command argument, which is passed to paramiko.SSHClient.exec_command in backend/ops/host_tasks.py and executed via a shell on the managed host. This lets them chain commands beyond the intended operation. No public proof-of-concept exploit was identified; the report originates from VulDB with a linked GitHub issue and vendor patch.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
Patch available 1.6% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Sep 20, 2026

Command injection in SxDevOps 1.0 and 1.1 allows a high-privileged, authenticated operator to escape intended command restrictions when running TASK_RUN_COMMAND host tasks, because the user-supplied 'command' value is passed without neutralization to paramiko.SSHClient.exec_command in backend/ops/host_tasks.py (CWE-77). Per the assessed CVSS 3.1 vector (AV:N/AC:L/PR:H/UI:N/S:U/C:L/I:L/A:L) the attacker must already hold a role permitted to create and execute host tasks, so the practical gain is bypassing command constraints via shell metacharacters (';', '&&', '||', '|', '$(', backticks, newlines) rather than obtaining access the operator lacks. No public exploit code or confirmed active exploitation was identified at time of analysis, and the vendor shipped a fix (commit 2b4bf8585c3e731e7a8af30801ea46680bc783f9) after being contacted early in the disclosure process.

RemediationAI

Vendor-released patch: commit 2b4bf8585c3e731e7a8af30801ea46680bc783f9 in the aiyiyi121/sxdevops repository - upgrade to a build containing this commit (or the corresponding fixed release the vendor published after coordinated disclosure), which is the primary and recommended fix, referenced from the advisory at https://vuldb.com/vuln/407925 and the issue at https://github.com/aiyiyi121/sxdevops/issues/16. If immediate upgrade is not possible, apply compensating controls knowing their trade-offs: (1) restrict the TASK_RUN_COMMAND capability to the smallest set of trusted operators and audit their executions, accepting that this only reduces the population able to reach the injection point since PR:H is required; (2) front-end the task payload with your own validation that rejects ';', '&&', '||', '|', backticks, '$(', and newline/carriage-return characters in the 'command' field, which breaks legitimate compound commands operators may rely on; (3) keep the SxDevOps management interface off untrusted networks (VPN/bastion or IP allowlisting) so the authenticated attack surface is not internet-exposed; (4) if MCP STDIO features are used, restrict configured executables and strip environment overrides such as PATH, PYTHONPATH, LD_PRELOAD and DYLD_INSERT_LIBRARIES as the upstream patch does, which may disable some integrations; and (5) if you run the shipped demo accounts, set SXDEVOPS_ADMIN_INITIAL_PASSWORD and SXDEVOPS_DEMO_PASSWORD (or disable the demo accounts) and replace SECRET_KEY with a long random value, since the pre-patch README shipped a default Admin@123456 password. Note the assessed baseline indicates exploitation requires an already high-privileged authenticated user, so prioritize the upgrade but do not treat this as an unauthenticated remote-code-execution emergency; no public exploit code or confirmed active exploitation was identified at time of analysis.

Affected VersionsENISA

SxDevOps 1.1
SxDevOps 1.0

Affected Packages

euvd sxdevops no fix

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

The affected component is the host-task subsystem of SxDevOps, a self-hosted DevOps/AIOps platform (CPE cpe:2.3:a:aiyiyi121:sxdevops:*:*:*:*:*:*:*:*), specifically the TASK_RUN_COMMAND task type. SxDevOps uses the Paramiko SSH library server-side; paramiko.SSHClient.exec_command() sends a command string to remote managed hosts and, depending on how it is invoked, the string may be interpreted by a remote shell. CWE-77 (Improper Neutralization of Special Elements used in a Command / 'Command Injection') is the root-cause class: the 'command' argument originating from the task payload was forwarded without rejecting shell metacharacters or dangerous command patterns, so an operator could chain additional commands or substitutions beyond the intended single operation. The upstream fix commit 2b4bf8585c3e731e7a8af30801ea46680bc783f9 hardens this path by converting the previously literal DANGEROUS_COMMAND_PATTERNS list into case-insensitive regular expressions (e.g. \brm\s+-r(f)?\b, \bshutdown\b, \bmkfs, \buserdel\b, \bkill\s+-9\b, curl/wget piped to sh, nc -e) and by rejecting any command containing ';', '&&', '||', '|', '`', '$(', newline or carriage return before a task draft can be generated. The same commit adds adjacent hardening - validation of MCP STDIO commands against an allowlist of executables ('npx', 'swmcp') and approved npx packages, blocking of dangerous environment keys (PATH, PATHEXT, PYTHONPATH, LD_PRELOAD, DYLD_INSERT_LIBRARIES) supplied through auth_config, removal of a hardcoded Admin@123456 demo password in favor of SXDEVOPS_DEMO_PASSWORD / SXDEVOPS_ADMIN_INITIAL_PASSWORD, and replacement of an rm -rf trap with rmdir - indicating a broader input-validation review rather than a single-line patch. Note the score discrepancy between the CVSS 4.0 vector supplied with the CVE (5.1, PR:H, E:X) and the independent CVSS 3.1 assessment (5.1, AV:N/AC:L/PR:H/UI:N/S:U/C:L/I:L/A:L), which agree on the limited confidentiality, integrity and availability impact and on the high-privilege prerequisite.

Know when Sxdevops gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (VulDB) PRIMARY 5.1 MEDIUM
CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N
vuln.today AI 4.7 MEDIUM

Network-reachable command feature but requires high-privilege operator (PR:H) who can already run commands, so impact is only incremental - Low across C/I/A, no scope change.

3.1 AV:N/AC:L/PR:H/UI:N/S:U/C:L/I:L/A:L
4.0 AV:N/AC:L/AT:N/PR:H/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N

Primary rating from Vendor (VulDB).

CVSS VectorVendor: VulDB

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
High
User Interaction
None
Vulnerable system: Confidentiality
Low
Vulnerable system: Integrity
Low
Vulnerable system: Availability
Low
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

DescriptionCVE.org

A vulnerability has been found in aiyiyi121 SxDevOps 1.0/1.1. Affected by this vulnerability is the function paramiko.SSHClient.exec_command of the file backend/ops/host_tasks.py of the component TASK_RUN_COMMAND. Such manipulation of the argument command leads to command injection. The attack may be launched remotely. The name of the patch is 2b4bf8585c3e731e7a8af30801ea46680bc783f9. It is advisable to implement a patch to correct this issue. The vendor was contacted early, responded in a very professional manner and quickly released a fixed version of the affected product.

Threat Intelligence Overview

EPSS Score
1.6%
Top 26% exploitable
Prevalence
Rare
obscure single-author GitHub project, no enterprise footprint
Data Quality
7 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment CIRCL GitHub VulDB

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC No
EPSS 1.6%
Patch available Yes
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
No
Human Impact· derived
Medium
Technical Impact
Partial

Priority Score

28
Low Medium High Critical
KEV: 0
EPSS: +2
CVSS: +26
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

OS command injection occurs when an application passes unsanitized user input directly into system shell commands.

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy