GHSA-rchw-322g-f7rm · Severity: high · Ecosystem: go — osctrl is Vulnerable to OS Command Injection via Environment Configuration
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.
Conclusion & alert: CVE-2026-28279 is rated Low Risk (32.5/100): CVSS High severity, with low exploitation likelihood (EPSS 0.03%). Mandatory action: Monitor for updates and reassess as exploit intelligence or EPSS changes.
Risk is dynamic; we continuously reassess and refresh what is shown on this page as upstream context changes.
EPSS lead: Daily EPSS estimates relative likelihood of exploitation; percentile ranks this CVE among scored vulnerabilities (higher = more severe relative rank).
| # | Date | Old EPSS score | New EPSS score | Delta (New - Old) |
|---|---|---|---|---|
| 1 | 2026-03-21 | 0.11% | 0.03% | -0.08% |
| 2 | 2026-02-27 | — | 0.11% | — |
Full EPSS history (2 records total)
CVSS metrics for this CVE.
| Base score | Version | Severity | Vector | Exploitability | Impact | Score source |
|---|---|---|---|---|---|---|
| 7.3 | 3.1 | HIGH |
|
0.7 | 6.0 | [email protected] |
| 8.4 | 3.1 | HIGH |
|
1.7 | 6.0 | [email protected] |
GHSA-rchw-322g-f7rm · Severity: high · Ecosystem: go — osctrl is Vulnerable to OS Command Injection via Environment Configuration
| URL | Tags |
|---|---|
| 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 |