CVE-2026-12540

HIGH
MEDIUM Priority: 0.10 BB Relevance: 37/100
Published: 2026-10-01 Modified: 2026-11-02 First seen: 2026-11-02 Status: active

Attack Surface

Low Complexity No Interaction Conf. Impact Integ. Impact Scope Change

CVSS Vector Breakdown

AV: Local
AC: Low
PR: High
UI: None
S: Changed
C: High
I: High
A: High

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.

References & Advisories (6)

https://access.redhat.com/errata/RHSA-2026:74503
vendor-advisory x_refsource_REDHAT
https://access.redhat.com/errata/RHSA-2026:74504
vendor-advisory x_refsource_REDHAT
https://access.redhat.com/errata/RHSA-2026:74505
vendor-advisory x_refsource_REDHAT
https://access.redhat.com/errata/RHSA-2026:74506
vendor-advisory x_refsource_REDHAT
https://bugzilla.redhat.com/show_bug.cgi?id=2489969
issue-tracking x_refsource_REDHAT

Bug Bounty Relevance

37 / 100
✓ Low complexity
✓ No user interaction

CVSS Score

8.2 / 10.0 v3.1
CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H

EPSS — Exploitation Probability

1.24%
Raw Score 0.012360
Percentile 69.5%
Date 2026-11-13

EPSS Trend

2026-11-13
0.01236
2026-11-12
0.01236
2026-11-10
0.01236
2026-11-09
0.01236
2026-11-08
0.01236
2026-11-07
0.01236
2026-11-06
0.01236
2026-11-05
0.01236
2026-11-04
0.01236
2026-11-03
0.01236
2026-11-02
0.01236

Intelligence Sources

mitre ref →