Skip to main content
Menu
Advisories

foreman-mcp-server Inserts Sensitive Information into Log File

GHSA-7RCJ-2493-83X3Published Updated GitHub

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 versions

References

nvd.nist.gov

GitHub · theforeman/foreman-mcp-server

access.redhat.com

bugzilla.redhat.com

GitHub · InfraMCP/foreman-mcp-server