Prometheus Exporter Toolkit vulnerable to basic authentication bypass
cve-program · CVE-2022-46146
PublishedPrometheus 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.
Read the publisher's advisoryeuvd · EUVD-2022-7555
PublishedPrometheus 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.
Read the publisher's advisorynvd · CVE-2022-46146
PublishedPrometheus 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.
Read the publisher's advisoryosv · GHSA-7rg2-cxvp-9p7p
Published### Impact Prometheus and its exporters can be secured by a web.yml file that specifies usernames and hashed passwords for basic authentication. Passwords are hashed with bcrypt, which means that even if you have access to the hash, it is very hard to find the original password back. However, a flaw in the way this mechanism was implemented in the exporter toolkit makes it possible with people who know the hashed password to authenticate against Prometheus. A request can be forged by an attacker to poison the internal cache used to cache the computation of hashes and make subsequent requests successful. This cache is used in both happy and unhappy scenarios in order to limit side channel attacks that could tell an attacker if a user is present in the file or not. ### Patches The exporter-toolkit v0.7.3 and v0.8.2 have been released to address this issue. ### Workarounds There is no workaround but attacker must have access to the hashed password, stored in disk, to bypass the authentication. ### Credit We want to thank Lei Wan reporting this security issue.
Read the publisher's advisoryosv · GO-2022-1130
PublishedIf an attacker has access to a Prometheus web.yml file and users' bcrypted passwords, it would be possible to bypass security via the built-in authentication cache.
Read the publisher's advisoryAffected versions, risk and source history
Exploitation and risk
Source statusCISA KEV lists vulnerabilities known to be exploited. FIRST EPSS estimates the likelihood of exploitation in the next 30 days. An unavailable score does not mean zero risk.
Which CVEs have scores here?
This view includes predictions for CVE identifiers explicitly listed in public NuGet advisories. Microsoft release pages have their own prediction coverage. Check source status for the scope and latest checks.
No exploitation or prediction data is available here for these CVEs. This does not mean they are safe or unlikely to be exploited.
cve-program · CVE-2022-46146
PublishedPrometheus Exporter Toolkit vulnerable to basic authentication bypass
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.
- Source published
- 29 Nov 2022 00:00:00 UTC
- Source modified
- 3 Aug 2024 14:24:03 UTC
- Saved here
- 23 Oct 2026 15:48:27 UTC
- Source terms
- CVE Program Terms of Use
Original source record · Cite this exact observation · Complete original publisher JSON
Source: cve-program · CVE Program Terms of Use. The publisher's wording is preserved. ChangeIntel groups the information and labels changes. The JSON record includes additional source fields.
CVSS 3.1 · 6.2 CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
euvd · EUVD-2022-7555
PublishedPrometheus 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 aut…
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.
Additional publisher context
EUVD source date text has no stated timezone and is retained without inventing a UTC instant. Related bulletin membership is not an alias, common cause or applicability claim. A missing vector with a zero score is treated as unrated. Complete vendor/product and underlying source evidence remains in the original JSON.
Original publisher date fields
datePublished: Nov 29, 2022, 12:00:00 AM
dateUpdated: Aug 3, 2024, 2:24:03 PM
38 related source bulletins · separate from aliases
WID-SEC-W-2022-2194: Prometheus: Schwachstelle ermöglicht Umgehen von Sicherheitsvorkehrungen
CVE-2022-46146
SUSE-SU-2023:0812-1: Security update for SUSE Manager Client Tools
CVE-2022-23552 · CVE-2022-39324 · CVE-2022-41723 · CVE-2022-46146
RHSA-2023:5001: Red Hat Security Advisory: OpenShift Container Platform 4.11.49 bug fix and security update
CVE-2022-46146
SUSE-EL-9-CLIENT-TOOLS-2023-3875: Security update for SUSE Manager Client Tools
CVE-2022-32149 · CVE-2022-41723 · CVE-2022-46146 · CVE-2023-29409
openSUSE-SU-2024:12650-1: golang-github-prometheus-prometheus-2.41.0-1.1 on GA media
CVE-2022-46146
WID-SEC-W-2023-2338: Red Hat OpenShift: Schwachstelle ermöglicht Umgehen von Sicherheitsvorkehrungen
CVE-2022-46146
SUSE-SU-2023:3867-1: Security update for SUSE Manager Client Tools
CVE-2022-32149 · CVE-2022-41723 · CVE-2022-46146 · CVE-2023-29409
SUSE-SU-2023:1857-1: Security update for golang-github-prometheus-prometheus
CVE-2022-46146
SUSE-SU-2023:2187-1: Security update for Prometheus Golang clients
CVE-2022-27191 · CVE-2022-27664 · CVE-2022-46146
SUSE-SU-2023:0821-1: Security update for grafana
CVE-2022-23552 · CVE-2022-39324 · CVE-2022-41723 · CVE-2022-46146
SUSE-SU-2023:2182-1: Security update for SUSE Manager Client Tools
CVE-2022-41715 · CVE-2022-46146
SUSE-SU-2024:0196-1: Security Beta update for SUSE Manager Client Tools and Salt
CVE-2020-7753 · CVE-2021-20178 · CVE-2021-20180 · CVE-2021-20191 · CVE-2021-20228 · CVE-2021-3447 · CVE-2021-3583 · CVE-2021-3620 · CVE-2021-36222 · CVE-2021-3711 · CVE-2021-3807 · CVE-2021-3918 · CVE-2021-41174 · CVE-2021-41244 · CVE-2021-43138 · CVE-2021-43798 · CVE-2021-43813 · CVE-2021-43815 · CVE-2022-0155 · CVE-2022-23552 · CVE-2022-27664 · CVE-2022-29170 · CVE-2022-31097 · CVE-2022-31107 · CVE-2022-31123 · CVE-2022-31130 · CVE-2022-32149 · CVE-2022-35957 · CVE-2022-36062 · CVE-2022-39201 · CVE-2022-39229 · CVE-2022-39306 · CVE-2022-39307 · CVE-2022-39324 · CVE-2022-41715 · CVE-2022-41723 · CVE-2022-46146 · CVE-2023-0507 · CVE-2023-0594 · CVE-2023-1387 · CVE-2023-1410 · CVE-2023-2183 · CVE-2023-2801 · CVE-2023-3128
openSUSE-SU-2024:12872-1: prometheus-postgres_exporter-0.10.1-2.1 on GA media
CVE-2022-46146
SUSE-SU-2023:0465-1: Security update for prometheus-ha_cluster_exporter
CVE-2022-46146
SUSE-SU-2023:0460-1: Security update for prometheus-ha_cluster_exporter
CVE-2022-46146
RHSA-2023:1326: Red Hat Security Advisory: OpenShift Container Platform 4.13.0 security update
CVE-2021-4235 · CVE-2021-4238 · CVE-2021-20329 · CVE-2021-38561 · CVE-2022-21698 · CVE-2022-23525 · CVE-2022-23526 · CVE-2022-27191 · CVE-2022-41316 · CVE-2022-41717 · CVE-2022-41721 · CVE-2022-41723 · CVE-2022-41724 · CVE-2022-41725 · CVE-2022-46146 · CVE-2023-0620 · CVE-2023-0665 · CVE-2023-25000 · CVE-2023-25165 · CVE-2023-25173 · CVE-2023-25809 · CVE-2023-27561 · CVE-2023-28642 · CVE-2023-30841
SUSE-SU-2023:0811-1: Security update for SUSE Manager Client Tools
CVE-2022-23552 · CVE-2022-39324 · CVE-2022-41723 · CVE-2022-46146
SUSE-SU-2023:2594-1: Security update for SUSE Manager Server 4.2
CVE-2022-46146 · CVE-2023-22644
SUSE-SU-2023:1859-1: Security update for golang-github-prometheus-prometheus
CVE-2022-46146
SUSE-SU-2023:1858-1: Security update for golang-github-prometheus-prometheus
CVE-2022-46146
SUSE-SU-2023:2579-1: Security update for SUSE Manager Client Tools
CVE-2020-7753 · CVE-2021-3807 · CVE-2021-3918 · CVE-2021-43138 · CVE-2022-0155 · CVE-2022-27191 · CVE-2022-27664 · CVE-2022-31097 · CVE-2022-31107 · CVE-2022-32149 · CVE-2022-35957 · CVE-2022-36062 · CVE-2022-41715 · CVE-2022-46146 · CVE-2023-1387 · CVE-2023-1410
SUSE-SU-2023:2183-1: Security update for SUSE Manager Client Tools
CVE-2022-27191 · CVE-2022-27664 · CVE-2022-41715 · CVE-2022-46146
SUSE-SU-2024:0191-1: Security Beta update for SUSE Manager Client Tools
CVE-2020-7753 · CVE-2021-36222 · CVE-2021-3711 · CVE-2021-3807 · CVE-2021-3918 · CVE-2021-39226 · CVE-2021-41174 · CVE-2021-41244 · CVE-2021-43138 · CVE-2021-43798 · CVE-2021-43813 · CVE-2021-43815 · CVE-2022-0155 · CVE-2022-21673 · CVE-2022-21698 · CVE-2022-21702 · CVE-2022-21703 · CVE-2022-21713 · CVE-2022-23552 · CVE-2022-27191 · CVE-2022-27664 · CVE-2022-29170 · CVE-2022-31097 · CVE-2022-31107 · CVE-2022-31123 · CVE-2022-31130 · CVE-2022-32149 · CVE-2022-35957 · CVE-2022-36062 · CVE-2022-39201 · CVE-2022-39229 · CVE-2022-39306 · CVE-2022-39307 · CVE-2022-39324 · CVE-2022-41715 · CVE-2022-41723 · CVE-2022-46146 · CVE-2023-0507 · CVE-2023-0594 · CVE-2023-1387 · CVE-2023-1410 · CVE-2023-2183 · CVE-2023-2801 · CVE-2023-3128 · CVE-2023-40577
SUSE-EL-9-CLIENT-TOOLS-2023-2185: Security update for SUSE Manager Client Tools
CVE-2022-27191 · CVE-2022-27664 · CVE-2022-46146
SUSE-SU-2023:3868-1: Security update for SUSE Manager Client Tools
CVE-2022-32149 · CVE-2022-41723 · CVE-2022-46146 · CVE-2023-29409
SUSE-SU-2023:2598-1: Security update for golang-github-prometheus-prometheus
CVE-2022-41715 · CVE-2022-41723 · CVE-2022-46146
openSUSE-SU-2024:12700-1: grafana-8.5.20-2.1 on GA media
CVE-2022-46146
msrc_CVE-2022-46146: Prometheus Exporter Toolkit vulnerable to basic authentication bypass
CVE-2022-46146
SUSE-RU-2023:2592-1: Security update for SUSE Manager Server 4.3
CVE-2022-46146 · CVE-2023-22644
openSUSE-SU-2024:13109-1: golang-github-lusitaniae-apache_exporter-1.0.0-1.1 on GA media
CVE-2022-32149 · CVE-2022-41723 · CVE-2022-46146
RHSA-2023:2110: Red Hat Security Advisory: OpenShift Container Platform 4.12.16 security update
CVE-2022-46146
SUSE-SU-2023:0467-1: Security update for prometheus-ha_cluster_exporter
CVE-2022-46146
SUSE-SU-2023:2185-1: Security update for SUSE Manager Client Tools
CVE-2022-27191 · CVE-2022-27664 · CVE-2022-46146
SUSE-SU-2023:3875-1: Security update for SUSE Manager Client Tools
CVE-2022-32149 · CVE-2022-41723 · CVE-2022-46146 · CVE-2023-29409
openSUSE-SU-2024:12691-1: prometheus-ha_cluster_exporter-1.3.1+git.1676027782.ad3c0e9-2.1 on GA media
CVE-2022-46146
openSUSE-SU-2024:12637-1: golang-github-prometheus-node_exporter-1.5.0-1.1 on GA media
CVE-2022-27191 · CVE-2022-46146
openSUSE-SU-2024:12904-1: prometheus-blackbox_exporter-0.19.0-13.1 on GA media
CVE-2022-46146
SUSE-SU-2023:2578-1: Security update for SUSE Manager Client Tools
CVE-2020-7753 · CVE-2021-3807 · CVE-2021-3918 · CVE-2021-43138 · CVE-2022-0155 · CVE-2022-27664 · CVE-2022-31097 · CVE-2022-31107 · CVE-2022-32149 · CVE-2022-35957 · CVE-2022-36062 · CVE-2022-41715 · CVE-2022-46146 · CVE-2023-1387 · CVE-2023-1410
- Source published
- Nov 29, 2022, 12:00:00 AM (timezone not stated)
- Source modified
- Aug 3, 2024, 2:24:03 PM (timezone not stated)
- Saved here
- 18 Nov 2026 03:34:08 UTC
- Source terms
- ENISA EUVD · source terms and attribution apply
Original source record · Cite this exact observation · Complete original publisher JSON
Source: euvd · ENISA EUVD · source terms and attribution apply. The publisher's wording is preserved. ChangeIntel groups the information and labels changes. The JSON record includes additional source fields.
EUVD CVSS 3.1 · 6.2 CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
nvd · CVE-2022-46146
PublishedPrometheus 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 aut…
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.
Additional publisher context
NVD analysis and CPE criteria are source context, not proof that a package or your environment is affected. Complete affected data, logical configurations and SSVC are retained in the original JSON.
Source analysis status: Modified
Weakness classifications: CWE-287 · CWE-303
Original publisher date fields
published: 2022-11-29T14:15:13.283
lastModified: 2026-06-17T05:11:18.000
1 source CPE criteria · context only
- cpe:2.3:a:prometheus:exporter_toolkit:*:*:*:*:*:*:*:*
The original JSON retains the logical configuration operators, exclusions and version bounds.
- Source published
- 29 Nov 2022 14:15:13 UTC
- Source modified
- 17 Jun 2026 05:11:18 UTC
- Saved here
- 24 Oct 2026 21:17:16 UTC
- Source terms
- NIST NVD usage terms; underlying source attribution retained
Original source record · Cite this exact observation · Complete original publisher JSON
Source: nvd · NIST NVD usage terms; underlying source attribution retained. The publisher's wording is preserved. ChangeIntel groups the information and labels changes. The JSON record includes additional source fields.
CVSS 3.1 · [email protected] · Secondary · 6.2 CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
CVSS 3.1 · [email protected] · Primary · 8.8 CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
osv · GHSA-7rg2-cxvp-9p7p
PublishedPrometheus Exporter-Toolkit is vulnerable to authentication bypass
### Impact Prometheus and its exporters can be secured by a web.yml file that specifies usernames and hashed passwords for basic authentication. Passwords are hashed with bcrypt, which means that even if you have access to the hash, it is very hard to find the original password back. However, a flaw in the way this mechanism was implemented in the exporter toolkit makes it possible with people who know the hashed password to authenticate against Prometheus. A request can be forged by an attacker to poison the internal cache used to cache the computation of hashes and make subsequent requests successful. This cache is used in both happy and unhappy scenarios in order to limit side channel attacks that could tell an attacker if a user is present in the file or not. ### Patches The exporter-toolkit v0.7.3 and v0.8.2 have been released to address this issue. ### Workarounds There is no workaround but attacker must have access to the hashed password, stored in disk, to bypass the authentication. ### Credit We want to thank Lei Wan reporting this security issue.
- Source published
- 2 Dec 2022 22:25:46 UTC
- Source modified
- 10 Sep 2026 03:49:47 UTC
- Saved here
- 24 Oct 2026 13:19:41 UTC
- Source terms
- GitHub Advisory Database · CC-BY-4.0
Original source record · Cite this exact observation · Complete original publisher JSON
Source: osv · GitHub Advisory Database · CC-BY-4.0. The publisher's wording is preserved. ChangeIntel groups the information and labels changes. The JSON record includes additional source fields.
CVSS_V3 · CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
Publisher rating · MODERATE
osv · GO-2022-1130
PublishedAuthentication bypass in github.com/prometheus/exporter-toolkit
If an attacker has access to a Prometheus web.yml file and users' bcrypted passwords, it would be possible to bypass security via the built-in authentication cache.
- Source published
- 29 Nov 2022 16:33:47 UTC
- Source modified
- 4 Feb 2026 02:15:49 UTC
- Saved here
- 24 Oct 2026 13:19:41 UTC
- Source terms
- OSV · upstream source license applies
Original source record · Cite this exact observation · Complete original publisher JSON
Source: osv · OSV · upstream source license applies. The publisher's wording is preserved. ChangeIntel groups the information and labels changes. The JSON record includes additional source fields.