GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — Bypasses of the failed-login limit and of pgAdmin's login, password change and reset checks (CVE-2026-116238) · Issue #10676 · pgadmin-org/pgadmin4

Bypasses of the failed-login limit and of pgAdmin's login, password change and reset checks (CVE-2026-116238) #10676

New issue
Copy link
New issue
Copy link
Closed
Closed
Bypasses of the failed-login limit and of pgAdmin's login, password change and reset checks (CVE-2026-116238)#10676
Copy link

Description

@asheshv
asheshv
opened on Oct 25, 2026
Issue body actions

Summary

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.

Affected versions

pgAdmin 4 >= 4.21, < 9.19.

Fix

Fixed in pgAdmin 4 9.19 by 58c531d831179dc9b0a5bf873ccb80c71c8d387a, 35c9235d17a7d5a99778f01b2f1b9e5e3a3b7fde and c6ef41a951012cd877a1992b5dac681eec36e48d.

Severity

  • CVSS 3.1: 8.1 HIGH — CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
  • CVSS 4.0: 9.2 CRITICAL — CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N

Weaknesses

  • CWE-307 Improper Restriction of Excessive Authentication Attempts
  • CWE-863 Incorrect Authorization

References

  • CVE: CVE-2026-116238
  • Release notes: pgAdmin 4 9.19

Activity

  1. asheshv
    added 4 commits that reference this issue on Oct 26, 2026

    Act only on the internal account when accounts from other sources sha…

    58c531d

    Count every failed internal login, and lock only internal authenticat…

    35c9235

    Refuse sign-in, password change and password reset requests that skip…

    c6ef41a

    chore: Add the 9.19 security release notes and the release date.

    4581fdd
  2. dpage
    changed the title [-]Internal tracking: pending fix for 9.19[/-] [+]Bypasses of the failed-login limit and of pgAdmin's login, password change and reset checks (CVE-2026-116238)[/+] on Nov 5, 2026
  3. dpage commented on Nov 5, 2026

    @dpage
    dpage
    on Nov 5, 2026
    Contributor
    More actions

    Fixed in pgAdmin 4 9.19, released on 29-10-2026.

    CVE: CVE-2026-116238

    Details (from the 9.19 release notes):

    Fix bypasses of the failed-login limit and of pgAdmin's own login, password change and password reset checks, where a username in another case or a wrong internal password with LDAP or Webserver authentication also configured was never counted, and where Flask-Security's own /login, /verify, /change, /reset and /reset/<token> views accepted submissions that skipped the failed-login count and lock, the change password permission, the re-encryption of saved passwords, and the internal-account check on resets (CVE-2026-116238). Every failed internal login is now counted (when MAX_LOGIN_ATTEMPTS is set) and only internal authentication is locked, so a locked Internal account no longer blocks other sources. A login form that posts a password is no longer passed to Kerberos, OAuth2 or Webserver authentication, submissions to Flask-Security's views are refused with 405, and password resets act only on the internal account.

    Commits:

    • 58c531d Act only on the internal account when accounts from other sources share its email or username. Bypasses of the failed-login limit and of pgAdmin's login, password change and reset checks (CVE-2026-116238) #10676
    • 35c9235 Count every failed internal login, and lock only internal authentication. Bypasses of the failed-login limit and of pgAdmin's login, password change and reset checks (CVE-2026-116238) #10676
    • c6ef41a Refuse sign-in, password change and password reset requests that skip pgAdmin's own checks. Bypasses of the failed-login limit and of pgAdmin's login, password change and reset checks (CVE-2026-116238) #10676
  4. dpage
    closed this as completedon Nov 5, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

      You are visitor 01402775 — GeezerVison does not store the pages you look up.
      Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.