CVE search · CVE-2026-12542
CVE-2026-12542
high 7.8
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.
Details
- Status
- Analyzed
- Published
- Last changed
- Source
- secalert@redhat.com
- Weakness
- CWE-78
Severity
| Version | Score | Vector | Source |
|---|---|---|---|
| CVSS 3.1 | medium 5.3 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L |
secalert@redhat.comSecondary |
| CVSS 3.1 | high 7.8 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
nvd@nist.govPrimary |
Affected products
Vendor and product from the NVD’s CPE applicability statements. Versions and conditions are on the NVD’s page.
- redhat · satellite
- theforeman · foreman
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 TrackingVendor Advisory
- http://www.openwall.com/lists/oss-security/2026/10/07/7Mailing ListPatchThird Party Advisory