Loading market data...
← Back to CVE feed

CVE-2026-12540

HIGH CVSS 8.2 View on NVD ↗

Description

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.

CVSS Vector

CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H
Published: Oct 01, 2026 17:17 UTC Modified: Oct 02, 2026 00:17 UTC