# CVE-2022-46146: Prometheus Exporter Toolkit vulnerable to basic authentication bypass

- Severity: Medium 6.2 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 1.38%, higher than 72% of CVEs (2026-11-30)
- Public exploit code or proof of concept: 3 links below, marked "exploit"
- Published: 2022-11-29T00:00:00.000Z
- Modified: 2026-09-10T03:49:47.410Z
- Also known as: GHSA-7rg2-cxvp-9p7p, GO-2022-1130
- Related: CGA-q8cm-w99c-4fj2
- Weaknesses: CWE-287, CWE-303
- 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.

(As written by CVE List.)

## Affected

- prometheus exporter-toolkit: < 0.7.2; >= 0.8.0, < 0.8.2
- github.com/prometheus/exporter-toolkit (Go): before 0.7.2; from 0.8.0 before 0.8.2
- prometheus exporter_toolkit: before 0.7.2; from 0.8.0 before 0.8.2

## Every score

- GitHub_M: CVSS:3.1 6.2 Medium `CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N`
- GitHub: CVSS:3.1 6.2 Medium `CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N`
- NVD: CVSS:3.1 8.8 High `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`

## References

- <http://www.openwall.com/lists/oss-security/2022/11/29/1> (exploit, mailing-list, third-party-advisory, web)
- <http://www.openwall.com/lists/oss-security/2022/11/29/2> (exploit, mailing-list, patch, third-party-advisory, web)
- <http://www.openwall.com/lists/oss-security/2022/11/29/4> (exploit, mailing-list, patch, third-party-advisory, web)
- <https://github.com/prometheus/exporter-toolkit/security/advisories/GHSA-7rg2-cxvp-9p7p> (advisory, third-party-advisory, web)
- <https://github.com/prometheus/exporter-toolkit/commit/5b1eab34484ddd353986bce736cd119d863e4ff5> (fix, patch, third-party-advisory, web)
- <https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/ULVDTAI76VATRAHTKCE2SUJ4NC3PQZ6Y/> (vendor-advisory)
- <https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/JRSHISR64L6QGSMDFZDNPHHIXSCAKK26/> (vendor-advisory)
- <https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/UH24VXIB25OGHF4VGY4PLZMTGTI3BHCA/> (vendor-advisory)
- <https://security.gentoo.org/glsa/202401-15> (vendor-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2022-46146> (advisory)
- <https://github.com/prometheus/exporter-toolkit/commit/25288779bc59d00c41b4a1706c6b87f0561ef2d7> (web)
- <https://github.com/prometheus/exporter-toolkit> (package)
- <https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/JRSHISR64L6QGSMDFZDNPHHIXSCAKK26> (web)
- <https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/UH24VXIB25OGHF4VGY4PLZMTGTI3BHCA> (web)
- <https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/ULVDTAI76VATRAHTKCE2SUJ4NC3PQZ6Y> (web)
- <https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/JRSHISR64L6QGSMDFZDNPHHIXSCAKK26> (web)
- <https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/UH24VXIB25OGHF4VGY4PLZMTGTI3BHCA> (web)
- <https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/ULVDTAI76VATRAHTKCE2SUJ4NC3PQZ6Y> (web)

## Sources

- CVE List: [CVE-2022-46146](https://www.cve.org/CVERecord?id=CVE-2022-46146), CVE Terms of Use, modified 2024-08-03
- GitHub Advisory Database: [GHSA-7rg2-cxvp-9p7p](https://github.com/advisories/GHSA-7rg2-cxvp-9p7p), CC-BY-4.0, modified 2026-09-10
- Go Vulnerability Database: [GO-2022-1130](https://pkg.go.dev/vuln/GO-2022-1130), CC-BY-4.0, modified 2026-02-04
- NVD: [CVE-2022-46146](https://nvd.nist.gov/vuln/detail/CVE-2022-46146), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2022-46146 · Whole record: https://cve.day/CVE-2022-46146.json · Rebuilt by cve.day 2026-11-25T22:58:17.112Z
