{"id":"CVE-2022-46146","aliases":["GHSA-7rg2-cxvp-9p7p","GO-2022-1130"],"url":"https://o3.security/vulnerability/CVE-2022-46146","summary":"Prometheus Exporter Toolkit vulnerable to basic authentication bypass","details":"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.","published":"2022-11-29T00:00:00Z","modified":"2026-07-24T18:29:54.318099184Z","cvss":{"score":6.2,"severity":"MEDIUM","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N"},"epss":null,"cisaKev":null,"exploitsKnown":3,"affectedPackages":[{"ecosystem":"Go","name":"github.com/prometheus/exporter-toolkit","fixedVersion":"0.7.2"},{"ecosystem":"Go","name":"github.com/prometheus/exporter-toolkit","fixedVersion":"0.8.2"}],"fix":{"url":"https://github.com/prometheus/exporter-toolkit/commit/5b1eab34484ddd353986bce736cd119d863e4ff5","label":"prometheus/exporter-toolkit@5b1eab3"},"references":[{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/46xxx/CVE-2022-46146.json"},{"type":"ADVISORY","url":"https://github.com/prometheus/exporter-toolkit/security/advisories/GHSA-7rg2-cxvp-9p7p"},{"type":"ADVISORY","url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/JRSHISR64L6QGSMDFZDNPHHIXSCAKK26/"},{"type":"ADVISORY","url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/UH24VXIB25OGHF4VGY4PLZMTGTI3BHCA/"},{"type":"ADVISORY","url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/ULVDTAI76VATRAHTKCE2SUJ4NC3PQZ6Y/"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-46146"},{"type":"ADVISORY","url":"https://security.gentoo.org/glsa/202401-15"},{"type":"FIX","url":"https://github.com/prometheus/exporter-toolkit/commit/5b1eab34484ddd353986bce736cd119d863e4ff5"},{"type":"ARTICLE","url":"http://www.openwall.com/lists/oss-security/2022/11/29/1"},{"type":"ARTICLE","url":"http://www.openwall.com/lists/oss-security/2022/11/29/2"},{"type":"ARTICLE","url":"http://www.openwall.com/lists/oss-security/2022/11/29/4"}],"provenance":{"sources":["OSV.dev","FIRST.org (EPSS)"],"lastVerified":"2026-07-24T18:29:54.318099184Z"}}