Skip to main content

pgAdmin CVE-2025-12765

HIGH
Improper Certificate Validation (CWE-295)
2025-11-13 f86ef6dc-4d3a-42ad-8f28-e6d5547a5007
7.4
CVSS 3.1 · NVD
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Gain on-path position between pgAdmin and LDAP
  2. Delivery
    Present rogue LDAP server with invalid TLS cert
  3. Exploit
    pgAdmin skips certificate verification
  4. Execution
    Intercept credentials or forge auth success
  5. Impact
    Authenticate as arbitrary pgAdmin user

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A07:2025 - Authentication Failures
ASVS 5.0
V12 - Secure Communication Certificate validation
Exploitation Conditions

pgAdmin must be configured to use LDAP as an authentication source with TLS (LDAPS or StartTLS). The attacker must hold a man-in-the-middle / on-path position between the pgAdmin server and the LDAP server to substitute a rogue directory endpoint - this network-position requirement is the primary limiter and is why CVSS assigns AC:H. Deployments using pgAdmin's internal/local authentication (the default) or without an interceptable network path are not exploitable. No user interaction or prior authentication is required once the MITM position is held.

Impact

This is a genuine but conditionally-exploitable weakness rather than an urgent widespread threat. The CVSS 3.1 vector (AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N, 7.4 High) tells a consistent story: exploitation is network-reachable and requires no authentication or user interaction, but AC:H reflects a meaningful precondition - the attacker must occupy an on-path/man-in-the-middle position between pgAdmin and the LDAP server, since the flaw (CWE-295) is failure to verify the LDAP server's TLS certificate. All signals point away from imminent mass exploitation: EPSS is 0.05% (16th percentile), the CVE is not in CISA KEV, and no public exploit code is referenced. Therefore this is 'no public exploit identified at time of analysis.' The impact is high (C:H/I:H) because a successful MITM lets an attacker impersonate the LDAP directory to harvest credentials or authenticate as an arbitrary pgAdmin user, but the AC:H MITM requirement plus the need for LDAP auth to be configured make this a targeted-scenario issue, not a spray-and-pray one. No signal conflict: the low EPSS/absent-KEV status is fully consistent with the high complexity of the attack.

Exploit ScenarioDerived

An attacker positioned on the network path between the pgAdmin server and its LDAP/Active Directory server (e.g., via ARP spoofing on a shared segment or DNS/route manipulation) presents a rogue LDAP endpoint with an invalid or self-signed TLS certificate. Because pgAdmin <= 9.9 does not verify the certificate, the connection succeeds and the attacker either captures the credentials pgAdmin forwards or returns a forged 'authentication success' to log in as a chosen user. No public proof-of-concept is referenced, and the man-in-the-middle requirement (AC:H) raises the practical bar.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 0.1% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv2 – Sep 30, 2026

LDAP-based authentication in pgAdmin 4 through version 9.9 can be subverted by an on-path attacker because the application fails to properly validate the TLS certificate of the directory server it connects to, allowing a rogue LDAP endpoint to be substituted between pgAdmin and the legitimate server. The flow is unauthenticated (CVSS PR:N) with no user interaction, and the assessed impact is high for both confidentiality and integrity, but exploitation requires the attacker to already hold a man-in-the-middle position and the deployment to be configured for LDAP over TLS (LDAPS or StartTLS); default pgAdmin installations using internal/local authentication are not exposed. EPSS is only 0.05% (16th percentile) and no public exploit code or CISA KEV entry was identified at time of analysis, so this is a genuine but conditionally exploitable weakness rather than an urgent, widespread threat.

Earlier versions of this analysis (1)
v1 Mar 28, 2026 - 19:22 CVSS 7.5

pgAdmin <= 9.9 is affected by a vulnerability in the LDAP authentication mechanism allows bypassing TLS certificate verification. Rated high severity (CVSS 7.5), this vulnerability is remotely exploitable, no authentication required, low attack complexity. No vendor patch available.

RemediationAI

Apply the vendor fix for pgAdmin 4; the upstream advisory (GitHub issue https://github.com/pgadmin-org/pgadmin4/issues/9324) confirms a vendor remedy exists, and SUSE users should install the packaged updates SUSE-SU-2026:0015 (https://www.suse.com/support/update/SUSE-SU-2026:0015/) and SUSE-SU-2026:0016 (https://www.suse.com/support/update/SUSE-SU-2026:0016/) rather than relying on an unconfirmed fixed release number. If immediate patching is not possible, the practical compensating control is to eliminate the attacker's network position: restrict outbound LDAP/LDAPS traffic from the pgAdmin host so it can reach only the single trusted directory server IP/hostname (via firewall or egress ACLs), which sharply reduces MITM opportunity but will break any other services on that host that share the same egress path and adds operational overhead when the directory server changes. Operators can also pin trust at the network layer by placing pgAdmin and the directory server on a segmented, mutually authenticated network or inside an encrypted tunnel, and by enforcing a private CA whose certificates the LDAP server actually presents; note that host-level certificate pinning cannot be configured from pgAdmin itself because the defect is in its own validation logic, so these are containment measures, not a substitute for the patch. As a last resort, temporarily switching pgAdmin to internal/local authentication removes the LDAP code path entirely but sacrifices centralized credential management, SSO, and directory group mapping, and should be treated as an interim measure only.

Affected Packages

pypi pgadmin4 fix: 9.10

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in pypi

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

pgAdmin 4 is a PostgreSQL administration and management platform that supports external authentication backends, including LDAP/Active Directory, where the pgAdmin server acts as a client connecting to a directory server over LDAPS or StartTLS. The root cause is CWE-295 (Improper Certificate Validation): the LDAP authentication code path fails to correctly verify the TLS certificate presented by the directory server, which defeats the trust anchor that TLS is supposed to provide. The affected CPE is cpe:2.3:a:pgadmin:pgadmin_4:*:*:*:*:*:postgresql:*:*, confirming the entire pgAdmin 4 line up to and including 9.9 across PostgreSQL-targeted deployments. Because the client does not enforce certificate trust, an adversary who can interpose on the network path can present a forged or untrusted certificate and impersonate the directory server, capturing or answering the authentication exchange. The assessed vector CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N reflects that the attack is network-delivered and requires no credentials or user action, but is rated AC:H precisely because the attacker must already occupy an on-path/MITM position and the victim instance must be configured to use TLS-protected LDAP.

Know when Pgadmin gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

NVD PRIMARY 7.4 HIGH
AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N
vuln.today AI 7.4 HIGH

AC:H because a man-in-the-middle position and LDAP TLS configuration are required; PR:N/UI:N since the flaw defeats authentication itself; C:H/I:H for credential capture and impersonation, A:N as no availability impact.

3.1 AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N
4.0 AV:N/AC:H/AT:N/PR:N/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N
SUSE 7.5 HIGH
AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N

Primary rating from NVD.

CVSS VectorNVD

Attack Vector
Network
Attack Complexity
High
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
None

Lifecycle Timeline

4
Analysis Updated
Sep 30, 2026 - 23:54 vuln.today
v2 - CVSS changed
CVSS changed
Sep 30, 2026 - 23:23 NVD
7.5 (HIGH) 7.4 (HIGH)
Patch released
Mar 31, 2026 - 21:13 nvd
Patch available
CVE Published
Nov 13, 2025 - 13:15 nvd
HIGH 7.5

DescriptionNVD

pgAdmin <= 9.9  is affected by a vulnerability in the LDAP authentication mechanism allows bypassing TLS certificate verification.

Executive ViewAI

Why It Matters

pgAdmin 4 deployments that rely on LDAP over TLS for authentication face a high-severity vulnerability (CVE-2025-12765) where an attacker with a man-in-the-middle position could bypass authentication and gain unauthorized access to database management interfaces. Organizations using default local authentication are not affected, but those with LDAP-integrated pgAdmin instances could expose sensitive database environments. Given the low exploitation likelihood (EPSS 0.1%) and no public exploit identified at time of analysis, this is a conditional risk that warrants prompt patching but not emergency escalation.

Business Impact: Medium
Compensating Controls

Apply vendor patch.

Threat Intelligence Overview

EPSS Score
0.1%
Top 84% exploitable
Prevalence
High
pgAdmin is the dominant administration GUI for PostgreSQL deployments
Data Quality
6 sources
Confidence: High
NVD CVE.org EPSS Vendor GitHub VulDB

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS 0.1%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation· derived
None
System Exposure· derived
Open
Automatable· derived
No
Human Impact
Medium

Priority Score

37
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +37
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Authentication bypass attacks exploit flaws in the verification mechanisms that control access to systems and applications.

Affected Products (CPE)NVD

cpe:2.3:a:pgadmin:pgadmin_4:*:*:*:*:*:postgresql:*:*
CVE-2025-2945 CRITICAL POC
9.9 Apr 03

pgAdmin 4 contains critical remote code execution vulnerabilities in the Query Tool download and Cloud Deployment endpoi

CVE-2024-2044 CRITICAL POC
9.9 Mar 07

pgAdmin <= 8.3 is affected by a path-traversal vulnerability while deserializing users’ sessions in the session handling

CVE-2024-3116 CRITICAL POC
9.8 Apr 04

pgAdmin <= 8.4 is affected by a Remote Code Execution (RCE) vulnerability through the validate binary path API. Rated cr

CVE-2022-4223 HIGH POC
8.8 Dec 13

The pgAdmin server includes an HTTP API that is intended to be used to validate the path a user selects to external Post

CVE-2024-9014 MEDIUM POC
6.5 Sep 23

pgAdmin versions 8.11 and earlier are vulnerable to a security flaw in OAuth2 authentication. Rated medium severity (CVS

CVE-2025-12762 CRITICAL
9.8 Nov 13

Remote code execution in pgAdmin 4 (versions up to and including 9.9) lets an attacker who can get a crafted PLAIN-forma

CVE-2026-17351 CRITICAL
9.4 Jul 31

SQL injection sandbox escape in pgAdmin 4's AI Assistant (versions 9.13 through 9.16) lets an attacker break out of the

CVE-2026-17566 CRITICAL POC
9.4 Jul 31

OS command injection in pgAdmin 4 (all versions before 9.18) lets an authenticated user with the commonly-granted tools_

CVE-2026-116241 CRITICAL
9.4 Oct 30

Command injection in pgAdmin 4 before 9.19 lets an authenticated, low-privileged database user execute arbitrary operati

CVE-2024-4216 MEDIUM POC
5.4 May 02

pgAdmin <= 8.5 is affected by XSS vulnerability in /settings/store API response json payload. Rated medium severity (CVS

CVE-2026-17349 CRITICAL
9.3 Jul 31

Cross-tenant credential theft in pgAdmin 4 (9.0 through 9.16) lets an authenticated non-owner user hijack another user's

CVE-2025-2946 CRITICAL
9.1 Apr 03

pgAdmin <= 9.1 is affected by a security vulnerability with Cross-Site Scripting(XSS). Rated critical severity (CVSS 9.1

Vendor StatusVendor

SUSE

Severity: High
Product Status
SUSE Linux Enterprise Desktop 15 SP7 SUSE Linux Enterprise High Performance Computing 15 SP7 SUSE Linux Enterprise Module for Python 3 15 SP7 SUSE Linux Enterprise Server 15 SP7 SUSE Linux Enterprise Server for SAP Applications 15 SP7 Fixed
SUSE Linux Enterprise High Performance Computing 15 SP4-ESPOS Fixed
SUSE Linux Enterprise High Performance Computing 15 SP4-LTSS Fixed
SUSE Linux Enterprise High Performance Computing 15 SP5-ESPOS Fixed
SUSE Linux Enterprise High Performance Computing 15 SP5-LTSS Fixed

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy