CVE-2022-46146
Prometheus Exporter Toolkit vulnerable to basic authentication bypass
- Published
- Updated
- Reserved
- Assigned by
- GitHub_M
Description
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.
Timeline
ID reserved
By GitHub_M
- 1 day later
· 1 day later
Published
- 20 months later
· 20 months later
Record updated
Changes after publication (a new score, a public exploit, EPSS crossing 1, 10 or 50 %, leaving KEV) are kept since November 2026; earlier ones are not known.
Scores
| Scored by | CVSS | Score | Vector |
|---|---|---|---|
| GitHub_MCNA (assigner) | 3.1 | Medium6.2 | CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N |
| NVDNVD · Modified | 3.1 | High8.8 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
- EPSS (exploitation in 30 days)
- 1.3% · top 30% of all CVEs (7 Nov 2026)
The list uses the assigner's score when there is one, then CISA's, then NVD's: Medium 6.2.
Weakness
Affected products
- affected < 0.7.2
- affected >= 0.8.0, < 0.8.2
Affected packages
From reviewed advisories of the GitHub Advisory Database.
- Gogithub.com/prometheus/exporter-toolkitGHSA-7rg2-cxvp-9p7p (opens in a new tab)
References (9)
- https://github.com/prometheus/exporter-toolkit/security/advisories/GHSA-7rg2-cxvp-9p7p (opens in a new tab)x_transferred
- https://github.com/prometheus/exporter-toolkit/commit/5b1eab34484ddd353986bce736cd119d863e4ff5 (opens in a new tab)x_transferred
- [oss-security] 20221129 CVE-2022-46146 in Prometheus' exporter toolkit: bypass basic authentication (opens in a new tab)mailing-listx_transferred
- [oss-security] 20221129 Re: CVE-2022-46146 in Prometheus' exporter toolkit: bypass basic authentication (opens in a new tab)mailing-listx_transferred
- [oss-security] 20221129 Re: CVE-2022-46146 in Prometheus' exporter toolkit: bypass basic authentication (opens in a new tab)mailing-listx_transferred
- FEDORA-2023-cf176d02d8 (opens in a new tab)vendor-advisoryx_transferred
- FEDORA-2023-1b25579262 (opens in a new tab)vendor-advisoryx_transferred
- FEDORA-2023-c1318fb7f8 (opens in a new tab)vendor-advisoryx_transferred
- GLSA-202401-15 (opens in a new tab)vendor-advisoryx_transferred
Sources
The same CVE in the primary databases and aggregators, to check against.
- CVE.org record (opens in a new tab)
- CVE List JSON (GitHub) (opens in a new tab)
- NVD (opens in a new tab)
- FIRST EPSS (opens in a new tab)
- OSV.dev (opens in a new tab)
- GitHub Advisory GHSA-7rg2-cxvp-9p7p (opens in a new tab)
- CIRCL Vulnerability-Lookup (opens in a new tab)
Badge for a README or a ticket
[](https://trackcve.app/cve/CVE-2022-46146)Record last updated .