CVE-2022-46146Prometheus Exporter Toolkit
High 8.8
Follow: this CVE · Prometheus · Prometheus Exporter Toolkit We alert you by email or Slack (account required).
- 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
- 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.
What to do
- Apply the vendor's security update for Exporter Toolkit.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How 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)
| Vendor | Product | Versions |
|---|---|---|
| prometheus | exporter_toolkit | < 0.7.2 |
| prometheus | exporter_toolkit | ≥ 0.8.0 < 0.8.2 |
Official sources
References
Links published by the sources. Open them with care.
- www.openwall.com Exploit Mailing List Third Party Advisory
- www.openwall.com Exploit Mailing List Patch
- www.openwall.com Exploit Mailing List Patch
- github.com Patch Third Party Advisory
- github.com Third Party Advisory
- lists.fedoraproject.org
- lists.fedoraproject.org
- lists.fedoraproject.org
- security.gentoo.org