Skip to content
CORVASEC — Knowledge Defends
Vulnerability Explorer›CVE-2026-12542
VULNERABILITY

CVE-2026-12542

Common Vulnerabilities and Exposures record

MEDIUM

Summary

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.

Risk

CVSS
5.3
Severity
MEDIUM
Vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L

Timeline

Published
Oct 1, 2026 18:17
Modified
Nov 9, 2026 17:17
Last observed
Nov 9, 2026 13:00

CWE

CWE-78

Affected product identifiers

cpe:2.3:a:redhat:satellite:*:*:*:*:*:*:*:*
cpe:2.3:o:redhat:enterprise_linux:8.0:*:*:*:*:*:*:*
cpe:2.3:o:redhat:enterprise_linux:9.0:*:*:*:*:*:*:*
cpe:2.3:a:theforeman:foreman:*:*:*:*:*:*:*:*
cpe:2.3:a:theforeman:foreman:5.0.0:*:*:*:*:*:*:*
cpe:2.3:a:redhat:satellite:6.0:*:*:*:*:*:*:*

References