# CVE-2026-9073: Foreman-mcp-server: mcp server: insecure sensitive http header sanitization

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** MEDIUM 6.2
- **CVSS:** 6.2 (v3.1, CNA) `CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N`
- **CVSS metrics:** Attack vector: Local; Attack complexity: Low; Privileges required: None; User interaction: None; Scope: Unchanged; Confidentiality impact: High; Integrity impact: None; Availability impact: None
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Not remotely exploitable (local or adjacent access needed)
- **EPSS:** 0.21% (percentile 6, 2026-11-26)
- **CWE:** CWE-532
- **Aliases:** GHSA-7rcj-2493-83x3, PYSEC-2026-4050
- **Published:** 2026-06-23T19:53:15.850Z
- **Modified:** 2026-11-25T16:17:57.880Z

## Who should check

- Projects that depend on PyPI package foreman-mcp-server (\<= 0.4.2)
- Anyone running foreman-mcp-server (versions: see the vendor advisory)
- Anyone running Red Hat Satellite 6.18 all versions
- Anyone running Red Hat Satellite 6.19 all versions

## Description

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.

## Affected and fixed versions

- PyPI `foreman-mcp-server`: affected \<= 0.4.2; fixed no fix listed yet (osv)
- foreman-mcp-server: see vendor advisory (cvelist)
- Red Hat Satellite 6.18: all versions (cvelist)
- Red Hat Satellite 6.19: all versions (cvelist)

## Mitigation

- Vendor workaround: Mitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base or stability.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-9073. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-9073.md
Affected: foreman-mcp-server <= 0.4.2
Fixed in: no fixed version listed yet

Steps:
1. Search this machine and project for foreman-mcp-server (PyPI), foreman-mcp-server, Red Hat Satellite 6.18, Red Hat Satellite 6.19: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2026-9073 being exploited?

There is no confirmed exploitation: CVE-2026-9073 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.21% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2026-9073?

Medium: CVSS 6.2 (v3.1, scored by CNA). Not remotely exploitable (local or adjacent access needed).

### Which versions are affected by CVE-2026-9073?

foreman-mcp-server \<= 0.4.2.

### Is there a fix for CVE-2026-9073?

No fixed version is listed in the sources yet. Vendor workaround: Mitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base or stability.

### How do I check if I'm affected by CVE-2026-9073?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- vendor: <https://access.redhat.com/errata/RHSA-2026:28405>
- vendor: <https://access.redhat.com/errata/RHSA-2026:28438>
- vendor: <https://access.redhat.com/security/cve/CVE-2026-9073>
- vendor: <https://bugzilla.redhat.com/show_bug.cgi?id=2480151>
- vendor: <https://nvd.nist.gov/vuln/detail/CVE-2026-9073>
- vendor: <https://github.com/advisories/GHSA-7rcj-2493-83x3>
- patch: <https://github.com/theforeman/foreman-mcp-server/commit/0f166d7e3e8ec554e669da17211fdffd14740e2f>
- patch: <https://github.com/theforeman/foreman-mcp-server/commit/f9594e8127c77e0eed3ca482b540b88c391e8e44>
- other: <https://github.com/InfraMCP/foreman-mcp-server>
- other: <https://pypi.org/project/foreman-mcp-server>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-9073>
- OSV: CC-BY 4.0 <https://osv.dev/vulnerability/GHSA-7rcj-2493-83x3> (license: <https://creativecommons.org/licenses/by/4.0/>)
- OSV: CC-BY 4.0 <https://osv.dev/vulnerability/PYSEC-2026-4050> (license: <https://creativecommons.org/licenses/by/4.0/>)

HTML: <https://flawdb.com/CVE-2026-9073> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-9073>
