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:
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.
{
"cna_assigner": "PostgreSQL",
"cwe_ids": [
"CWE-307",
"CWE-863"
],
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/116xxx/CVE-2026-116238.json"
}{
"extracted_events": [
{
"cpe": "cpe:2.3:a:pgadmin:pgadmin_4:*:*:*:*:*:*:*:*",
"range": [
{
"introduced": "0"
},
{
"fixed": "9.19"
}
],
"source": "CPE_RANGE"
},
{
"range": [
{
"fixed": "35c9235d17a7d5a99778f01b2f1b9e5e3a3b7fde"
}
],
"source": "REFERENCES_COMMIT"
},
{
"range": [
{
"fixed": "58c531d831179dc9b0a5bf873ccb80c71c8d387a"
}
],
"source": "REFERENCES_COMMIT"
},
{
"range": [
{
"fixed": "c6ef41a951012cd877a1992b5dac681eec36e48d"
}
],
"source": "REFERENCES_COMMIT"
}
]
}