BREACHSPIDER
CVE databaseVendorsIntelFeaturesDevelopersDocsPricingSign inStart free trial

CVE-2021-29622 in Prometheus

Medium 6.1

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, ...

Affects 1 product from 1 vendor. Facts below cite their sources.

CVSS 3.16.1
EPSS19.6%
EPSS percentile98th
FixUnknown

Remotely exploitable over the network, low complexity, no authentication required, requires user interaction, can impact systems beyond the vulnerable component, no availability impact.

Affected products and versions

VendorProductAffected versions
Prometheus Prometheus 2.27.0 ≥ 2.23.0, < 2.26.1

A product listed here is affected only at the versions shown. Use the free check to test the exact version you run.

Fix and vendor advisory

No official vendor advisory link on record. See the CVE record.

Exploitation

CISA known-exploitedNot in the CISA KEV catalog
Public exploitNot confirmed

Official description

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 URL. The issue was patched in the 2.26.1 and 2.27.1 releases. In 2.28.0, the /new endpoint will be removed completely. The workaround is to disable access to /new via a reverse proxy in front of Prometheus.

Source: NIST NVD / MITRE CVE.

Record details

CVE IDCVE-2021-29622
BreachSpider IDBS-2021-GLOBAL-078707-M
CVSS vectorCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
Published2021-05-19
Last modified2026-06-17
Weakness (CWE)
SourceNVD

Weakness definitions

CWE-601: CWE-601

Related attack patterns (CAPEC)

CAPEC-178 Cross-Site Flashing via CWE-601

Mapping is CWE to CAPEC per MITRE CAPEC 3.9.

Analysis AI-written, not human-reviewed

A vulnerability in Prometheus version 2.23.0 allows attackers to craft URLs that can redirect users to arbitrary external sites via the /new endpoint.

The vulnerability arises from a bug in the URL redirection logic in the New UI of Prometheus 2.23.0. An attacker can exploit this by constructing a malicious URL that, when visited by a user, redirects them to an external site of the attacker's choosing.

Questions

What is CVE-2021-29622?

A vulnerability in Prometheus version 2.23.0 allows attackers to craft URLs that can redirect users to arbitrary external sites via the /new endpoint.

What is the CVSS score for CVE-2021-29622?

CVE-2021-29622 has CVSS 6.1 (Medium). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N. EPSS: 19.6%.

Is CVE-2021-29622 actively exploited?

No confirmed active exploitation of CVE-2021-29622 as of 2026-09-25.

How do I remediate CVE-2021-29622?

Priority: MEDIUM.

What systems are affected by CVE-2021-29622?

CVE-2021-29622 affects Prometheus Prometheus.

For developers and AI agents

Run this check from your own code or agent

REST API

curl -s https://breachspider.com/api/v1/assets/correlate-cves \
 -H "Authorization: Bearer $BREACHSPIDER_API_KEY" \
 -H "Content-Type: application/json" \
 -d '{"assets":[{"asset_id":"dev-1","vendor":"Prometheus","product":"Prometheus","version":"1.0"}]}'

API reference

Python SDK

pip install breachspider

PyPI · GitHub

MCP for AI agents

# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp

Setup for Claude, ChatGPT, Cursor

Free trial: 14 days, 750 device checks, no card.

Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2026-06-17.