CVE-2026-12542Red Hat Satellite OS command injection
CVSS score
7.8
High
CVSS 3.1 from NVD
Exploit probability (EPSS)
0.56%
0.56% chance of exploitation in the next 30 days, higher than 47.7% of all CVEs.
CISA KEV
Not in KEV
No confirmed exploitation reported by CISA so far.
Official description
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.
Source: NVD · CNA: secalert@redhat.com
How to fix it, step by step
Check whether you're affected
Find every system running Red Hat Satellite 6.16 For RHEL 8, theforeman Foreman, Red Hat Satellite 6.16 For RHEL 9, Red Hat Satellite 6.17 For RHEL 9, Red Hat Satellite 6.18 For RHEL 9 and compare its version with the affected versions.
Update to a fixed version
- Update Satellite to 6.16.4, 6.17.12, 6.18.10, 6.19.5 or later, on the branch you run.
If you can't update right away
Apply the workaround or mitigation in the vendor's advisory until you can update:
Confirm the fix
Check that every affected system now reports a fixed version, and recheck the vendor's advisory: fixes are sometimes revised.
Was this useful?
How it can be exploited
- Attack vector
- Local
- Attack complexity
- Low
- Privileges required
- Low
- User interaction
- None
- Scope
- Unchanged
- Confidentiality
- High
- Integrity
- High
- Availability
- High
Values in red make the vulnerability easier to exploit or more damaging. CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Affected products
| Affected products | Versions |
|---|---|
| Red Hat Satellite | ≥ 6.16, < 6.16.4 · ≥ 6.17, < 6.17.12 · ≥ 6.19, < 6.19.5 · ≥ 6.18, < 6.18.10 · 6.0 |
| theforeman Foreman | ≥ 1.5.0, ≤ 3.19.1 · 5.0.0 |
| Red Hat Red Hat Satellite 6.16 For RHEL 8 | Not specified |
| Red Hat Red Hat Satellite 6.16 For RHEL 9 | Not specified |
| Red Hat Red Hat Satellite 6.17 For RHEL 9 | Not specified |
| Red Hat Red Hat Satellite 6.18 For RHEL 9 | Not specified |
| Red Hat Red Hat Satellite 6.19 For RHEL 9 | Not specified |
| Red Hat Red Hat Satellite 6 | Not specified |
Weakness
- CWE-78 OS command injection
Timeline
- Published:
- Last modified:
Frequently asked questions
Is CVE-2026-12542 being exploited?
There is no confirmed exploitation in CISA's KEV catalog so far. Its EPSS score estimates a 0.6% probability of exploitation in the next 30 days.
What is the CVSS score of CVE-2026-12542?
CVE-2026-12542 has a CVSS 3.1 base score of 7.8 (high).
Which versions are affected?
Red Hat Satellite (≥ 6.16, < 6.16.4; ≥ 6.17, < 6.17.12; ≥ 6.19, < 6.19.5; ≥ 6.18, < 6.18.10; 6.0), Theforeman Foreman (≥ 1.5.0, ≤ 3.19.1; 5.0.0), Red Hat Red Hat Satellite 6.16 For RHEL 8, Red Hat Red Hat Satellite 6.16 For RHEL 9, Red Hat Red Hat Satellite 6.17 For RHEL 9, Red Hat Red Hat Satellite 6.18 For RHEL 9
Is there a patch for CVE-2026-12542?
The official record links to vendor advisories or patches; see “What to do” above.
References
- access.redhat.com/errata/RHSA-2026:74503(Vendor Advisory)
- access.redhat.com/errata/RHSA-2026:74504(Vendor Advisory)
- access.redhat.com/errata/RHSA-2026:74505(Vendor Advisory)
- access.redhat.com/errata/RHSA-2026:74506(Vendor Advisory)
- access.redhat.com/security/cve/CVE-2026-12542(Vendor Advisory)
- bugzilla.redhat.com/show_bug.cgi?id=2489971(Issue Tracking, Vendor Advisory)
- www.openwall.com/lists/oss-security/2026/10/07/7(Mailing List, Patch, Third Party Advisory)
Data: NVD, CVE.org (cvelistV5), CISA KEV and FIRST EPSS. Summary written by RedCVE with AI assistance from the official data.