CVE-2025-12765
Python vulnerability analysis and mitigation

Overview

A vulnerability (CVE-2025-12765) has been identified in pgAdmin versions 9.9 and earlier, affecting the LDAP authentication mechanism. The vulnerability allows bypassing TLS certificate verification, which was discovered and reported by Arad Inbar. The issue was published on November 13, 2025, and affects the LDAP authentication flow in pgAdmin 4 (NVD, GitHub Issue).

Technical details

The vulnerability stems from a flaw in the LDAP TLS client implementation where it proceeds without validating the server certificate unless all three components - CA, client certificate, and client key - are configured. In Active Directory configurations where MTLS is typically disabled, this results in no validation of the certificate. The vulnerability has been assigned a CVSS v3.1 base score of 7.5 (HIGH) with the vector string CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N, and is classified under CWE-295 (Improper Certificate Validation) (NVD).

Impact

The vulnerability enables on-path attackers to perform man-in-the-middle (MITM) attacks by terminating TLS with a fraudulent certificate and proxying traffic. This can lead to the theft of LDAP bind credentials and the ability to alter directory responses. The attack vectors include ARP spoofing within the same VLAN, DHCP spoofing/rogue gateway attacks, and Wi-Fi evil twin access points (GitHub Issue).

Additional resources


SourceThis report was generated using AI

Related Python vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2025-55449CRITICAL9.8
  • PythonPython
  • astrbot
NoYesNov 14, 2025
CVE-2025-12762CRITICAL9.1
  • PythonPython
  • pgadmin4
NoYesNov 13, 2025
CVE-2025-12765HIGH7.5
  • PythonPython
  • pgadmin4
NoYesNov 13, 2025
CVE-2025-12764HIGH7.5
  • PythonPython
  • cpe:2.3:a:pgadmin:pgadmin
NoYesNov 13, 2025
CVE-2025-12763MEDIUM6.8
  • PythonPython
  • cpe:2.3:a:pgadmin:pgadmin
NoYesNov 13, 2025

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management