๐Ÿ” CVE Alert

CVE-2026-28279

HIGH 7.4

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

CVSS Score
7.4
EPSS Score
0.0%
EPSS Percentile
0th

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.

CWE CWE-78
Vendor jmpsec
Product osctrl
Published Feb 26, 2026
Last Updated Feb 27, 2026
Stay Ahead of the Next One

Get instant alerts for jmpsec osctrl

Be the first to know when new high vulnerabilities affecting jmpsec osctrl are published โ€” delivered to Slack, Telegram or Discord.

Get Free Alerts โ†’ Free ยท No credit card ยท 60 sec setup

CVSS v3 Breakdown

CVSS:3.1/AV:A/AC:H/PR:H/UI:R/S:C/C:H/I:H/A:H
Attack Vector
Adjacent
Attack Complexity
High
Privileges Required
High
User Interaction
Required
Scope
Changed
Confidentiality
High
Integrity
High
Availability
High

Affected Versions

jmpsec / osctrl
< 0.5.0

References

NVD โ†— CVE.org โ†— EPSS Data โ†—
github.com: https://github.com/jmpsec/osctrl/security/advisories/GHSA-rchw-322g-f7rm github.com: https://github.com/jmpsec/osctrl/pull/777 github.com: https://github.com/jmpsec/osctrl/pull/780