# foreman-mcp-server Inserts Sensitive Information into Log File

Advisory record · `GHSA-7rcj-2493-83x3`

- **Identifiers:** `GHSA-7rcj-2493-83x3` · `CVE-2026-9073` · `PYSEC-2026-4050`
- **State:** Confirmed
- **Severity:** CVSS 6.2 Medium
- **Critical:** No
- **Weakness (CWE):** [CWE-532](https://cwe.mitre.org/data/definitions/532.html)
- **Tags:** [Information disclosure](https://agentprime.io/advisories/tag/info-disclosure.md)
- **Published:** 23 Jun 2026
- **Updated:** 1 Oct 2026
- **Reviewed by a person:** No

Published by the GitHub Advisory Database at 23 Jun 2026, 21:30 UTC. agentprime has not analysed this yet, so whether it affects any app is not known.

## Affected packages

- `foreman-mcp-server` (PyPI): affected `<=0.4.2`; no fixed version yet

## Machine-written summary

Summary written by Claude Haiku from the source advisory. Not reviewed by a person.

> foreman-mcp-server, versions up to and including 0.4.2, writes session identifiers at informational log level and, when debug logging is enabled, incompletely sanitizes HTTP request headers. An attacker who can read the server's logs, such as container logs or a centralized log platform receiving them, can obtain authentication tokens and API keys in plain text. No fixed version is listed. Limiting access to the logs and keeping debug logging disabled reduces exposure.

Written 1 Nov 2026.

## Not analysed yet

We haven’t published our analysis of this Advisory yet. Once a person has reviewed it, this page will say what’s vulnerable, what has to be true for your app to be affected, and how to check.

## Severity and exploitation

- 6.2 Medium, CVSS 3.1: `CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N`, from CNA (redhat)

- **CISA KEV:** Not listed.
- **EPSS:** 0.0021, the 11th percentile, on 16 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.

## Timeline

- 31 Oct 2026, 14:09 UTC: First seen by agentprime
- 31 Oct 2026, 14:09 UTC: [Confirmed by OSV](https://osv.dev/vulnerability/GHSA-7rcj-2493-83x3)

## Sources

- [GitHub Advisory Database: GHSA-7rcj-2493-83x3](https://github.com/advisories/GHSA-7rcj-2493-83x3)
- [OSV: GHSA-7rcj-2493-83x3](https://osv.dev/vulnerability/GHSA-7rcj-2493-83x3)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-9073>
- <https://github.com/theforeman/foreman-mcp-server/commit/0f166d7e3e8ec554e669da17211fdffd14740e2f>
- <https://github.com/theforeman/foreman-mcp-server/commit/f9594e8127c77e0eed3ca482b540b88c391e8e44>
- <https://access.redhat.com/errata/RHSA-2026:28405>
- <https://access.redhat.com/errata/RHSA-2026:28438>
- <https://access.redhat.com/security/cve/CVE-2026-9073>
- <https://bugzilla.redhat.com/show_bug.cgi?id=2480151>
- <https://github.com/InfraMCP/foreman-mcp-server>

Facts on this page come from the GitHub Advisory Database (CC-BY 4.0), OSV and the other sources listed, as published. We don’t reproduce full advisory descriptions, which can contain exploit code.

## Check whether this affects you

A Match means an installed version is in the affected range above. Most don’t affect the app; agentprime hasn’t analysed this one yet.

- With the agentprime MCP server (<https://api.agentprime.io/mcp>), ask your agent to check the project: `check_lockfile` sends a lockfile, `check_packages` a list of installed packages, and both return the Matches and the upgrades that clear them. `get_advisory` returns this record. Setup: <https://agentprime.io/mcp.md>
- In a browser: <https://agentprime.io/check/> reads your lockfile in the browser, never uploading it.
- Whether it touches your code, with file and line: the Claude Code plugin, <https://agentprime.io/plugin.md>
- As JSON: <https://api.agentprime.io/v1/advisories/GHSA-7rcj-2493-83x3>, or `POST https://api.agentprime.io/v1/match` with your packages (<https://agentprime.io/api.md>)

---

The web page: <https://agentprime.io/advisories/GHSA-7rcj-2493-83x3/>. Everything for agents: <https://agentprime.io/llms.txt>.
