CVE-2026-116238

Severity CVSS v4.0:
CRITICAL
Type:
Unavailable / Other
Publication date:
30/10/2026
Last modified:
09/11/2026

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&amp;#39;s, in the default configuration:<br /> <br /> - Flask-Security registers its own views next to pgAdmin&amp;#39;s. A login submitted to its /login view was checked and logged in without pgAdmin&amp;#39;s failed login count or lock. Its /verify view checked a signed-in user&amp;#39;s password without limit, its /change view changed a password without pgAdmin&amp;#39;s change password permission or re-encrypting the user&amp;#39;s saved server passwords, and its /reset views sent and applied password resets for accounts that are not internal or are locked.<br /> - 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.<br /> - 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.<br /> <br /> 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&amp;#39;s account.<br /> <br /> The fix refuses submissions to Flask-Security&amp;#39;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&amp;#39;s own internal account. Desktop mode is not affected.<br /> <br /> This issue affects pgAdmin 4: before 9.19.

Vulnerable products and versions

CPE From Up to
cpe:2.3:a:pgadmin:pgadmin_4:*:*:*:*:*:*:*:* 9.19 (excluding)