Insertion of Sensitive Information into Log File Affecting foreman-mcp-server package, versions [0,]


Severity

Recommended
0.0
medium
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.21% (11th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Insertion of Sensitive Information into Log File vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-PYTHON-FOREMANMCPSERVER-20158942
  • published27 Sept 2026
  • disclosed23 Jun 2026
  • creditUnknown

Introduced: 23 Jun 2026

CVE-2026-9073  (opens in a new tab)
CWE-532  (opens in a new tab)

How to fix?

A fix was pushed into the master branch but not yet published.

Overview

foreman-mcp-server is a MCP server for Foreman host management and infrastructure automation

Affected versions of this package are vulnerable to Insertion of Sensitive Information into Log File via the _sanitize_headers method in logging.py, which used a denylist approach to redact sensitive HTTP headers before logging. Because only a fixed set of known header names (foreman_password, foreman_token, password, token) were masked, any other header carrying credentials or tokens - such as authorization or custom authentication headers - was logged in plaintext. An attacker with read access to the application logs can recover those credential values.

CVSS Base Scores

version 4.0
version 3.1