{"id":"CVE-2026-116238","published":"2026-10-30T20:17:02Z","modified":"2026-11-09T15:45:22Z","title":"pgAdmin 4: The failed login limit can be bypassed, and Flask-Security's own views skip pgAdmin's login and password…","vendor":"pgadmin.org","product":"pgAdmin 4","tier":"core","eol":null,"affectedVersions":[{"vendor":"pgadmin.org","product":"pgAdmin 4","versions":["< 9.19"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"total","timestamp":"2026-11-06T16:06:27.167452Z","from":"CISA ADP","provenance":"source"},"nvdStatus":"Analyzed","description":{"text":"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:\n\n- 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.\n- 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.\n- 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.\n\nIn 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.\n\nThe 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.\n\nThis issue affects pgAdmin 4: before 9.19.","provenance":"source","from":"NVD"},"summary":{"text":"pgAdmin 4 in server mode has an authentication flaw where the account-lockout limit (MAX_LOGIN_ATTEMPTS) can be bypassed through Flask-Security's own login, verify, change and reset views, along with case-variant usernames and mixed authentication source configurations. An unauthenticated remote attacker can make an unlimited number of password guesses against any internal account, including the administrator's, without user interaction and in the default configuration.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T05:34:19Z"},"cvss":{"score":9.8,"severity":"CRITICAL","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","provenance":"source","from":"NVD"},"epss":{"score":0.0054,"percentile":0.46321,"date":"2026-11-21","provenance":"source"},"kev":null,"vulncheckKev":null,"exploited":false,"otx":{"pulseCount":8,"pulses":[{"name":"Known_Cve | Nov 8, 2026 | Part 1/3","url":"https://otx.alienvault.com/pulse/6aef3b029d93097c770c01f5","created":"2026-11-07"},{"name":"Known_Cve | Nov 7, 2026 | Part 1/2","url":"https://otx.alienvault.com/pulse/6aede8f784dbfff6c3936472","created":"2026-11-06"},{"name":"Known_Cve | Nov 6, 2026 | Part 1/2","url":"https://otx.alienvault.com/pulse/6aec980ed720361a0a8ef4af","created":"2026-11-05"},{"name":"Known_Cve | Nov 5, 2026 | Part 2/3","url":"https://otx.alienvault.com/pulse/6aeb4640975e6631ab96b181","created":"2026-11-04"},{"name":"Known_Cve | Nov 4, 2026 | Part 2/3","url":"https://otx.alienvault.com/pulse/6ae9f4a534e5bab82408f0f2","created":"2026-11-03"},{"name":"Known_Cve | Nov 3, 2026 | Part 2/2","url":"https://otx.alienvault.com/pulse/6ae8a2fbb750e3c9efe15713","created":"2026-11-02"},{"name":"Known_Cve | Nov 2, 2026 | Part 2/2","url":"https://otx.alienvault.com/pulse/6ae751f170a9e6cbc092a3eb","created":"2026-11-01"},{"name":"Known_Cve | Nov 1, 2026 | Part 3/3","url":"https://otx.alienvault.com/pulse/6ae6008a90b86330de9ba693","created":"2026-10-31"}],"provenance":"machine"},"cwes":[{"id":"CWE-307","name":"Improper Restriction of Excessive Authentication Attempts"},{"id":"CWE-863","name":"Incorrect Authorization"}],"references":[{"url":"https://github.com/pgadmin-org/pgadmin4/commit/35c9235d17a7d5a99778f01b2f1b9e5e3a3b7fde","tags":["Patch","patch"]},{"url":"https://github.com/pgadmin-org/pgadmin4/commit/58c531d831179dc9b0a5bf873ccb80c71c8d387a","tags":["Patch","patch"]},{"url":"https://github.com/pgadmin-org/pgadmin4/commit/c6ef41a951012cd877a1992b5dac681eec36e48d","tags":["Patch","patch"]},{"url":"https://github.com/pgadmin-org/pgadmin4/issues/10676","tags":["Issue Tracking","Patch","issue-tracking"]}],"techniques":[],"reports":[],"affected":[],"advisories":[],"euvd":{"id":"EUVD-2026-114379","url":"https://euvd.enisa.europa.eu/vulnerability/EUVD-2026-114379","exploited":false,"exploitedSince":null,"provenance":"source"},"exploits":[],"exploitSources":null,"exploitRefs":[],"flow":[],"timeline":[{"date":"2026-10-30","kind":"published","label":"Published (NVD)","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-116238","provenance":"source"}],"speed":{"daysToPublicExploit":null,"firstExploitFrom":null,"daysToKev":null},"priority":{"score":18.3,"factors":[{"name":"In a KEV catalog","points":0.0,"detail":"not listed"},{"name":"Recent KEV listing","points":0.0,"detail":"not listed"},{"name":"Known ransomware use","points":0.0,"detail":"not known"},{"name":"EPSS percentile","points":9.26,"detail":"percentile 0.4632"},{"name":"Named in threat reports","points":0.0,"detail":"0 reports"},{"name":"Public exploit code","points":0.0,"detail":"none found"},{"name":"Mentioned in OTX pulses","points":2.17,"detail":"8 pulses"},{"name":"CVSS severity","points":6.86,"detail":"base score 9.8"},{"name":"End-of-life product","points":0.0,"detail":"supported or unknown"}]},"lineage":{"familyId":"fam-pgadmin-org-pgadmin-4-cve-2022-0959","parents":[{"from":"CVE-2024-4215","to":"CVE-2026-116238","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["web/pgadmin/about/__init__.py","web/pgadmin/authenticate/__init__.py","web/pgadmin/browser/__init__.py"],"commits":["https://github.com/pgadmin-org/pgadmin4/commit/f4761f55f7cf6d56d6c5129f921393b0b47fd976","https://github.com/pgadmin-org/pgadmin4/commit/35c9235d17a7d5a99778f01b2f1b9e5e3a3b7fde","https://github.com/pgadmin-org/pgadmin4/commit/58c531d831179dc9b0a5bf873ccb80c71c8d387a"],"basis":"shared function","functions":["_login"]}]},{"from":"CVE-2023-1907","to":"CVE-2026-116238","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["web/pgadmin/authenticate/__init__.py"],"commits":["https://github.com/pgadmin-org/pgadmin4/commit/fa29ba91632634d961f937ce3ed2c3b5a9d78f59","https://github.com/pgadmin-org/pgadmin4/commit/35c9235d17a7d5a99778f01b2f1b9e5e3a3b7fde","https://github.com/pgadmin-org/pgadmin4/commit/58c531d831179dc9b0a5bf873ccb80c71c8d387a"],"basis":"shared function","functions":["login"]}]}],"children":[{"from":"CVE-2026-116238","to":"CVE-2026-116244","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["web/pgadmin/__init__.py"],"commits":["https://github.com/pgadmin-org/pgadmin4/commit/35c9235d17a7d5a99778f01b2f1b9e5e3a3b7fde","https://github.com/pgadmin-org/pgadmin4/commit/58c531d831179dc9b0a5bf873ccb80c71c8d387a","https://github.com/pgadmin-org/pgadmin4/commit/145e511f05eed69ebcadd3cd61ffea0a5b4c69a4"],"basis":"rarely changed file"}]},{"from":"CVE-2026-116238","to":"CVE-2026-116245","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["web/pgadmin/__init__.py"],"commits":["https://github.com/pgadmin-org/pgadmin4/commit/35c9235d17a7d5a99778f01b2f1b9e5e3a3b7fde","https://github.com/pgadmin-org/pgadmin4/commit/58c531d831179dc9b0a5bf873ccb80c71c8d387a","https://github.com/pgadmin-org/pgadmin4/commit/a0c8f4857f732c6f5e5bacf4b289b811bb5c6a06"],"basis":"rarely changed file"}]}]}}