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-2025-12764

CVE-2025-12764: pgAdmin 4 LDAP Injection DoS Vulnerability

CVE-2025-12764 is an LDAP injection vulnerability in pgAdmin 4 that enables attackers to cause denial of service by injecting special characters in usernames. This article covers technical details, affected versions, and mitigation.

Published: April 22, 2026

CVE-2025-12764 Overview

CVE-2025-12764 is an LDAP injection vulnerability affecting pgAdmin versions 9.9 and earlier. The flaw exists within the LDAP authentication flow, allowing an attacker to inject special LDAP characters into the username field. This injection causes the Domain Controller/LDAP server and the client to process an unusually large amount of data, resulting in a Denial of Service (DoS) condition.

Critical Impact

Unauthenticated attackers can exploit this LDAP injection vulnerability to cause denial of service by overwhelming the LDAP server and pgAdmin client with excessive data processing during authentication attempts.

Affected Products

  • pgAdmin 4 versions 9.9 and earlier
  • pgAdmin 4 for PostgreSQL (all platforms)

Discovery Timeline

  • 2025-11-13 - CVE-2025-12764 published to NVD
  • 2025-11-19 - Last updated in NVD database

Technical Details for CVE-2025-12764

Vulnerability Analysis

This vulnerability is classified as CWE-90 (Improper Neutralization of Special Elements used in an LDAP Query, or 'LDAP Injection'). The flaw resides in pgAdmin's LDAP authentication mechanism, which fails to properly sanitize user-supplied input before incorporating it into LDAP queries.

When a user attempts to authenticate via LDAP, the username provided is used to construct an LDAP search query. The vulnerable code path does not adequately filter or escape special LDAP metacharacters such as *, (, ), \, and null bytes. An attacker can craft a malicious username containing these special characters to manipulate the LDAP query structure.

The attack is network-accessible without requiring prior authentication or user interaction. While the vulnerability does not directly lead to data confidentiality or integrity compromise, it creates a significant availability impact by exhausting resources on both the LDAP server and the pgAdmin client.

Root Cause

The root cause of CVE-2025-12764 is insufficient input validation and sanitization in pgAdmin's LDAP authentication handler. When processing login requests, the application directly incorporates user-supplied username values into LDAP queries without properly escaping LDAP special characters. This allows an attacker to inject crafted payloads that alter the intended query behavior, forcing the LDAP server to perform resource-intensive operations.

Attack Vector

The attack vector is network-based, targeting the pgAdmin web interface's login functionality when LDAP authentication is enabled. An unauthenticated remote attacker can submit specially crafted username values containing LDAP metacharacters to the authentication endpoint. These injected characters cause the LDAP query to behave unexpectedly, triggering excessive data retrieval or processing that overwhelms both the LDAP server and the pgAdmin client, resulting in denial of service.

The attack does not require any privileges or user interaction, making it particularly dangerous in environments where pgAdmin's login page is exposed to untrusted networks.

Detection Methods for CVE-2025-12764

Indicators of Compromise

  • Unusual or malformed authentication attempts to pgAdmin containing special characters such as *, (, ), \, or null bytes in username fields
  • LDAP server logs showing abnormally large query responses or elevated resource consumption
  • pgAdmin authentication failures coinciding with LDAP server performance degradation
  • Network traffic showing repeated login attempts with varying special character payloads

Detection Strategies

  • Monitor pgAdmin authentication logs for usernames containing LDAP metacharacters (*, (, ), \, NUL)
  • Implement LDAP server query logging and alerting on queries that return unusually large result sets
  • Deploy web application firewall (WAF) rules to detect and block LDAP injection patterns in authentication requests
  • Configure rate limiting on pgAdmin login endpoints to reduce the impact of repeated exploitation attempts

Monitoring Recommendations

  • Enable detailed logging for pgAdmin authentication events and forward logs to a centralized SIEM platform
  • Set up alerts for LDAP server resource exhaustion indicators such as high CPU, memory usage, or query latency spikes
  • Monitor for patterns of failed authentication attempts that may indicate active exploitation
  • Track pgAdmin service availability and configure alerts for unexpected outages or degraded performance

How to Mitigate CVE-2025-12764

Immediate Actions Required

  • Upgrade pgAdmin to a version newer than 9.9 that includes the security fix for this vulnerability
  • If immediate upgrade is not possible, consider temporarily disabling LDAP authentication and using alternative authentication methods
  • Restrict network access to the pgAdmin login interface to trusted IP ranges or internal networks only
  • Implement input validation at the network perimeter using a WAF to filter LDAP injection payloads

Patch Information

The pgAdmin development team has acknowledged this vulnerability in GitHub Issue #9325. Organizations should monitor this issue and the official pgAdmin releases for an updated version containing the security fix. Upgrading to a patched version of pgAdmin 4 beyond version 9.9 is the recommended remediation.

Workarounds

  • Disable LDAP authentication in pgAdmin and use internal or OAuth-based authentication methods until a patch is available
  • Deploy a reverse proxy or WAF in front of pgAdmin to filter login requests containing LDAP metacharacters
  • Restrict access to the pgAdmin web interface using firewall rules to limit exposure to trusted networks only
  • Implement additional monitoring and rate limiting on authentication endpoints to detect and throttle exploitation attempts

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

  • Vulnerability Details
  • TypeDOS

  • Vendor/TechPgadmin

  • SeverityHIGH

  • CVSS Score7.5

  • EPSS Probability0.07%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityHigh
  • CWE References
  • CWE-90
  • Vendor Resources
  • GitHub Issue #9325
  • Related CVEs
  • CVE-2026-1707: pgAdmin Auth Bypass Vulnerability

  • CVE-2025-13780: pgAdmin 4 RCE Vulnerability

  • CVE-2025-12762: Pgadmin 4 RCE Vulnerability

  • CVE-2024-9014: pgAdmin 4 Auth Bypass 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