SCA: security update for github.com/jmpsec/osctrl (GHSA-rchw-322g-f7rm)

high Tenable Cloud Security Plugin ID 438043

Description

There are packages installed that are affected by a vulnerability referenced in the following CVE:

- 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.
(CVE-2026-28279)

See Also

https://github.com/advisories/GHSA-rchw-322g-f7rm

Plugin Details

Severity: High

ID: 438043

Version: Revision 1.7

Type: Local

Family: SCA Checks

Published: 3/2/2026

Updated: 7/2/2026

Supported Sensors: Tenable Cloud Security, Tenable Self-Hosted Container Security

Risk Information

VPR

Risk Factor: Medium

Score: 5

Percentile: 94.39

Vendor

Vendor Severity: High

CVSS v2

Risk Factor: High

Base Score: 7.2

Temporal Score: 5.3

Vector: CVSS2#AV:A/AC:L/Au:M/C:C/I:C/A:C

CVSS Score Source: CVE-2026-28279

CVSS v3

Risk Factor: High

Base Score: 8.4

Temporal Score: 7.3

Vector: CVSS:3.0/AV:A/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H

Temporal Vector: CVSS:3.0/E:U/RL:O/RC:C

Vulnerability Information

Exploit Ease: No known exploits are available

Patch Publication Date: 2/28/2026

Vulnerability Publication Date: 2/28/2026

Reference Information

CVE: CVE-2026-28279

cwe: CWE-78