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.
References
| Link | Resource |
|---|---|
| https://github.com/jmpsec/osctrl/pull/777 | Issue Tracking Patch |
| https://github.com/jmpsec/osctrl/pull/780 | Issue Tracking Patch |
| https://github.com/jmpsec/osctrl/security/advisories/GHSA-rchw-322g-f7rm | Vendor Advisory Mitigation |
Configurations
History
28 Feb 2026, 01:17
| Type | Values Removed | Values Added |
|---|---|---|
| CPE | cpe:2.3:a:jmpsec:osctrl:*:*:*:*:*:*:*:* | |
| References | () https://github.com/jmpsec/osctrl/pull/777 - Issue Tracking, Patch | |
| References | () https://github.com/jmpsec/osctrl/pull/780 - Issue Tracking, Patch | |
| References | () https://github.com/jmpsec/osctrl/security/advisories/GHSA-rchw-322g-f7rm - Vendor Advisory, Mitigation | |
| First Time |
Jmpsec
Jmpsec osctrl |
27 Feb 2026, 14:06
| Type | Values Removed | Values Added |
|---|---|---|
| Summary |
|
26 Feb 2026, 23:16
| Type | Values Removed | Values Added |
|---|---|---|
| New CVE |
Information
Published : 2026-02-26 23:16
Updated : 2026-02-28 01:17
NVD link : CVE-2026-28279
Mitre link : CVE-2026-28279
CVE.ORG link : CVE-2026-28279
JSON object : View
Products Affected
jmpsec
- osctrl
CWE
CWE-78
Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')
