CVE-2026-12542Foreman: command injection in foreman-tail
- 5.3MediumCVSS base score
- 0.56%Exploitation in 30 daysEPSS · top 52% of all CVEs
- NoKnown exploitednot in CISA's KEV catalog
- NonePublic exploitsnone known yet
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.
Timeline
ID reserved
By redhat
- 4 months later
· 4 months later
Published
- 39 days later
· 39 days later
Record updated
Changes after publication (a new score, a public exploit, EPSS crossing 1, 10 or 50 %, leaving KEV) are kept since November 2026; earlier ones are not known.
Scores
| Scored by | CVSS | Score | Vector |
|---|---|---|---|
| redhatCNA (assigner) | 3.1 | Medium5.3 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L |
| NVDNVD · Analyzed | 3.1 | High7.8 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
- EPSS (exploitation in 30 days)
- 0.56% · top 52% of all CVEs (19 Nov 2026)
- CISA SSVC
- Exploitation: none · Automatable: no · Technical impact: partial
The list uses the assigner's score when there is one, then CISA's, then NVD's: Medium 5.3.
Affected products
Red Hat · Red Hat Satellite 6.16 for RHEL 8
- unaffected 0:3.12.0.23-1.el8sat – < *
Red Hat · Red Hat Satellite 6.16 for RHEL 9
- unaffected 0:3.12.0.23-1.el9sat – < *
Red Hat · Red Hat Satellite 6.17 for RHEL 9
- unaffected 0:3.14.0.22-1.el9sat – < *
Red Hat · Red Hat Satellite 6.18 for RHEL 9
- unaffected 0:3.16.0.25-1.el9sat – < *
Red Hat · Red Hat Satellite 6.19 for RHEL 9
- unaffected 0:3.18.0.14-1.el9sat – < *
All versions: affected
What to do
Workaround: Red Hat has investigated whether a possible mitigation exists for this issue, and has not been able to identify a practical example. Please update the affected package as soon as possible.
References
References7
- RHSA-2026:74503 (opens in a new tab)vendor-advisoryx_refsource_REDHAT
- RHSA-2026:74504 (opens in a new tab)vendor-advisoryx_refsource_REDHAT
- RHSA-2026:74505 (opens in a new tab)vendor-advisoryx_refsource_REDHAT
- RHSA-2026:74506 (opens in a new tab)vendor-advisoryx_refsource_REDHAT
- https://access.redhat.com/security/cve/CVE-2026-12542 (opens in a new tab)vdb-entryx_refsource_REDHAT
- RHBZ#2489971 (opens in a new tab)issue-trackingx_refsource_REDHAT
- http://www.openwall.com/lists/oss-security/2026/10/07/7 (opens in a new tab)
Sources
The same CVE in the primary databases and aggregators, to check against.
- CVE.org record (opens in a new tab)
- CVE List JSON (GitHub) (opens in a new tab)
- NVD (opens in a new tab)
- FIRST EPSS (opens in a new tab)
- EUVD EUVD-2026-90969 (opens in a new tab)
- OSV.dev (opens in a new tab)
- GitHub Advisories (opens in a new tab)
- CIRCL Vulnerability-Lookup (opens in a new tab)
Badge for a README or a ticket
[](https://cveledger.app/cve/CVE-2026-12542)Record last updated .