Join the Cyber Forum: Threat Intel on May 12, 2026 to learn how AI is reshaping threat defense.Join the Virtual Cyber Forum: Threat IntelRegister Now
Experiencing a Breach?Blog
Get StartedContact Us
SentinelOne
  • Platform
    Platform Overview
    • Singularity Platform
      Welcome to Integrated Enterprise Security
    • AI for Security
      Leading the Way in AI-Powered Security Solutions
    • Securing AI
      Accelerate AI Adoption with Secure AI Tools, Apps, and Agents.
    • How It Works
      The Singularity XDR Difference
    • Singularity Marketplace
      One-Click Integrations to Unlock the Power of XDR
    • Pricing & Packaging
      Comparisons and Guidance at a Glance
    Data & AI
    • Purple AI
      Accelerate SecOps with Generative AI
    • Singularity Hyperautomation
      Easily Automate Security Processes
    • AI-SIEM
      The AI SIEM for the Autonomous SOC
    • AI Data Pipelines
      Security Data Pipeline for AI SIEM and Data Optimization
    • Singularity Data Lake
      AI-Powered, Unified Data Lake
    • Singularity Data Lake for Log Analytics
      Seamlessly Ingest Data from On-Prem, Cloud or Hybrid Environments
    Endpoint Security
    • Singularity Endpoint
      Autonomous Prevention, Detection, and Response
    • Singularity XDR
      Native & Open Protection, Detection, and Response
    • Singularity RemoteOps Forensics
      Orchestrate Forensics at Scale
    • Singularity Threat Intelligence
      Comprehensive Adversary Intelligence
    • Singularity Vulnerability Management
      Application & OS Vulnerability Management
    • Singularity Identity
      Identity Threat Detection and Response
    Cloud Security
    • Singularity Cloud Security
      Block Attacks with an AI-Powered CNAPP
    • Singularity Cloud Native Security
      Secure Cloud and Development Resources
    • Singularity Cloud Workload Security
      Real-Time Cloud Workload Protection Platform
    • Singularity Cloud Data Security
      AI-Powered Threat Detection for Cloud Storage
    • Singularity Cloud Security Posture Management
      Detect and Remediate Cloud Misconfigurations
    Securing AI
    • Prompt Security
      Secure AI Tools Across Your Enterprise
  • Why SentinelOne?
    Why SentinelOne?
    • Why SentinelOne?
      Cybersecurity Built for What’s Next
    • Our Customers
      Trusted by the World’s Leading Enterprises
    • Industry Recognition
      Tested and Proven by the Experts
    • About Us
      The Industry Leader in Autonomous Cybersecurity
    Compare SentinelOne
    • Arctic Wolf
    • Broadcom
    • CrowdStrike
    • Cybereason
    • Microsoft
    • Palo Alto Networks
    • Sophos
    • Splunk
    • Trellix
    • Trend Micro
    • Wiz
    Verticals
    • Energy
    • Federal Government
    • Finance
    • Healthcare
    • Higher Education
    • K-12 Education
    • Manufacturing
    • Retail
    • State and Local Government
  • Services
    Managed Services
    • Managed Services Overview
      Wayfinder Threat Detection & Response
    • Threat Hunting
      World-Class Expertise and Threat Intelligence
    • Managed Detection & Response
      24/7/365 Expert MDR Across Your Entire Environment
    • Incident Readiness & Response
      DFIR, Breach Readiness, & Compromise Assessments
    Support, Deployment, & Health
    • Technical Account Management
      Customer Success with Personalized Service
    • SentinelOne GO
      Guided Onboarding & Deployment Advisory
    • SentinelOne University
      Live and On-Demand Training
    • Services Overview
      Comprehensive Solutions for Seamless Security Operations
    • SentinelOne Community
      Community Login
  • Partners
    Our Network
    • MSSP Partners
      Succeed Faster with SentinelOne
    • Singularity Marketplace
      Extend the Power of S1 Technology
    • Cyber Risk Partners
      Enlist Pro Response and Advisory Teams
    • Technology Alliances
      Integrated, Enterprise-Scale Solutions
    • SentinelOne for AWS
      Hosted in AWS Regions Around the World
    • Channel Partners
      Deliver the Right Solutions, Together
    • SentinelOne for Google Cloud
      Unified, Autonomous Security Giving Defenders the Advantage at Global Scale
    • Partner Locator
      Your Go-to Source for Our Top Partners in Your Region
    Partner Portal→
  • Resources
    Resource Center
    • Case Studies
    • Data Sheets
    • eBooks
    • Reports
    • Videos
    • Webinars
    • Whitepapers
    • Events
    View All Resources→
    Blog
    • Feature Spotlight
    • For CISO/CIO
    • From the Front Lines
    • Identity
    • Cloud
    • macOS
    • SentinelOne Blog
    Blog→
    Tech Resources
    • SentinelLABS
    • Ransomware Anthology
    • Cybersecurity 101
  • About
    About SentinelOne
    • About SentinelOne
      The Industry Leader in Cybersecurity
    • Investor Relations
      Financial Information & Events
    • SentinelLABS
      Threat Research for the Modern Threat Hunter
    • Careers
      The Latest Job Opportunities
    • Press & News
      Company Announcements
    • Cybersecurity Blog
      The Latest Cybersecurity Threats, News, & More
    • FAQ
      Get Answers to Our Most Frequently Asked Questions
    • DataSet
      The Live Data Platform
    • S Foundation
      Securing a Safer Future for All
    • S Ventures
      Investing in the Next Generation of Security, Data and AI
  • Pricing
Get StartedContact Us
CVE Vulnerability Database
Vulnerability Database/CVE-2021-29622

CVE-2021-29622: Prometheus Open Redirect Vulnerability

CVE-2021-29622 is an open redirect vulnerability in Prometheus monitoring system that allows attackers to redirect users to malicious URLs. This article covers the technical details, affected versions, and mitigation.

Published: February 25, 2026

CVE-2021-29622 Overview

CVE-2021-29622 is an open redirect vulnerability affecting Prometheus, the widely-used open-source monitoring system and time series database. Starting with version 2.23.0, Prometheus introduced a new UI with URL prefixes under /new that redirect to / to ensure a seamless transition. A bug in the redirect logic allows attackers to craft malicious URLs that can redirect users to arbitrary external URLs through the /new endpoint.

Critical Impact

Attackers can leverage this open redirect vulnerability to perform phishing attacks by directing users of Prometheus servers to malicious websites, potentially leading to credential theft or malware distribution.

Affected Products

  • Prometheus versions 2.23.0 through 2.26.0
  • Prometheus version 2.27.0 (including 2.27.0-rc0)
  • Any Prometheus deployment exposing the /new endpoint to users

Discovery Timeline

  • May 19, 2021 - CVE-2021-29622 published to NVD
  • November 21, 2024 - Last updated in NVD database

Technical Details for CVE-2021-29622

Vulnerability Analysis

This vulnerability falls under CWE-601 (URL Redirection to Untrusted Site, also known as Open Redirect). The issue stems from improper validation of redirect URLs in the /new endpoint handler. When Prometheus transitioned to its new UI in version 2.23.0, the development team implemented redirects from /new/* paths to their corresponding paths without the prefix to maintain backward compatibility.

The redirect logic fails to properly validate that the target URL is within the same origin or is a relative path. This allows an attacker to construct a specially crafted URL containing an external domain that the Prometheus server will accept and redirect the user to.

Root Cause

The root cause is insufficient input validation in the URL redirect handler for the /new endpoint. The code responsible for processing redirect paths does not adequately sanitize or validate the destination URL, allowing absolute URLs or specially formatted paths that resolve to external domains to be accepted as valid redirect targets.

Attack Vector

The attack requires user interaction—a victim must click on or visit a maliciously crafted URL pointing to a vulnerable Prometheus server. The attacker creates a URL that appears to link to a legitimate Prometheus instance but includes redirect parameters that will send the victim to an attacker-controlled site.

This vulnerability is exploited through network-based attacks where the attacker distributes the malicious link through phishing emails, social media, or other channels. When a user clicks the link expecting to access their Prometheus dashboard, they are instead redirected to a malicious destination where credential harvesting or malware distribution can occur.

The exploitation pattern typically involves crafting a URL that leverages path manipulation techniques to bypass basic validation. For technical details on the specific exploitation method, refer to the GitHub Security Advisory GHSA-vx57-7f4q-fpc7.

Detection Methods for CVE-2021-29622

Indicators of Compromise

  • Unusual HTTP requests to the /new endpoint containing external URLs or suspicious path patterns
  • Access logs showing requests to /new/ followed by encoded or malformed URL paths
  • User reports of unexpected redirects when accessing Prometheus dashboards
  • Web server logs indicating 302/301 redirects from Prometheus to external domains

Detection Strategies

  • Monitor web server access logs for requests to /new/* paths containing URL-encoded characters or external domain references
  • Implement web application firewall (WAF) rules to detect and block open redirect attempts targeting the /new endpoint
  • Review network traffic for outbound connections from user browsers that originated from Prometheus server redirects
  • Set up alerts for any redirect responses from the Prometheus server that point to external domains

Monitoring Recommendations

  • Enable detailed access logging on the Prometheus server and any reverse proxy in front of it
  • Configure log analysis tools to flag requests containing suspicious redirect patterns in the /new path
  • Monitor for phishing campaigns that may be leveraging your organization's Prometheus URLs
  • Implement Content Security Policy headers to limit redirect destinations where possible

How to Mitigate CVE-2021-29622

Immediate Actions Required

  • Upgrade Prometheus to version 2.26.1, 2.27.1, or 2.28.0 and later where the issue is resolved
  • If immediate patching is not possible, implement a reverse proxy rule to block or restrict access to the /new endpoint
  • Review access logs for any historical exploitation attempts
  • Notify users who may have accessed suspicious Prometheus URLs to check for credential compromise

Patch Information

Prometheus has released security patches addressing this vulnerability in versions 2.26.1 and 2.27.1. Starting with version 2.28.0, the /new endpoint has been completely removed, eliminating the attack surface entirely.

For detailed release information, see:

  • GitHub Release v2.26.1
  • GitHub Release v2.27.1

Workarounds

  • Deploy a reverse proxy (such as nginx or Apache) in front of Prometheus and configure it to deny all requests to the /new endpoint
  • Implement URL filtering at the network perimeter to block or alert on requests targeting vulnerable paths
  • Restrict Prometheus server access to trusted networks or users via authentication and authorization controls
  • Use network segmentation to limit exposure of Prometheus instances to only necessary internal traffic
bash
# Example nginx configuration to block /new endpoint
location /new {
    deny all;
    return 403;
}

# Alternative: Redirect /new requests to root without external redirect capability
location ~ ^/new(.*)$ {
    return 301 /;
}

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

  • Vulnerability Details
  • TypeOther

  • Vendor/TechPrometheus

  • SeverityMEDIUM

  • CVSS Score6.1

  • EPSS Probability86.63%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityLow
  • AvailabilityNone
  • CWE References
  • CWE-601
  • Technical References
  • GitHub Release v2.26.1

  • GitHub Release v2.27.1

  • GitHub Security Advisory GHSA-vx57-7f4q-fpc7
  • Related CVEs
  • CVE-2026-40179: Prometheus Web UI XSS Vulnerability

  • CVE-2022-21698: Prometheus Client Golang DoS Vulnerability
Default Legacy - Prefooter | Experience the World’s Most Advanced Cybersecurity Platform

Experience the World’s Most Advanced Cybersecurity Platform

See how our intelligent, autonomous cybersecurity platform can protect your organization now and into the future.

Try SentinelOne
  • Get Started
  • Get a Demo
  • Product Tour
  • Why SentinelOne
  • Pricing & Packaging
  • FAQ
  • Contact
  • Contact Us
  • Customer Support
  • SentinelOne Status
  • Language
  • Platform
  • Singularity Platform
  • Singularity Endpoint
  • Singularity Cloud
  • Singularity AI-SIEM
  • Singularity Identity
  • Singularity Marketplace
  • Purple AI
  • Services
  • Wayfinder TDR
  • SentinelOne GO
  • Technical Account Management
  • Support Services
  • Verticals
  • Energy
  • Federal Government
  • Finance
  • Healthcare
  • Higher Education
  • K-12 Education
  • Manufacturing
  • Retail
  • State and Local Government
  • Cybersecurity for SMB
  • Resources
  • Blog
  • Labs
  • Case Studies
  • Videos
  • Product Tours
  • Events
  • Cybersecurity 101
  • eBooks
  • Webinars
  • Whitepapers
  • Press
  • News
  • Ransomware Anthology
  • Company
  • About Us
  • Our Customers
  • Careers
  • Partners
  • Legal & Compliance
  • Security & Compliance
  • Investor Relations
  • S Foundation
  • S Ventures

©2026 SentinelOne, All Rights Reserved.

Privacy Notice Terms of Use

English