Live threats

All CVEs / Prometheus

CVE-2022-46146Prometheus Exporter Toolkit

High 8.8

Priority
53
CVSS 3.1
8.8
EPSS
1.4%
probability of exploitation in 30 days · percentile 72
Auth required
Yes
Published
Nov 29, 2022
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-287, CWE-303
Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

What happens

Prometheus Exporter Toolkit is a utility package to build exporters. Prior to versions 0.7.2 and 0.8.2, if someone has access to a Prometheus web.yml file and users' bcrypted passwords, they can bypass security by poisoning the built-in authentication cache. Versions 0.7.2 and 0.8.2 contain a fix for the issue. There is no workaround, but attacker must have access to the hashed password to use this functionality.

Original NVD text.

What to do

  1. Apply the vendor's security update for Exporter Toolkit.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
Go github.com/prometheus/exporter-toolkit < 0.7.2 0.7.2 go get github.com/prometheus/exporter-toolkit@v0.7.2
Go github.com/prometheus/exporter-toolkit ≥ 0.8.0 < 0.8.2 0.8.2 go get github.com/prometheus/exporter-toolkit@v0.8.2
Go github.com/prometheus/exporter-toolkit < 0.7.2 0.7.2 go get github.com/prometheus/exporter-toolkit@v0.7.2
Go github.com/prometheus/exporter-toolkit ≥ 0.8.0 < 0.8.2 0.8.2 go get github.com/prometheus/exporter-toolkit@v0.8.2

Per OSV / GitHub Advisories (GHSA-7rg2-cxvp-9p7p, GO-2022-1130). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
prometheusexporter_toolkit< 0.7.2
prometheusexporter_toolkit≥ 0.8.0 < 0.8.2

Official sources

References

Links published by the sources. Open them with care.