A Leader in the 2026 Gartner® Magic Quadrant™ for Endpoint Protection. Six years running.Six years. Gartner® Magic Quadrant™ Leader.Find Out Why
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-2026-7820

CVE-2026-7820: pgAdmin 4 Auth Bypass Vulnerability

CVE-2026-7820 is an authentication bypass flaw in pgAdmin 4 that allows attackers to circumvent brute-force protection and perform unlimited password-guessing attacks. This article covers technical details, affected versions, and mitigation.

Published: May 18, 2026

CVE-2026-7820 Overview

CVE-2026-7820 is an authentication control bypass in pgAdmin 4 versions prior to 9.15. The flaw stems from improper restriction of excessive authentication attempts [CWE-307]. pgAdmin enforces its MAX_LOGIN_ATTEMPTS setting only inside the custom /authenticate/login view. The Flask-Security default /login endpoint, automatically registered by security.init_app(), never consulted the User.locked field. An attacker who triggered an account lockout against an account using the INTERNAL authentication source could still obtain a valid session by submitting credentials directly to /login. The same path also lets attackers perform unbounded online password-guessing against INTERNAL accounts.

Critical Impact

Attackers bypass pgAdmin's brute-force lockout mechanism by targeting the Flask-Security /login endpoint, enabling unrestricted password guessing against any INTERNAL account.

Affected Products

  • pgAdmin 4 versions prior to 9.15
  • Deployments using the INTERNAL authentication source
  • Installations relying on MAX_LOGIN_ATTEMPTS as the sole brute-force control

Discovery Timeline

  • 2026-05-11 - CVE-2026-7820 published to NVD
  • 2026-05-13 - Last updated in NVD database

Technical Details for CVE-2026-7820

Vulnerability Analysis

pgAdmin 4 exposes two authentication endpoints that share the same underlying user store. The custom /authenticate/login view filters by auth_source=INTERNAL and increments lockout counters when MAX_LOGIN_ATTEMPTS is exceeded. The Flask-Security default /login view is registered automatically during security.init_app() and remains reachable on every deployment. The two views do not share the same lockout enforcement logic, producing an inconsistent authentication policy across the application.

Root Cause

The User model relied on UserMixin.is_locked() from Flask-Security, which always returns not locked, and on Flask-Login's is_active, which only inspects the active column. Neither method consulted the locked column populated by /authenticate/login. As a result, the default /login view accepted valid credentials for accounts that pgAdmin's own logic considered locked. Login attempts arriving at /login were also never counted toward the MAX_LOGIN_ATTEMPTS threshold.

Attack Vector

An unauthenticated remote attacker submits repeated credential guesses directly to the /login endpoint. Because no rate limiting or lockout check applies, the attacker can iterate through password candidates without restriction. Even after /authenticate/login marks the targeted account as locked, valid credentials sent to /login still produce an authenticated session. LDAP, OAuth2, Kerberos, and Webserver users are not affected because Flask-Security's LoginForm.validate rejects them before any lockout check, and the lockout itself is filtered to auth_source=INTERNAL.

No verified public exploit code is available. See the pgAdmin GitHub Issue Tracker Entry for technical details.

Detection Methods for CVE-2026-7820

Indicators of Compromise

  • Repeated HTTP POST requests to /login from a single source address with varying credential payloads.
  • Successful authentications to /login for accounts that have an active lockout flag recorded in the pgAdmin user table.
  • Web server logs showing high request volume to /login without corresponding entries in /authenticate/login.

Detection Strategies

  • Correlate authentication telemetry from both /login and /authenticate/login to surface accounts authenticated through the unprotected path.
  • Query the pgAdmin user database for sessions established on accounts where locked=true.
  • Alert on authentication attempt rates that exceed the configured MAX_LOGIN_ATTEMPTS value within a short time window per source IP.

Monitoring Recommendations

  • Forward pgAdmin web server access logs to a centralized log analytics platform for sustained inspection.
  • Track per-account failed login counts across both endpoints rather than relying on application-side counters alone.
  • Monitor for session creation events that occur shortly after lockout events for the same user identifier.

How to Mitigate CVE-2026-7820

Immediate Actions Required

  • Upgrade pgAdmin 4 to version 9.15 or later, which overrides User.is_active and User.is_locked() to enforce the locked column on every authentication path.
  • Audit INTERNAL accounts for recent successful authentications during periods when the account was locked.
  • Rotate passwords for any INTERNAL account that shows signs of unbounded login activity against /login.

Patch Information

The upstream fix overrides User.is_active and User.is_locked() so the locked column is consulted by both /authenticate/login and the Flask-Security default /login view. The patch is included in pgAdmin 4 release 9.15. Refer to the pgAdmin GitHub Issue Tracker Entry for the complete change set and review history.

Workarounds

  • Restrict network access to pgAdmin to trusted administrative networks until the upgrade is applied.
  • Place a reverse proxy or web application firewall in front of pgAdmin to rate-limit requests to /login.
  • Migrate users away from the INTERNAL authentication source to LDAP, OAuth2, Kerberos, or Webserver authentication, which are not affected by this bypass.
bash
# Example nginx rate-limit configuration in front of pgAdmin
limit_req_zone $binary_remote_addr zone=pglogin:10m rate=5r/m;

location /login {
    limit_req zone=pglogin burst=5 nodelay;
    proxy_pass http://pgadmin_backend;
}

location /authenticate/login {
    limit_req zone=pglogin burst=5 nodelay;
    proxy_pass http://pgadmin_backend;
}

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

  • Vulnerability Details
  • TypeAuth Bypass

  • Vendor/TechPgadmin

  • SeverityMEDIUM

  • CVSS Score6.9

  • EPSS Probability0.04%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityNone
  • CWE References
  • CWE-307
  • Technical References
  • GitHub Issue Tracker Entry
  • Related CVEs
  • CVE-2026-7813: pgAdmin 4 Authorization Bypass Vulnerability

  • CVE-2026-1707: pgAdmin Auth Bypass Vulnerability

  • CVE-2025-12765: pgAdmin 4 Auth Bypass Vulnerability

  • CVE-2024-9014: pgAdmin 4 Auth Bypass Vulnerability
Default Legacy - Prefooter | Experience the World’s Most Advanced Cybersecurity Platform

Experience the Most Advanced Cybersecurity Platform

See how the world’s most intelligent, autonomous cybersecurity platform can protect your organization today 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