sadrobot

← Back to the monthly list

CVE-2026-116238 pgadmin.org · pgAdmin 4

9.8 Critical

AI summary

pgAdmin 4 before 9.19 in server mode allowed the failed-login lockout to be bypassed (via Flask-Security's own views, username case variations, and LDAP/Kerberos/webserver auth setups). An unauthenticated remote attacker could make unlimited password guesses against any internal account, including the administrator, in the default configuration. Critical (CVSS 9.8); upgrade to 9.19. Desktop mode is not affected.

Official 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.

Published
2026-10-30 20:17 UTC
Modified
2026-11-09 15:45 UTC
CVSS
9.8 Critical CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
EPSS
0.80% (percentile 53)
ENISA EUVD
EUVD-2026-114379
CISA SSVC
Exploitation: none · Automatable: no · Technical impact: total
CWE
CWE-307

CVSS vector

Attack vector
network
Attack complexity
low
Privileges required
none
User interaction
none
Scope
unchanged
Confidentiality
high
Integrity
high
Availability
high

References