CVE-2026-12540

HIGHPre-NVD 8.28.2—
EchelonGraph scoreHIGH confidence

Score 8.2 from GitHub Security Advisory (severity: HIGH) published 2026-10-01. A secondary CVSS source baseline 8.2; sources differ by 0.0.

Triggered by: GitHub Security Advisory CVSS
Sources: epss, ghsa, secondary
Trending — Patch released this week
8.2EG
EchelonGraph verdictPlan a fixSerious severity, but no confirmed exploitation yet.
  • High severity, but no confirmed exploitation yet
CISA-KEV: Not listedEPSS PROB: 1.3%CVSS: 8.2Exploit: None knownExposed services: Not assessed

A fix is available — apply it.

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.

CVSS v3
8.2
EG Score
8.2HIGHhigh confidence
EG Risk
42
EG Risk 42/100CISA SSVC

EG Risk is EchelonGraph's 0–100 priority score: it fuses intrinsic severity with real-world exploitation and automatability so you can rank equal-severity CVEs and fix the most dangerous first. Higher = act sooner. Distinct from the 0–10 EG Score (severity).

How it’s computed
Severity82% × 45%
Exploitation1% × 40%
Automatability30% × 15%
CISA SSVC: Track at low or medium mission impact; Track or Attend at high (mission-essential systems).
Action: A fix is available. Apply it within your standard update timelines at low or medium mission impact and sooner than that at high.
EPSS PROB
1.3%
EPSS %ILE
69th
KEV
Not listed

CISA SSVCTrack at low or medium mission impact; Track or Attend at high (mission-essential systems).

A fix is available. Apply it within your standard update timelines at low or medium mission impact and sooner than that at high.

Exploitation none (no KEV listing, exploit record or EPSS ≥ 50%) · Automatable unknown (not published for this CVE) · Technical impact partial (CVSS below 9.0). Mission impact is CISA's Mission & Well-being decision point, and only you can judge it: high means the affected system is essential to your organisation's mission, or its compromise could cause irreversible harm to people. CISA's decision table

Published

October 1, 2026

Last Modified

October 2, 2026

Advisory Details (3)

Auto-updated Oct 1, 2026
Patch available. Sources: redhat.
redhat

2489969 – (CVE-2026-12540) CVE-2026-12540 foreman: command injection in foreman-rake errors:fetch_log via request_id parameter

https://bugzilla.redhat.com/show_bug.cgi?id=2489969
redhat Patch Available

CVE-2026-12540 - Red Hat Customer Portal

Affected: Red Hat Enterprise Linux 8 or OpenShift Container Platform 4, is affected by this vulnerability and a fix may be released to a

https://access.redhat.com/security/cve/CVE-2026-12540

Patch Availability(4)

Vendor / EcosystemFixed in / PatchReleasedSource
redhatforeman-0:3.12.0.23-1.el9sat2026-10-01redhat
redhatforeman-0:3.16.0.25-1.el9sat2026-10-01redhat
redhatforeman-0:3.18.0.14-1.el9sat2026-10-01redhat
redhatforeman-0:3.14.0.22-1.el9sat2026-10-01redhat

Patches are aggregated from vendor advisories (Red Hat, Microsoft, Cisco, GitHub) and package ecosystems (OSV, GHSA). Multiple rows for the same upstream release have been deduplicated.

Weakness Classification(1)

MITRE Common Weakness Enumeration — the root-cause categories this CVE belongs to.

Data Freshness Timeline

(refreshed 26× in last 7d / 26× in last 30d)

Each row is a source pipeline that fetched or updated this CVE on that date, with what changed. For example, "NVD update" means NVD published or revised its analysis for this CVE; "MITRE cvelistV5" means we ingested or refreshed it from the CNA feed. Most recent first.

  1. 2026-10-04 04:42 UTCVendor advisory
  2. 2026-10-04 04:42 UTCGHSA enrichment
  3. 2026-10-03 16:58 UTCEG score recompute
  4. 2026-10-03 16:58 UTCVendor advisory
  5. 2026-10-03 16:58 UTCGHSA enrichment
  6. 2026-10-03 14:25 UTCEPSS rescore
  7. 2026-10-03 05:14 UTCVendor advisory
  8. 2026-10-03 05:14 UTCGHSA enrichment
  9. 2026-10-02 17:29 UTCEG score recompute
  10. 2026-10-02 17:29 UTCVendor advisory
  11. 2026-10-02 17:29 UTCGHSA enrichment
  12. 2026-10-02 17:00 UTCEG score recompute
  13. 2026-10-02 17:00 UTCVendor advisory
  14. 2026-10-02 17:00 UTCGHSA enrichment
  15. 2026-10-02 12:12 UTCVendor advisory
  16. 2026-10-02 12:11 UTCGHSA enrichment
  17. 2026-10-02 00:25 UTCEG score recompute
  18. 2026-10-02 00:25 UTCVendor advisory
  19. 2026-10-02 00:25 UTCGHSA enrichment
  20. 2026-10-01 23:37 UTCEG score recompute
  21. 2026-10-01 23:37 UTCGHSA enrichment
  22. 2026-10-01 20:41 UTCEG score recompute
  23. 2026-10-01 20:41 UTCGHSA enrichment
  24. 2026-10-01 17:27 UTCEG score recompute
  25. 2026-10-01 16:26 UTCEG score recompute
Show 1 more
  1. 2026-10-01 16:25 UTCMITRE cvelistV5first tracked

Frequently asked(5)

What is CVE-2026-12540?
CVE-2026-12540 is a high vulnerability published on October 1, 2026. A flaw was found in Foreman. A command injection vulnerability exists in the foreman-rake errors:fetchlog task. The requestid 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…
When was CVE-2026-12540 disclosed?
CVE-2026-12540 was first published on October 1, 2026, with the most recent update on October 2, 2026. EchelonGraph re-ingests CVE updates from NVD on a 2-hour cycle, so this page reflects the latest published state.
Is CVE-2026-12540 actively exploited?
CVE-2026-12540 is not currently on CISA's Known Exploited Vulnerabilities catalog. FIRST EPSS estimates a 1.3% probability of exploitation in the next 30 days (69th percentile of EPSS-scored CVEs).
What is the CVSS score of CVE-2026-12540?
CVE-2026-12540 has a CVSS base score of 8.2 (a secondary CVSS source that NVD displays; NVD's own analysis pending).
How do I remediate CVE-2026-12540?
A fix for CVE-2026-12540 is available: update to the fixed version the vendor names in its advisory. The vendor advisories EchelonGraph has for CVE-2026-12540 are linked in the Vendor Advisories panel on this page.

Dependency Blast Radius

Explore the affected products and dependency analysis for CVE-2026-12540

Explore →

Is Your Infrastructure Affected by CVE-2026-12540?

EchelonGraph automatically scans your cloud infrastructure and maps CVE exposure using blast radius analysis.