Home / prometheus / exporter-toolkit / CVE-2022-46146
CVE-2022-46146: is it exploited, and which versions of prometheus exporter-toolkit are affected and fixed?
CVE-2022-46146 is an incorrect Implementation of Authentication Algorithm vulnerability in prometheus exporter-toolkit. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 13:08 UTC). Affected: github.com/prometheus/exporter-toolkit before 0.7.2 and github.com/prometheus/exporter-toolkit from 0.8.0 before 0.8.2 (GitHub advisory GHSA-7rg2-cxvp-9p7p). Fixed in 0.7.2 and 0.8.2 (GitHub advisory GHSA-7rg2-cxvp-9p7p). Severity: Medium (6.2, CVSS 3.1, from GitHub_M).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 13:08 UTC, CVE record November 19, 2026, 07:13 UTC and NVD November 19, 2026, 07:43 UTC.
What is CVE-2022-46146?
Prometheus 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.
From the CVE record by GitHub_M, last updated August 3, 2024, 14:24 UTC.
Which versions are affected, and which fix it?
| Vendor | Product | Affected | Fixed or not affected from |
|---|---|---|---|
| prometheus | exporter-toolkit | < 0.7.2 >= 0.8.0, < 0.8.2 |
As the CVE record by GitHub_M states it, last updated August 3, 2024. Version ranges are the CNA's; a version the record calls not affected is usually the fix.
Which packages are affected, and in which version is each fixed?
| Ecosystem | Package | Affected | Fixed in | Advisory |
|---|---|---|---|---|
| Go | github.com/prometheus/exporter-toolkit | < 0.7.2 | 0.7.2 | GHSA-7rg2-cxvp-9p7p |
| Go | github.com/prometheus/exporter-toolkit | >= 0.8.0, < 0.8.2 | 0.8.2 | GHSA-7rg2-cxvp-9p7p |
GitHub Advisory Database, reviewed advisories (CC BY 4.0); advisory updated December 2, 2022. Summary: Prometheus Exporter-Toolkit is vulnerable to authentication bypass.
Which products and versions does the NVD list as affected?
| Vendor | Product | Versions | Type |
|---|---|---|---|
| prometheus | exporter toolkit | before 0.7.2 | application |
| prometheus | exporter toolkit | from 0.8.0 before 0.8.2 | application |
NVD analysis (status Modified), last modified June 17, 2026, 05:11 UTC.
How severe is CVE-2022-46146?
| Score | Version | Vector | Source |
|---|---|---|---|
| Medium 6.2 | CVSS 3.1 | CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N | GitHub_M |
| High 8.8 | CVSS 3.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H | NVD |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2022-46146 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- EPSS
- 1.54% probability of exploitation activity in the next 30 days, percentile 75.7 (FIRST EPSS, scores of December 2, 2026)
What kind of flaw is it?
Where are the vendor advisories and references?
- https://github.com/prometheus/exporter-toolkit/security/advisories/GHSA-7rg2-cxvp-9p7p
- https://github.com/prometheus/exporter-toolkit/commit/5b1eab34484ddd353986bce736cd119d863e4ff5
- [oss-security] 20221129 CVE-2022-46146 in Prometheus' exporter toolkit: bypass basic authentication mailing-list
- [oss-security] 20221129 Re: CVE-2022-46146 in Prometheus' exporter toolkit: bypass basic authentication mailing-list
- [oss-security] 20221129 Re: CVE-2022-46146 in Prometheus' exporter toolkit: bypass basic authentication mailing-list
- FEDORA-2023-cf176d02d8 vendor-advisory
- FEDORA-2023-1b25579262 vendor-advisory
- FEDORA-2023-c1318fb7f8 vendor-advisory
- GLSA-202401-15 vendor-advisory
When was it published, and where is the official record?
- Reserved
- November 28, 2022
- Published
- November 29, 2022, 00:00 UTC
- CVE record updated
- August 3, 2024, 14:24 UTC by GitHub_M
- NVD
- Modified, last modified June 17, 2026, 05:11 UTC
- Last checked
- CVE list November 19, 2026, 07:13 UTC; NVD November 19, 2026, 07:43 UTC; KEV December 3, 2026, 13:08 UTC; EPSS December 2, 2026
- Official record
- cve.org · NVD
Questions about CVE-2022-46146
Is CVE-2022-46146 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 13:08 UTC. FIRST's EPSS gives it a 1.54% chance of exploitation activity in the next 30 days (scores of December 2, 2026).
Which versions of prometheus exporter-toolkit are affected by CVE-2022-46146?
github.com/prometheus/exporter-toolkit before 0.7.2 and github.com/prometheus/exporter-toolkit from 0.8.0 before 0.8.2, per the GitHub advisory GHSA-7rg2-cxvp-9p7p. The tables above give every range the sources list.
Which version fixes CVE-2022-46146?
0.7.2 and 0.8.2, per the GitHub advisory GHSA-7rg2-cxvp-9p7p. Check the vendor's advisory before you rely on it.
How severe is CVE-2022-46146?
Medium (6.2, CVSS 3.1, from GitHub_M). The severity table above shows each score with its source.
Where is the official record of CVE-2022-46146?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.