WhatCyber

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

Weaknesses (CWE)

Affected products

References

More on WhatCyber