Free and open · new CVEs checked every 20 minutesStatusRSSOpen dataContact

CVE-2026-12540: A flaw was found in Foreman

51
This month
HIGH 8.2WATCHLISTUPGRADEMITIGATE

CVE-2026-12540 is a high-severity flaw (CVSS 8.2) affecting satellite, foreman. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.

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 ex

Why this priority

  • High severity
  • On your watchlist

A fixed release or distro patch exists.

Risk facts

CVSS score8.2 (High)
Attack vectorLocal
Attack complexityLow
Privileges neededHigh
User interactionNone
EPSS exploit chance1.2% (top 31%)
CISA exploited listNo
WeaknessCWE-78
Published2026-10-01
Last modified2026-10-08
Publisher (CNA): Red Hat, Inc. · Vendor: redhat · theforeman

Share: LinkedIn · X · Reddit

Last updated 2026-10-08 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score

Am I affected?

Timeline

redhat satellite UPGRADE
Affected: >= 6.16 and < 6.16.4 · >= 6.17 and < 6.17.12 · >= 6.19 and < 6.19.5 · >= 6.18 and < 6.18.10 · 6.0
Fixed in: 6.16.4, 6.17.12, 6.18.10, 6.19.5
Safe to downgrade to: a release before 6.0
1. Check installed version
apt-cache policy satellite || rpm -q satellite || satellite --version
2. UPGRADE to 6.16.4 (Debian / Ubuntu)
sudo apt update && sudo apt install --only-upgrade satellite
2. UPGRADE (RHEL / Amazon Linux / Fedora)
sudo dnf upgrade satellite
Note
Distros often backport fixes without changing the version number. Confirm with the distro advisory or changelog.
3. If no update is available yet, DOWNGRADE to a release before 6.0 (Debian / Ubuntu)
apt-cache madison satellite sudo apt install satellite=<VERSION_BEFORE_6.0> sudo apt-mark hold satellite
3. If no update is available yet, DOWNGRADE (RHEL / Amazon Linux / Fedora)
dnf --showduplicates list satellite sudo dnf downgrade satellite-<VERSION_BEFORE_6.0> sudo dnf versionlock add satellite
Downgrade risk
Downgrading can break dependent software and may reopen older bugs. Read the distro advisory first and test on a non-production host.
After downgrade
Restart the service, and keep the package held until a fixed release ships.
theforeman foreman MITIGATE
Affected: all versions
Fixed in: no fixed release known
Safe to downgrade to: no unaffected older release
1. Check installed version
apt-cache policy foreman || rpm -q foreman || foreman --version
No fixed or unaffected release known
Apply the vendor mitigation from the advisory, disable the affected feature, or restrict network access.
Verify at the official source NVD · CVE Program · Report a problem with this page
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.

Quick answers

How do I fix CVE-2026-12540?

satellite: upgrade to 6.16.4, 6.17.12, 6.18.10, 6.19.5; foreman: mitigate or apply the listed mitigation. Exact commands for each OS are on this page.

Is CVE-2026-12540 being exploited?

CVE-2026-12540 is not on the CISA Known Exploited Vulnerabilities list at the time of the last update. Check again, as this can change.

What does CVE-2026-12540 affect?

CVE-2026-12540 affects satellite, foreman. Severity is high (CVSS 8.2). 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. Whil

How urgent is CVE-2026-12540?

Priority 51/100. High severity; On your watchlist

Software pages

Sudo vulnerabilities

Related CVEs

References

← Back to latest CVEs

Get the weekly exploited-CVE digest by emailThe CVEs being attacked this week and how to fix them. No spam, unsubscribe any time.