CVE-2021-29622: Prometheus is an open-source monitoring system and time series database
CVE-2021-29622 is a medium-severity flaw (CVSS 6.5) affecting prometheus. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.
Prometheus is an open-source monitoring system and time series database. In 2.23.0, Prometheus changed its default UI to the New ui. To ensure a seamless transition, the URL's prefixed by /new redirect to /. Due to a bug in the code, it is possible for an attacker to craft an URL that can redirect to any other URL, in the /new endpoint. If a user visits a prometheus server with a specially crafted address, they can be redirected to an arbitrary U
Why this priority
- EPSS top 3%: very likely to be exploited
A fixed release or distro patch exists.
Risk facts
| CVSS score | 6.5 (Medium) |
| Attack vector | Network (remote) |
| Attack complexity | Low |
| Privileges needed | None |
| User interaction | Required |
| EPSS exploit chance | 19.6% (top 3%) |
| CISA exploited list | No |
| Weakness | CWE-601 |
| Published | 2021-05-19 |
| Last modified | 2026-06-17 |
Last updated 2026-06-17 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score
Am I affected?
Timeline
- Published CVE record published
- Updated Record last modified
Public exploits and detection
Public code exists for this CVE. Treat unpatched systems as at risk, and only run PoCs in a lab.
- Nuclei scan template: Prometheus - Open Redirect
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.
Quick answers
How do I fix CVE-2021-29622?
prometheus: upgrade to 2.26.1. Exact commands for each OS are on this page.
Is CVE-2021-29622 being exploited?
CVE-2021-29622 is not on the CISA Known Exploited Vulnerabilities list at the time of the last update. Check again, as this can change.
What does CVE-2021-29622 affect?
CVE-2021-29622 affects prometheus. Severity is medium (CVSS 6.5). Prometheus is an open-source monitoring system and time series database. In 2.23.0, Prometheus changed its default UI to the New ui. To ensure a seamless transition, the URL's prefixed by /new redirect to /. Due to a bug in the code, it is
How urgent is CVE-2021-29622?
Priority 47/100. EPSS top 3%: very likely to be exploited
Software pages
Related CVEs
- CVE-2026-42154 HIGH 7.5 UPGRADE Prometheus is an open-source monitoring system and time series database
- CVE-2026-42151 HIGH 7.5 UPGRADE Prometheus is an open-source monitoring system and time series database
- CVE-2026-44903 MEDIUM 6.1 UPGRADE Prometheus is an open-source monitoring system and time series database
- CVE-2026-40179 MEDIUM 6.1 UPGRADE Prometheus is an open-source monitoring system and time series database
- CVE-2019-3826 MEDIUM 6.1 UPGRADE DOWNGRADE A stored, DOM based, cross-site scripting (XSS) flaw was found in Prometheus before version 2.7.1