Security mailing lists by PureSourceCode

CVE-2022-46146

HIGH 8.8CVSS 3.1

Prometheus Exporter-Toolkit is vulnerable to 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.

Published
29 Nov 2022
Last modified
10 Sep 2026
Assigned by
security-advisories@github.com
NVD status
Modified
Weakness
CWE-287
Also known as
GHSA-7rg2-cxvp-9p7pGO-2022-1130
Sources
NVDJSONOSV GHSA-7rg2-cxvp-9p7pJSONOSV GO-2022-1130JSON

Scores

SourceScored byVersionScoreVector / decision
NVD nvd@nist.gov (Primary) CVSS 3.1 HIGH 8.8 CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
NVD security-advisories@github.com (Secondary) CVSS 3.1 MEDIUM 6.2 CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
OSV GitHub CVSS 3.1 MEDIUM 6.2 CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD prometheus exporter_toolkit
cpe:2.3:a:prometheus:exporter_toolkit:*:*:*:*:*:*:*:*
< 0.7.2 0.7.2
NVD prometheus exporter_toolkit
cpe:2.3:a:prometheus:exporter_toolkit:*:*:*:*:*:*:*:*
>= 0.8.0, < 0.8.2 0.8.2
OSV Go github.com/prometheus/exporter-toolkit < 0.7.2 0.7.2
OSV Go github.com/prometheus/exporter-toolkit >= 0.8.0, < 0.8.2 0.8.2
OSV Go github.com/prometheus/exporter-toolkit < 0.7.2; >= 0.8.0, < 0.8.2 0.7.2, 0.8.2

References

History

  • 25 Nov 2026 20:35 UTC · NVD: first stored (published 29 Nov 2022)
  • 25 Nov 2026 20:14 UTC · OSV: first stored (published 29 Nov 2022)
  • 25 Nov 2026 20:13 UTC · OSV: first stored (published 2 Dec 2022)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.