CVE-2026-12542
Last modified
CVE-2026-12542 is a high-severity vulnerability rated 7.8/10 on the CVSS scale. 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. EPSS estimates a 0.55% chance of exploitation in the next 30 days.
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.
Metrics
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Redhat | Satellite | >= 6.16, < 6.16.4 |
| Redhat | Satellite | >= 6.17, < 6.17.12 |
| Redhat | Satellite | >= 6.19, < 6.19.5 |
| Theforeman | Foreman | >= 1.5.0, <= 3.19.1 |
| Theforeman | Foreman | 5.0.0 |
| Redhat | Satellite | >= 6.18, < 6.18.10 |
| Redhat | Satellite | 6.0 |
References
- https://access.redhat.com/errata/RHSA-2026:74503Vendor Advisory
- https://access.redhat.com/errata/RHSA-2026:74504Vendor Advisory
- https://access.redhat.com/errata/RHSA-2026:74505Vendor Advisory
- https://access.redhat.com/errata/RHSA-2026:74506Vendor Advisory
- https://access.redhat.com/security/cve/CVE-2026-12542Vendor Advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=2489971Issue Tracking, Vendor Advisory
- https://www.openwall.com/lists/oss-security/2026/10/07/7Mailing List, Patch, Third Party Advisory
Timeline
- Published
- Last Modified
- Status
- Analyzed
Frequently Asked Questions
What is CVE-2026-12542?
How severe is CVE-2026-12542?
How do I fix CVE-2026-12542?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2026
- CVE-2026-12537Improper Neutralization used in an OS Command in the contain…7.8
- CVE-2026-12538IBM MQ 9.4.0.0 to 9.4.0.26, 9.4.1.0 to 9.4.5.3, and 10.0.0.1…5.4
- CVE-2026-12539Docker Sandboxes (sbx) blocks ICMP egress with an authorizer…5.7
- CVE-2026-1254The Modula Image Gallery – Photo Grid & Video Gallery plugin…4.3
- CVE-2026-12540A flaw was found in Foreman. A command injection vulnerabili…8.2
- CVE-2026-12541A flaw was found in Foreman. OS command injection vulnerabil…8.2
- CVE-2026-12544A flaw was found in Foreman. The foreman-rake initialization…7.7
- CVE-2026-12545A flaw was found in rubygem-hammer_cli. A command injection …6.7
- CVE-2026-12547SoupAuthManager caches proxy authentication credentials with…3.4
- CVE-2026-12548A heap out-of-bounds read flaw was found in libsoup. When pa…4.2
- CVE-2026-12549The fix for CVE-2026-2443 was regressed by a subsequent rewo…4.8
- CVE-2026-1255The YS LeadGen plugin for WordPress is vulnerable to Sensiti…7.5
Are you affected by CVE-2026-12542?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
