Skip to main content

CVE-2026-12540: Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection') in Red Hat Red Hat Satellite 6.19 for RHEL 9

0
High
VulnerabilityCVE-2026-12540cvecve-2026-12540
Published: 10/01/2026 (10/01/2026, 16:22:02 UTC)
Source: CVE Database V5
Vendor/Project: Red Hat
Product: Red Hat Satellite 6.19 for RHEL 9

Description

CVE-2026-12540 is a command injection vulnerability in Red Hat Satellite 6.19 for RHEL 9, specifically in the foreman-rake errors:fetch_log task. The flaw allows an attacker with sudo permissions to inject shell metacharacters via the request_id parameter, potentially leading to arbitrary code execution. This vulnerability has a high severity with a CVSS score of 8.2. Red Hat has released an official security advisory and patch addressing this issue.

CVSS v3.1

Score 8.2high

Attack Vector
Local
Attack Complexity
Low
Privileges Required
High
User Interaction
None
Scope
Changed
Confidentiality
High
Integrity
High
Availability
High
CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H

Affected software

Red Hat

Red Hat Satellite 6.19 for RHEL 9

Red Hat

Red Hat Satellite 6

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 10/01/2026, 17:01:12 UTC

Technical Analysis

A command injection vulnerability exists in the foreman-rake errors:fetch_log task of Red Hat Satellite 6.19 for RHEL 9. The request_id parameter is passed to an underlying system command (typically grep) without adequate shell neutralization, allowing an attacker with sudo permissions to inject shell metacharacters and execute arbitrary code. This vulnerability is tracked as CVE-2026-12540 and has a CVSS 3.1 base score of 8.2 (AV:L/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H). Red Hat has published an official security advisory (RHSA-2026:74503) that includes a patch to fix this issue.

Potential Impact

Successful exploitation of this vulnerability allows an attacker with sudo permissions to execute arbitrary code on the affected system by injecting shell commands through the request_id parameter in the foreman-rake errors:fetch_log task. This can lead to complete system compromise, including confidentiality, integrity, and availability impacts.

Mitigation Recommendations

Red Hat has released an official security update for Red Hat Satellite 6.19 addressing this vulnerability. Users should apply the update as described in Red Hat Advisory RHSA-2026:74503 to remediate this issue. Prior to applying the update, ensure all previously released errata relevant to the system have been applied. No additional mitigations are required beyond applying the official patch.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.2
Assigner Short Name
redhat
Date Reserved
2026-06-17T17:41:07.752Z
Cvss Version
3.1
State
PUBLISHED
Vendor Advisory Urls
[{"url":"https://access.redhat.com/errata/RHSA-2026:74503","vendor":"Red Hat"},{"url":"https://access.redhat.com/security/cve/CVE-2026-12540","vendor":"Red Hat"}]

Threat ID: 6abe8af8a43b0b3b89c7babe

Added to database: 10/01/2026, 16:31:52 UTC

Last enriched: 10/01/2026, 17:01:12 UTC

Last updated: 10/01/2026, 17:25:58 UTC

Views: 5

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses