WhatCyber / Vulnerabilities / CVE-2026-12542
CVE-2026-12542: redhat, theforeman
MEDIUM severity
CVE-2026-12542 affects redhat, theforeman. It is not currently listed in the CISA Known Exploited Vulnerabilities (KEV) catalog. Its CVSS base score is 5.3 (medium). The EPSS model puts the chance of exploitation in the next 30 days at 0.6%.
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.
Key facts
- CVSS v3
- 5.3 (MEDIUM)
- CVSS vector
- CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L
- Published
- 2026-10-01
- Last modified
- 2026-11-09
- NVD status
- Analyzed
Timeline
- October 1, 2026: Published in the NVD
Weaknesses (CWE)
Affected products
- redhat satellite (versions: 6.0)
- redhat enterprise_linux (versions: 8.0, 9.0)
- theforeman foreman (versions: 5.0.0)
References
- https://access.redhat.com/errata/RHSA-2026:74503
- https://access.redhat.com/errata/RHSA-2026:74504
- https://access.redhat.com/errata/RHSA-2026:74505
- https://access.redhat.com/errata/RHSA-2026:74506
- https://access.redhat.com/security/cve/CVE-2026-12542
- https://bugzilla.redhat.com/show_bug.cgi?id=2489971
- http://www.openwall.com/lists/oss-security/2026/10/07/7