A flaw was found in Foreman. The foreman-tail utility is vulnerable to OS command injection due to the unsafe use of the eval command. The script takes user-supplied arguments and incorporates them directly into a string that is then executed by eval to expand file paths. Because the input is not sanitized or quoted, a local attacker can inject shell metacharacters (e.g., ;, &, |) to execute arbitrary system commands.
CVE-2026-12542
Score 5.3 from GitHub Security Advisory published 2026-10-01. A secondary CVSS source baseline 5.3; sources differ by 0.0.
- Lower severity and no public exploit yet
A fix is available — apply it.
- CVSS v3
- 5.3
- EG Score
- 5.3MEDIUMhigh confidence
- EG Risk
- 29EG Risk 29/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 computedSeverity53% × 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
- 0.6%
- EPSS %ILE
- 44th
- 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, 20262489971 – (CVE-2026-12542) CVE-2026-12542 foreman: command injection in foreman-tail
https://bugzilla.redhat.com/show_bug.cgi?id=2489971CVE-2026-12542 - 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-12542Vendor Advisories for CVE-2026-12542(5)
These vendors published their own advisory mentioning this CVE — often with vendor-specific remediation steps + affected product lists not in NVD.
- RHSA-2026:74506Red Hat Product SecurityCritical
Red Hat Security Advisory: Satellite 6.16.14 Async Update
- RHSA-2026:74505Red Hat Product SecurityCritical
Red Hat Security Advisory: Satellite 6.17.12 Async Update
- RHSA-2026:74504Red Hat Product SecurityCritical
Red Hat Security Advisory: Satellite 6.18.10 Async Update
- GHSA-79jg-9wx4-f5rrGitHub Security AdvisoriesMedium
A flaw was found in Foreman. The foreman-tail utility is vulnerable to OS command injection due...
- RHSA-2026:74503Red Hat Product SecurityCritical
Red Hat Security Advisory: Satellite 6.19.5 Async Update
Patch Availability(4)
| Vendor / Ecosystem | Fixed in / Patch | Released | Source |
|---|---|---|---|
| redhat | foreman-0:3.18.0.14-1.el9sat | 2026-10-01 | redhat |
| redhat | foreman-0:3.12.0.23-1.el9sat | 2026-10-01 | redhat |
| redhat | foreman-0:3.16.0.25-1.el9sat | 2026-10-01 | redhat |
| redhat | foreman-0:3.14.0.22-1.el9sat | 2026-10-01 | redhat |
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 24× in last 7d / 24× 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.
- 2026-10-03 16:57 UTCEG score recompute
- 2026-10-03 16:57 UTCVendor advisory
- 2026-10-03 16:57 UTCGHSA enrichment
- 2026-10-03 14:25 UTCEPSS rescore
- 2026-10-02 18:20 UTCVendor advisory
- 2026-10-02 18:20 UTCGHSA enrichment
- 2026-10-02 18:20 UTCVendor advisory
- 2026-10-02 18:20 UTCEG score recompute
- 2026-10-02 18:20 UTCVendor advisory
- 2026-10-02 18:20 UTCGHSA enrichment
- 2026-10-02 18:20 UTCGHSA enrichment
- 2026-10-02 17:47 UTCEG score recompute
- 2026-10-02 17:47 UTCVendor advisory
- 2026-10-02 17:47 UTCGHSA enrichment
- 2026-10-02 00:25 UTCEG score recompute
- 2026-10-02 00:25 UTCVendor advisory
- 2026-10-02 00:25 UTCGHSA enrichment
- 2026-10-01 23:53 UTCEG score recompute
- 2026-10-01 23:53 UTCGHSA enrichment
- 2026-10-01 20:41 UTCEG score recompute
- 2026-10-01 20:40 UTCGHSA enrichment
- 2026-10-01 18:30 UTCEG score recompute
- 2026-10-01 17:21 UTCEG score recompute
- 2026-10-01 17:20 UTCMITRE cvelistV5first tracked
Related CVEs(same vendor + same CWE)
Same vendor
10 shownredhat:RHSA-2026:74503
Frequently asked(5)
What is CVE-2026-12542?
When was CVE-2026-12542 disclosed?
Is CVE-2026-12542 actively exploited?
What is the CVSS score of CVE-2026-12542?
How do I remediate CVE-2026-12542?
Dependency Blast Radius
Explore the affected products and dependency analysis for CVE-2026-12542
Is Your Infrastructure Affected by CVE-2026-12542?
EchelonGraph automatically scans your cloud infrastructure and maps CVE exposure using blast radius analysis.