CVE-2026-42507 Affecting prometheus-blackbox-exporter package, versions <0.28.0-r8


Severity

Recommended
low

Based on default assessment until relevant scores are available.

Threat Intelligence

EPSS
0.26% (18th 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 IDSNYK-CHAINGUARDLATEST-PROMETHEUSBLACKBOXEXPORTER-17190891
  • published5 Jun 2026
  • disclosed2 Jun 2026

Introduced: 2 Jun 2026

NewCVE-2026-42507  (opens in a new tab)

How to fix?

Upgrade Chainguard prometheus-blackbox-exporter to version 0.28.0-r8 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream prometheus-blackbox-exporter package and not the prometheus-blackbox-exporter package as distributed by Chainguard. See How to fix? for Chainguard relevant fixed versions and status.

When returning errors, functions in the net/textproto package would include its input as part of the error. This might allow an attacker to inject misleading content to errors that are printed or logged.

CVSS Base Scores

version 3.1