CVE-2026-28279

HIGH EPSS 55.1%
Published Feb 26, 20264mo ago · Modified Jun 17, 20261w ago
8.4 CVSS 3.1
High
Find Similar
Published Feb 26, 2026 4mo ago
Last Modified Jun 17, 2026 1w ago

Description

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.

CVSS Details

Base Score
8.4
Exploitability
1.7
Impact
6.0
Vector string
CVSS:3.1/AV:A/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H
Attack Vector Adjacent
Attack Complexity Low
Privileges Required High
User Interaction None
Scope Changed
Confidentiality High
Integrity High
Availability High

Threat Intelligence

EPSS Exploit Probability
55.1% percentile
Exploit & Patch Status
No Known Exploit
Patch Available

Weaknesses 1

CWE-78 OS Command Injection Injection

Affected Products 1

VendorProductVersionRange
jmpsecosctrl* <0.5.0

References 3

  • github.com https://github.com/jmpsec/osctrl/pull/777
    Issue TrackingPatch
  • github.com https://github.com/jmpsec/osctrl/pull/780
    Issue TrackingPatch
  • github.com https://github.com/jmpsec/osctrl/security/advisories/GHSA-rchw-322g-f7rm
    MitigationVendor Advisory

Remediation

  • github.com https://github.com/jmpsec/osctrl/pull/777
    Issue TrackingPatch
  • github.com https://github.com/jmpsec/osctrl/pull/780
    Issue TrackingPatch