CVE-2026-28279
osctrl is an osquery management solution.
Published Feb 26, 2026 · updated Jun 17, 2026 · jmpsec osctrl
osctrl is an osquery management solution. Prior to version 0.5.0, an OS command injection vulnerability exists in the 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 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 . 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.
Code
The project this record applies to. Exploit listings stay in References.
Timeline
Detection, updates, and resolution for this record.
Feb 26, 2026 · NIST NVD
Detected
osctrl is an osquery management solution. Prior to version 0.5.0, an OS command injection vulnerability exists in the 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 package (which does not perform shell e
Jun 17, 2026 · NIST NVD
Updated
osctrl is an osquery management solution. Prior to version 0.5.0, an OS command injection vulnerability exists in the 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 package (which does not perform shell e
Affected
- cpe jmpsec/osctrlversion unspecified
Sources
- CVE.orgVulnerability recordCVE-2026-28279
Official CVE identifier
cve.org - NIST NVDVulnerability recordCVE-2026-28279
osctrl is an osquery management solution. Prior to version 0.5.0, an OS command injection vulnerability exists in the environment configuration. An authenticated administrator can inject arbitrary shell commands via the hostname parameter when creating or editing e
nvd.nist.gov