CVEvulnerability
CVE-2026-12542
7.8 HIGH
Official page ↗
- Status
- Analyzed
- Published
- 2026-10-01
- Last modified
- 2026-10-16
- Assigner
- [email protected]
- CVSS 3.1 ([email protected])
- 5.3 MEDIUM — CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L
- CVSS 3.1 ([email protected])
- 7.8 HIGH — CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- Weaknesses
- CWE-78
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.
Affected configurations
• 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
Related
Weakness · CWE (1)
- CWE-78 Improper Neutralization of Special Elements used in an OS Command weakness
References
- https://access.redhat.com/errata/RHSA-2026:74503 Vendor Advisory
- https://access.redhat.com/errata/RHSA-2026:74504 Vendor Advisory
- https://access.redhat.com/errata/RHSA-2026:74505 Vendor Advisory
- https://access.redhat.com/errata/RHSA-2026:74506 Vendor Advisory
- https://access.redhat.com/security/cve/CVE-2026-12542 Vendor Advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=2489971 Issue Tracking, Vendor Advisory
- http://www.openwall.com/lists/oss-security/2026/10/07/7 Mailing List, Patch, Third Party Advisory