Read the docs
TI-2026-22588 Aliases CVE-2026-28279GHSA-rchw-322g-f7rm

`osctrl-admin` Vulnerable to OS Command Injection via Environment Configuration

Priority MEDIUM 40CWE-78Published · Updated

Key facts

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

Attack profile from CVSS 3.1 · NVD. Fix status from CNA and GitHub. Impact type from CWE-78.

Summary

osctrl is an osquery management solution. Prior to version 0.5.0, an OS command injection vulnerability exists in the `osctrl-admin` environment configuration. An authenticated administrator can inject arbitrary shell commands via the hostname parameter when creating or editing environments. These commands are embedded into enrollment one-liner scripts generated using Go's `text/template` package (which does not perform shell escaping) and execute on every endpoint that enrolls using the compromised environment. An attacker with administrator access can achieve remote code execution on every endpoint that enrolls using the compromised environment. Commands execute as root/SYSTEM (the privilege level used for osquery enrollment) before osquery is installed, leaving no agent-level audit trail. This enables backdoor installation, credential exfiltration, and full endpoint compromise. This is fixed in osctrl `v0.5.0`. As a workaround, restrict osctrl administrator access to trusted personnel, review existing environment configurations for suspicious hostnames, and/or monitor enrollment scripts for unexpected commands.

Why it matters now

Exploitation None reported CISA SSVC · not in CISA KEV
EPSS 0.00967 62nd percentileScored 2026-11-07
Fix Fixed osctrl (jmpsec): 0.5.0github.com/jmpsec/osctrl (Go): 0.5.0

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
jmpsecosctrlbefore 0.5.00.5.0Patch availableCNA
—github.com/jmpsec/osctrl (Go)before 0.5.00.5.0Patch availableGHSA-rchw-322g-f7rm
  • osctrl Vendorjmpsec Affected before 0.5.0 Fixed in 0.5.0 Patch available CNA
  • github.com/jmpsec/osctrl (Go) Vendor— Affected before 0.5.0 Fixed in 0.5.0 Patch available GHSA-rchw-322g-f7rm

CPE configurations NVD · 1

CPEVersionsRoleVendor
cpe:2.3:a:jmpsec:osctrl:*:*:*:*:*:*:*:*before 0.5.0Vulnerablejmpsec
  • cpe:2.3:a:jmpsec:osctrl:*:*:*:*:*:*:*:* Versions before 0.5.0 Vulnerable ·jmpsec

Remediation

  • Fix · CNA osctrl (jmpsec) Fixed in 0.5.0
  • Fix · GHSA-rchw-322g-f7rm github.com/jmpsec/osctrl (Go) Fixed in 0.5.0 Advisory →

Timeline

  1. 2026-10-02 Threatist record created from CVE-2026-28279
  2. 2026-10-03 Alias added: GHSA-rchw-322g-f7rm

References

  • TI-2026-22589 `osctrl-admin` has Stored Cross-Site Scripting (XSS) in On-Demand Query List CVSS 3.1HIGH 8.7

Sources