VDB

CVE-2026-12540

CVE-2026-12540 PUBLISHED CVSS 8.2 HIGH

Reported by redhat · Published October 1, 2026

A flaw was found in Foreman. A command injection vulnerability exists in the foreman-rake errors:fetch_log task. The request_id parameter is passed to an underlying system command (typically grep) without adequate shell neutralization. While the task is intended to fetch specific log entries, an attacker with sudo permissions to execute this rake task can inject shell metacharacters (such as ;, ", or |) to break out of the intended command and execute arbitrary code.

Risk Scores

CVSS 3.1
8.2
CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H

Affected Products

VendorProductVersions
Red HatRed Hat Satellite 6.16 for RHEL 80:3.12.0.23-1.el8sat
Red HatRed Hat Satellite 6.16 for RHEL 90:3.12.0.23-1.el9sat
Red HatRed Hat Satellite 6.17 for RHEL 90:3.14.0.22-1.el9sat
Red HatRed Hat Satellite 6.18 for RHEL 90:3.16.0.25-1.el9sat
Red HatRed Hat Satellite 6.19 for RHEL 90:3.18.0.14-1.el9sat
Red HatRed Hat Satellite 6
Red HatRed Hat Satellite 6.17 for RHEL 90:3.14.0.22-1.el9sat, 0:3.14.0.22-1.el9sat, 0:3.14.0.22-1.el9sat
Red HatRed Hat Satellite 6
Red HatRed Hat Satellite 6.16 for RHEL 90:3.12.0.23-1.el9sat, 0:3.12.0.23-1.el9sat, 0:3.12.0.23-1.el9sat
Red HatRed Hat Satellite 6.19 for RHEL 90:3.18.0.14-1.el9sat, 0:3.18.0.14-1.el9sat, 0:3.18.0.14-1.el9sat
Red HatRed Hat Satellite 6.16 for RHEL 80:3.12.0.23-1.el8sat, 0:3.12.0.23-1.el8sat, 0:3.12.0.23-1.el8sat
Red HatRed Hat Satellite 6.18 for RHEL 90:3.16.0.25-1.el9sat, 0:3.16.0.25-1.el9sat, 0:3.16.0.25-1.el9sat

Timeline

  • Oct 1, 2026 Coalition ESS Score
  • Oct 1, 2026 CVE Published
  • Oct 1, 2026 Distribution Patch
  • Oct 1, 2026 Security Advisory
  • Oct 2, 2026 EPSS Score
  • Oct 3, 2026 EPSS Score
  • Oct 4, 2026 Distribution Patch
  • Oct 4, 2026 Security Advisory
  • Oct 4, 2026 Distribution Patch
  • Oct 4, 2026 Security Advisory
  • Oct 4, 2026 Distribution Patch
  • Oct 4, 2026 Security Advisory

References

Open in Interactive Console →
$ Console Community · 100/wk Open console ›