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

CVE-2026-12540

Common Vulnerabilities and Exposures record

HIGH

Summary

A flaw was found in Foreman. A command injection vulnerability exists in the foreman-rake errors:fetch_log task. The request_id parameter is passed to an underlying system command (typically grep) without adequate shell neutralization. While the task is intended to fetch specific log entries, an attacker with sudo permissions to execute this rake task can inject shell metacharacters (such as ;, ", or |) to break out of the intended command and execute arbitrary code.

Risk

CVSS
8.2
Severity
HIGH
Vector
CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H

Timeline

Published
Oct 1, 2026 17:17
Modified
Oct 7, 2026 07:17
Last observed
Oct 7, 2026 20:05

CWE

CWE-78

References