WaratekVRT Sign in

CVE-2026-12540 Foreman

Affected softwareForeman
Severity8.2 High CVSS 3.1
WeaknessOS command injection (CWE-78)
Published1 Oct 2026
Updated8 Oct 2026

Published 44 days ago. NVD often adds the list of affected products days or weeks after a CVE is published, and the other sources we check lag too. The scope and status here may change.

Description

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.

Exploitation status

No public exploit

No exploit has been reported in the sources we check.

  • CISA KEV not listed
  • VulnCheck KEV not listed
  • CISA Vulnrichment exploitation: none
  • Indexed PoC none indexed
  • EPSS 1.2% chance in 30 days

Waratek protection

Outside Waratek scope

A Java vulnerability, but not one Waratek protects. It affects only Java on a user's desktop (applets, Web Start, JavaFX, the installer), sits in a product the Waratek agent can't be installed into, or is in a package we don't expect in business applications. The decision below says which.

  • Protection none
  • Action not pursued none
  • Review automated Upstream data
  • Record active
Decided by The only affected product being a sealed appliance image, where Java runs but no -javaagent can be attached
Finding This CVE names only products the Waratek agent cannot be installed into (redhat/satellite). They ship as sealed appliance images or as native code with no application JVM, so there is no start-up line to add -javaagent to. The vulnerability may well be a Java one; it is permanently out of ARMR's reach rather than outside its subject.

Affected software and releases

Products and versions

2 products, 6 version entries
SourceVendorProductSchemeAffected versions
nvd redhat satellite generic 6.0 · ≥ 6.16 and < 6.16.4 · ≥ 6.17 and < 6.17.12 · ≥ 6.18 and < 6.18.10 · ≥ 6.19 and < 6.19.5
nvd theforeman foreman generic any version

References

URLTags
https://access.redhat.com/errata/RHSA-2026:74503 Vendor Advisory
https://access.redhat.com/errata/RHSA-2026:74504 Vendor Advisory
https://access.redhat.com/errata/RHSA-2026:74505 Vendor Advisory
https://access.redhat.com/errata/RHSA-2026:74506 Vendor Advisory
https://access.redhat.com/security/cve/CVE-2026-12540 Vendor Advisory
https://bugzilla.redhat.com/show_bug.cgi?id=2489969 Issue Tracking, Mitigation, Vendor Advisory
http://www.openwall.com/lists/oss-security/2026/10/07/9 Third Party Advisory

Timeline

Published2026-10-01By the CVE Program.
NVD record modified2026-10-08NVD's own last-modified date for this record.