CVE-2026-12542
HIGH 7.8CVSS 3.1Foreman: command injection in foreman-tail
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.
- Published
- 1 Oct 2026
- Last modified
- 26 Nov 2026
- Assigned by
- secalert@redhat.com
- NVD status
- Analyzed
- Weakness
- CWE-78
- Sources
- NVDJSONCVE ListJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | 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 | secalert@redhat.com (Secondary) | 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 |
| CVE List | redhat | 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 |
| CVE List | CISA-ADP | SSVC | Exploitation: none; Automatable: no; Technical Impact: partial |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | redhat | satellitecpe:2.3:a:redhat:satellite:*:*:*:*:*:*:*:* |
>= 6.16, < 6.16.4 | 6.16.4 |
| NVD | redhat | satellitecpe:2.3:a:redhat:satellite:*:*:*:*:*:*:*:* |
>= 6.17, < 6.17.12 | 6.17.12 |
| NVD | redhat | satellitecpe:2.3:a:redhat:satellite:*:*:*:*:*:*:*:* |
>= 6.19, < 6.19.5 | 6.19.5 |
| NVD | theforeman | foremancpe:2.3:a:theforeman:foreman:*:*:*:*:*:*:*:* |
>= 1.5.0, <= 3.19.1 | |
| NVD | theforeman | foremancpe:2.3:a:theforeman:foreman:5.0.0:*:*:*:*:*:*:* |
= 5.0.0 | |
| NVD | redhat | satellitecpe:2.3:a:redhat:satellite:*:*:*:*:*:*:*:* |
>= 6.18, < 6.18.10 | 6.18.10 |
| NVD | redhat | satellitecpe:2.3:a:redhat:satellite:6.0:*:*:*:*:*:*:* |
= 6.0 | |
| CVE List | https://access.redhat.com/downloads/content/package-browser/ | foremancpe:/a:redhat:satellite:6.16::el8 |
all versions | |
| CVE List | https://access.redhat.com/downloads/content/package-browser/ | foremancpe:/a:redhat:satellite:6.16::el8 |
all versions | |
| CVE List | https://access.redhat.com/downloads/content/package-browser/ | foremancpe:/a:redhat:satellite:6.17::el9 |
all versions | |
| CVE List | https://access.redhat.com/downloads/content/package-browser/ | foremancpe:/a:redhat:satellite:6.18::el9 |
all versions | |
| CVE List | https://access.redhat.com/downloads/content/package-browser/ | foremancpe:/a:redhat:satellite:6.19::el9 |
all versions | |
| CVE List | https://access.redhat.com/downloads/content/package-browser/ | satellite:el8/foremancpe:/a:redhat:satellite:6 |
all versions |
References
- https://access.redhat.com/errata/RHSA-2026:74503 · Vendor Advisory, vendor-advisory, x_refsource_REDHAT
- https://access.redhat.com/errata/RHSA-2026:74504 · Vendor Advisory, vendor-advisory, x_refsource_REDHAT
- https://access.redhat.com/errata/RHSA-2026:74505 · Vendor Advisory, vendor-advisory, x_refsource_REDHAT
- https://access.redhat.com/errata/RHSA-2026:74506 · Vendor Advisory, vendor-advisory, x_refsource_REDHAT
- https://access.redhat.com/security/cve/CVE-2026-12542 · Vendor Advisory, vdb-entry, x_refsource_REDHAT
- https://bugzilla.redhat.com/show_bug.cgi?id=2489971 · Issue Tracking, Vendor Advisory, issue-tracking, x_refsource_REDHAT
- http://www.openwall.com/lists/oss-security/2026/10/07/7 · Mailing List, Patch, Third Party Advisory
History
- 26 Nov 2026 22:22 UTC · NVD: updated (other details)
- 26 Nov 2026 21:43 UTC · CVE List: first stored (published 1 Oct 2026)
- 25 Nov 2026 21:22 UTC · NVD: first stored (published 1 Oct 2026)