Advisory Database
  • Advisories
  • Dependency Scanning
  1. golang
  2. ›
  3. github.com/jmpsec/osctrl
  4. ›
  5. CVE-2026-28279

CVE-2026-28279: osctrl is Vulnerable to OS Command Injection via Environment Configuration

February 28, 2026

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.

References

  • github.com/advisories/GHSA-rchw-322g-f7rm
  • github.com/jmpsec/osctrl
  • github.com/jmpsec/osctrl/pull/777
  • github.com/jmpsec/osctrl/pull/780
  • github.com/jmpsec/osctrl/security/advisories/GHSA-rchw-322g-f7rm
  • nvd.nist.gov/vuln/detail/CVE-2026-28279

Code Behaviors & Features

Detect and mitigate CVE-2026-28279 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Dependency Scanning using SBOM also detects vulnerabilities from proprietary advisories that this site does not include. Learn more about Dependency Scanning using SBOM →

Affected versions

All versions before 0.5.0

Fixed versions

  • 0.5.0

Solution

Upgrade to version 0.5.0 or above.

Impact 7.3 HIGH

CVSS:3.1/AV:A/AC:H/PR:H/UI:R/S:C/C:H/I:H/A:H

Learn more about CVSS

Weakness

  • CWE-78: Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')

Source file

go/github.com/jmpsec/osctrl/CVE-2026-28279.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sun, 08 Nov 2026 00:16:25 +0000.