CVE-2026-12542

HIGHCVSS 7.8/10EPSS 0.55%

Last modified

CVE-2026-12542 is a high-severity vulnerability rated 7.8/10 on the CVSS scale. 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. EPSS estimates a 0.55% chance of exploitation in the next 30 days.

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.

Metrics

EPSS Probability
0.55%

45.0th percentile

Probability of exploitation in the next 30 days. Learn more

Weakness Enumeration

Affected Software

VendorProductVersions
RedhatSatellite>= 6.16, < 6.16.4
RedhatSatellite>= 6.17, < 6.17.12
RedhatSatellite>= 6.19, < 6.19.5
TheforemanForeman>= 1.5.0, <= 3.19.1
TheforemanForeman5.0.0
RedhatSatellite>= 6.18, < 6.18.10
RedhatSatellite6.0

References

Timeline

Published
Last Modified
Status
Analyzed

Frequently Asked Questions

What is CVE-2026-12542?
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.
How severe is CVE-2026-12542?
CVE-2026-12542 has a CVSS score of 7.8/10 (HIGH severity). The EPSS model estimates a 0.55% probability of exploitation in the next 30 days.
How do I fix CVE-2026-12542?
Check the vendor references and advisories linked above for patched versions and mitigation guidance. You can also run a Strix scan to test if your systems are affected.

How Strix Helps

Related CVEs from 2026

Are you affected by CVE-2026-12542?

Run a free Strix scan to check your systems for this vulnerability.

Scan your code now

Source: NVD / NIST