CVE-2026-116238
8.1 HIGHpublic exploit availablePublished 2026-10-30 · Updated 2026-11-02
AI risk analysis
- Summary
- pgAdmin 4's Flask-Security login endpoints bypassed internal account lockout mechanisms, allowing unauthenticated attackers to perform unlimited password guesses against any internal account—including administrators—by submitting logins to /login instead of pgAdmin’s native login endpoint, and exploiting case-insensitive email matching and inconsistent authentication source handling.
- Exploitability
- High difficulty due to the need for precise endpoint targeting and knowledge of internal account credentials, but technically feasible since no rate limiting or lockout enforcement occurs on Flask-Security endpoints.
- Blast radius
- An attacker could brute-force administrator credentials, leading to full system compromise, unauthorized access to managed databases, and potential lateral movement within the infrastructure.
- Detection
- Log entries showing failed login attempts to /login, /verify, /change, or /reset endpoints under Flask-Security—especially repeated attempts with varying case for the same email address or from IPs not associated with legitimate users—may indicate exploitation; however, no reliable host or network indicator is derivable from the published description.
- Prioritized remediation
- Upgrade to pgAdmin 4 version 2.590 or later, which disables or patches the vulnerable Flask-Security endpoints and enforces consistent lockout policies across all authentication paths.
Analysis generated locally by garnet-coder (no data left the box). AI-assisted — verify against primary sources before acting.
NVD description
In server mode pgAdmin 4 locks an internal account after MAX_LOGIN_ATTEMPTS failed logins (3 by default). The limit could be bypassed, giving an unauthenticated attacker an unlimited number of password guesses against any internal account, including the administrator's, in the default configuration: - Flask-Security registers its own views next to pgAdmin's. A login submitted to its /login view was checked and logged in without pgAdmin's failed login count or lock. Its /verify view checked a signed-in user's password without limit, its /change view changed a password without pgAdmin's change password permission or re-encrypting the user's saved server passwords, and its /reset views sent and applied password resets for accounts that are not internal or are locked. - The internal account was looked up by its exact username, while the login form matches the email ignoring case, so a login with the username typed in another case was neither counted nor checked for the lock. - With LDAP or webserver authentication also configured, a wrong internal password was never counted, and with Kerberos or webserver authentication configured a guess could be answered without being counted. In addition, where accounts from different authentication sources share an email address, a password reset could be sent for, or applied to, an account from another source, and the About box showed the server configuration to a user whose email was that of an administrator's account. The fix refuses submissions to Flask-Security's own views, counts every failed internal login however the username is typed and whatever other sources are configured, no longer lets a login that posts a password fall back to an authentication source that does not check it, and locks only internal authentication. Password resets and the About box act only on the user's own internal account. Desktop mode is not affected. This issue affects pgAdmin 4: before 9.19.
CVSS vector
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
Weaknesses
CWE-307, CWE-863
Public exploit & PoC references
- https://github.com/pgadmin-org/pgadmin4/commit/35c9235d17a7d5a99778f01b2f1b9e5e3a3b7fde
- https://github.com/pgadmin-org/pgadmin4/commit/58c531d831179dc9b0a5bf873ccb80c71c8d387a
- https://github.com/pgadmin-org/pgadmin4/commit/c6ef41a951012cd877a1992b5dac681eec36e48d
- https://github.com/pgadmin-org/pgadmin4/issues/10676
All references
- https://github.com/pgadmin-org/pgadmin4/commit/35c9235d17a7d5a99778f01b2f1b9e5e3a3b7fde
- https://github.com/pgadmin-org/pgadmin4/commit/58c531d831179dc9b0a5bf873ccb80c71c8d387a
- https://github.com/pgadmin-org/pgadmin4/commit/c6ef41a951012cd877a1992b5dac681eec36e48d
- https://github.com/pgadmin-org/pgadmin4/issues/10676
Source data: NVD (nvd.nist.gov), public domain. Exploit-DB.ai adds local AI analysis for defensive use only.
Related CVEs
- CRITICALCVE-2026-124445PoC
- HIGHCVE-2026-103977PoC
- CRITICALCVE-2026-108109PoC
- HIGHCVE-2026-110770PoC
- CRITICALCVE-2026-114371
- CRITICALCVE-2026-119017
- HIGHCVE-2026-123998PoC
- HIGHCVE-2026-17280
Related by shared AI tags and CWE weakness class. Browse the full archive.