CVE-2026-28279
`osctrl-admin` Vulnerable to OS Command Injection via Environment Configuration
Reported by github_m · Published February 26, 2026
github.com/jmpsec/osctrl is fixed in 0.5.0 (Go Modules)
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.
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| github.com/jmpsec/osctrl | Go Modules | 0.5.0 |
| osctrl | jmpsec | 0.5.0 |
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| jmpsec | osctrl | < 0.5.0 |
| github.com | jmpsec/osctrl | 0 |
| jmpsec | osctrl | 0 |
Timeline
- Feb 26, 2026 CVE Published
- Feb 27, 2026 EPSS Score (30 in total, the first dated here)
- Feb 28, 2026 CVE Updated
- Feb 28, 2026 PoC Published (4 in total, the first dated here)
- Mar 17, 2026 Coalition ESS Score (2 in total, the first dated here)
- Mar 17, 2026 Security Advisory
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2026-28279
vulnetix vdb fixes CVE-2026-28279
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2026-28279/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart
References
- https://github.com/jmpsec/osctrl/security/advisories/GHSA-rchw-322g-f7rm x_refsource_CONFIRM
- https://github.com/jmpsec/osctrl/pull/777 x_refsource_MISC
- https://github.com/jmpsec/osctrl/pull/780 x_refsource_MISC
- https://nvd.nist.gov/vuln/detail/CVE-2026-28279 advisory
- https://github.com/advisories/GHSA-rchw-322g-f7rm advisory
- https://github.com/jmpsec/osctrl url