Skip to main content

foreman-mcp-server CVE-2026-9073

| EUVDEUVD-2026-38603 MEDIUM
Insertion of Sensitive Information into Log File (CWE-532)
2026-06-23 redhat GHSA-7rcj-2493-83x3
6.2
CVSS 3.1 · Vendor: redhat
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Gain read access to container logs or SIEM
  2. Delivery
    Extract plaintext session IDs from INFO-level log entries
  3. Exploit
    (If debug logs present) Extract API keys or Authorization header values
  4. Execution
    Replay harvested credentials against Satellite API
  5. Impact
    Access Satellite as authenticated user or service account

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A09:2025 - Security Logging & Alerting Failures
ASVS 5.0
V16 - Security Logging and Error Handling Log data sanitization
Exploitation Conditions

Two independent exposure conditions exist. First, session identifier logging is unconditionally active at the INFO log level in foreman-mcp-server - no special configuration, feature flag, or mode is required. Any running instance logs session IDs in plaintext, affecting all deployments. Second, HTTP header leakage (Authorization tokens, Bearer tokens, API keys) only occurs when debug logging is explicitly enabled, which is non-default in production but common during troubleshooting. Both paths require the attacker to have read access to the affected container's logs or to a downstream system receiving those logs (SIEM, log archive, OpenShift logging stack). This log-read prerequisite is the primary limiting factor - environments enforcing strict RBAC on log access reduce exploitability substantially. The CVSS PR:N metric reflects that no privilege against Satellite itself is required, but it does not capture the log-access prerequisite. No network-accessible entry point exists; exploitation is confined to the local log access boundary.

Impact

The vendor-provided CVSS 3.1 vector (AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N, score 6.2) classifies this as Medium severity with local attack vector, low complexity, and high confidentiality impact. The PR:N metric warrants scrutiny: while no privilege is required to trigger the logging behavior (it occurs automatically), an attacker must possess read access to container logs or a downstream log aggregation system to extract credentials - this is a meaningful prerequisite that the raw PR:N signal obscures. Real-world risk is highly deployment-dependent: environments restricting log access to cluster administrators face considerably lower exposure than those routing logs to broadly accessible SIEM platforms with permissive read policies. The INFO-level session ID logging path is always active and does not require debug mode, making it the higher-priority concern. The debug-mode header leakage is conditional but potentially more damaging (API keys vs. session tokens). No EPSS score was provided, no KEV listing exists, and no POC has been identified, which collectively suggest this is not being actively exploited at scale. The primary risk is insider threat or post-breach lateral movement via credential harvesting from log archives.

Exploit ScenarioDerived

An attacker or malicious insider with read access to Red Hat Satellite 6 container logs - whether via direct kubectl logs access, a SIEM query, or access to an OpenShift logging namespace - passively scans INFO-level log entries and extracts session identifiers that are persistently written in cleartext. These session tokens are then replayed against the Satellite API to impersonate a legitimate administrator or service account, enabling unauthorized access to managed infrastructure, content views, or provisioning workflows without triggering standard authentication events.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
Patch available 0.2% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Jun 23, 2026

Cleartext credential persistence in foreman-mcp-server, a component of Red Hat Satellite 6, exposes session identifiers and authentication tokens through two independent logging paths. The INFO-level logger unconditionally records session identifiers (which function as authentication credentials) in plaintext, while a separate debug-mode logger incompletely sanitizes HTTP request headers, allowing Authorization tokens and API keys to persist in container logs. Any environment forwarding container logs to a centralized SIEM or log aggregation platform materially expands the attack surface beyond local disk access. No public exploit identified at time of analysis, and the CVE does not appear in CISA KEV.

RemediationAI

Apply the patch for foreman-mcp-server as released by Red Hat for Satellite 6, tracked at https://access.redhat.com/security/cve/CVE-2026-9073 and https://bugzilla.redhat.com/show_bug.cgi?id=2480151. No specific fixed version number was derivable from the available dataset - consult the Red Hat advisory directly for the exact patched package version. As compensating controls prior to patching: (1) Disable debug logging in all production Satellite 6 instances immediately, eliminating the HTTP header sanitization bypass path - note that INFO-level session ID logging remains active regardless of this change. (2) Restrict read access to container logs and log aggregation namespaces to the minimum required operator set, using RBAC controls (OpenShift ClusterRole/Role bindings if applicable) to limit log viewer permissions. (3) If logs are forwarded to a SIEM or central logging platform, configure field-level masking at the log shipper (e.g., Fluent Bit, Logstash) to redact Authorization, Cookie, and X-Auth-Token header values before ingestion - this limits retroactive credential harvesting from log archives. (4) Rotate all API keys, session tokens, and authorization tokens that may have been logged in any environment where debug mode was previously active or where log access controls are weak.

Affected Packages

pypi foreman-mcp-server no fix

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in pypi

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

foreman-mcp-server is the Model Context Protocol server component embedded within Red Hat Satellite 6, Red Hat's enterprise IT automation and lifecycle management platform (CPE: cpe:2.3:a:red_hat:red_hat_satellite_6:*:*:*:*:*:*:*:*). The root cause is CWE-532 (Insertion of Sensitive Information into Log File), a class of vulnerability where secrets are written to persistent log storage either by design (debug instrumentation) or by inadequate secret classification during development. Two distinct code paths are implicated: a general-purpose logger that treats session identifiers as loggable metadata rather than as secrets, emitting them at INFO level on every relevant operation; and a debug-mode HTTP header logger that applies regex or keyword-based sanitization that is incomplete, allowing Authorization, Bearer, and API key header values to pass through unmasked. Container-native deployments of Satellite 6 compound the risk because container stdout/stderr is routinely forwarded to centralized logging stacks such as Splunk, Elasticsearch, or OpenShift's built-in log aggregation, broadening the credential exposure surface well beyond the originating host.

Know when Red Hat Satellite 6 gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (redhat) PRIMARY 6.2 MEDIUM
AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
vuln.today AI 5.5 MEDIUM

Reading container logs or SIEM data requires at least low local privilege (PR:L); no integrity or availability impact applies to this passive credential exposure flaw.

3.1 AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
4.0 AV:L/AC:L/AT:N/PR:L/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N
Red Hat 6.2 MEDIUM

Primary rating from Vendor (redhat).

CVSS VectorVendor: redhat

Attack Vector
Local
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
None
Availability
None

DescriptionCVE.org

A flaw was found in foreman-mcp-server. This component utilizes two distinct logging mechanisms that can expose sensitive session and authentication data. One mechanism logs session identifiers, which are treated as authentication credentials, at an informational level. The other, when debug logging is enabled, incompletely sanitizes HTTP request headers, leading to the cleartext logging of sensitive information such as authorization tokens and API keys. This vulnerability can result in a confidentiality breach, as sensitive authentication data is persisted in plain text within container logs, increasing the risk if logs are forwarded to a centralized platform.

Threat Intelligence Overview

EPSS Score
0.2%
Top 95% exploitable
Prevalence
Medium
enterprise Linux lifecycle management platform, common in large organizations
Data Quality
7 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment Vendor VulDB

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC No
EPSS 0.2%
Patch available Yes
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Defer
Exploitation
None
System Exposure· derived
Small
Automatable
No
Human Impact· derived
Medium
Technical Impact
Partial

Priority Score

31
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +31
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.

Affected Products (CPE)CVE.org

cpe:2.3:a:red_hat:red_hat_satellite_6:*:*:*:*:*:*:*:*
CVE-2026-114406 MEDIUM POC
6.8 Oct 21

The system CA trust store shipped in Red Hat's ca-certificates RPM packages includes eMudhra root authorities that signe

CVE-2026-12701 CRITICAL
9.0 Jul 20

Arbitrary file write in pulpcore's FilesystemExport feature allows an authenticated administrator to escape the intended

CVE-2026-12405 HIGH
8.8 Oct 01

Command injection in the Red Hat Satellite job invocation API (/api/v2/job_invocations), shipped via the rubygem-foreman

CVE-2026-89091 HIGH
8.8 Oct 08

Symlink-following file overwrite on the Ansible control node is possible in ansible-core when a user runs `ansible-galax

CVE-2026-5136 HIGH
8.8 Jul 01

Privilege escalation in Foreman (the engine behind Red Hat Satellite 6) lets an authenticated user holding usergroup-man

CVE-2026-1961 HIGH
8.8 Mar 26

Command injection in Foreman's WebSocket proxy, as shipped in Red Hat Satellite 6, allows a malicious compute-resource p

CVE-2026-12541 HIGH
8.2 Oct 01

OS command injection in Foreman's foreman-rake db:dump and db:import_dump tasks lets an attacker who already holds permi

CVE-2026-12540 HIGH
8.2 Oct 01

Command injection in the Foreman foreman-rake errors:fetch_log task shipped with Red Hat Satellite 6 allows a local user

CVE-2026-90959 HIGH
8.1 Sep 24

Path traversal in the pulpcore content upload API allows an authenticated user holding only low-privilege file-repositor

CVE-2026-106471 HIGH
8.1 Oct 07

Candlepin, the entitlement and subscription management engine behind Red Hat Satellite 6, contains an authorization-logi

CVE-2026-84218 HIGH
8.1 Sep 01

Jolokia's JSR-160 proxy in multiple Red Hat middleware products allows network-accessible unauthenticated attackers (per

CVE-2026-12542 HIGH
7.8 Oct 01

OS command injection in the Foreman foreman-tail helper utility shipped with Red Hat Satellite 6.19 for RHEL 9 allows a

Vendor StatusVendor

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy