Skip to main content
Network Thinking Solutions Logo

CVE-2026-12540

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…

All CVEs
CVE-2026-12540Published 10/1/2026

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…

Vendor advisory
CVSS 3.18.2High

Overview

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.

Published
10/1/2026
Last modified
11/26/2026
CVE assigner
redhat
NVD analysis
Analyzed

Exploitation

No CISA KEV flag in the saved record

An absent KEV flag does not establish that exploitation has never occurred. Verify current intelligence before prioritizing work.

EPSS predictions and CISA SSVC assessments are not imported here. Review additional intelligence on Cloudflare

Affected products

Affected-version rules published in the advisory. Conditions and uncertain comparisons require verification.

Vendor / productAffected versionsPlatform / conditionsEvidence
satellite
redhat
≥ 6.16, < 6.16.4

Verify advisory

The advisory has platform, edition, hardware, or configuration conditions not verified by software inventory.

Source
satellite
redhat
≥ 6.17, < 6.17.12

Verify advisory

The advisory has platform, edition, hardware, or configuration conditions not verified by software inventory.

Source
satellite
redhat
≥ 6.19, < 6.19.5

Verify advisory

The advisory has platform, edition, hardware, or configuration conditions not verified by software inventory.

Source
foreman
theforeman
Range not specified — verify advisory

Verify advisory

Source
satellite
redhat
≥ 6.18, < 6.18.10

Verify advisory

The advisory has platform, edition, hardware, or configuration conditions not verified by software inventory.

Source
satellite
redhat
6.0

Verify advisory

Source

Recommended actions

Verify the product, installed version, platform, and advisory prerequisites on each system. Apply the vendor's applicable fixed release or mitigation. An affected-range boundary alone is not a universal update recommendation.

Severity

CVSS describes technical impact. It is separate from exploitation evidence.

8.2 · High CVSS 3.1

Scored by redhat

CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H

8.2 · High CVSS 3.1

Scored by secalert@redhat.com

CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H

Related weaknesses

Sources & references

access.redhat.com/errata/RHSA-2026:74503
vendor-advisory
x_refsource_REDHAT
Vendor Advisory
access.redhat.com/errata/RHSA-2026:74504
vendor-advisory
x_refsource_REDHAT
Vendor Advisory
access.redhat.com/errata/RHSA-2026:74505
vendor-advisory
x_refsource_REDHAT
Vendor Advisory
access.redhat.com/errata/RHSA-2026:74506
vendor-advisory
x_refsource_REDHAT
Vendor Advisory
access.redhat.com/security/cve/CVE-2026-12540
vdb-entry
x_refsource_REDHAT
Vendor Advisory
bugzilla.redhat.com/show_bug.cgi?id=2489969
issue-tracking
x_refsource_REDHAT
Issue Tracking
Mitigation
Vendor Advisory

Sources: Official CVE List, NVD and cve.now (summaries CC BY 4.0). Uses NVD data; not endorsed by NVD.