CVE-2026-7820: Improper restriction of excessive authentication attempts (CWE-307) in pgAdmin 4. pgAdmin enforces MAX_LOGIN_
CVE-2026-7820 is a medium-severity flaw (CVSS 6.5) affecting pgadmin 4. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.
Improper restriction of excessive authentication attempts (CWE-307) in pgAdmin 4. pgAdmin enforces MAX_LOGIN_ATTEMPTS only inside its custom /authenticate/login view. Flask-Security's default /login view, which is registered automatically by security.init_app() and is reachable on every server, never consulted the User.locked field: pgAdmin's User model relied on Flask-Security's UserMixin.is_locked() (which always returns 'not locked') and Flas
Why this priority
- Remotely exploitable, no login, no user action
A fixed release or distro patch exists.
Risk facts
| CVSS score | 6.5 (Medium) |
| Attack vector | Network (remote) |
| Attack complexity | Low |
| Privileges needed | None |
| User interaction | None |
| EPSS exploit chance | 0.2% (top 89%) |
| CISA exploited list | No |
| Weakness | CWE-307 |
| Published | 2026-05-11 |
| Last modified | 2026-10-26 |
Last updated 2026-10-26 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score
Am I affected?
Timeline
- Published CVE record published
- Updated Record last modified
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.
Quick answers
How do I fix CVE-2026-7820?
pgadmin 4: upgrade to 9.15. Exact commands for each OS are on this page.
Is CVE-2026-7820 being exploited?
CVE-2026-7820 is not on the CISA Known Exploited Vulnerabilities list at the time of the last update. Check again, as this can change.
What does CVE-2026-7820 affect?
CVE-2026-7820 affects pgadmin 4. Severity is medium (CVSS 6.5). Improper restriction of excessive authentication attempts (CWE-307) in pgAdmin 4. pgAdmin enforces MAX_LOGIN_ATTEMPTS only inside its custom /authenticate/login view. Flask-Security's default /login view, which is registered automatically
How urgent is CVE-2026-7820?
Priority 31/100. Remotely exploitable, no login, no user action
Software pages
Related CVEs
- CVE-2026-7816 HIGH 8.8 UPGRADE OS command injection (CWE-78) vulnerability in pgAdmin 4 Import/Export query export. User-supplied input was
- CVE-2026-7813 CRITICAL 9.9 UPGRADE Authorization vulnerability in pgAdmin 4 server mode affecting Server Groups, Servers, Shared Servers, Backgro
- CVE-2026-7815 HIGH 8.8 UPGRADE SQL injection vulnerability in pgAdmin 4 Maintenance Tool. Four user-supplied JSON fields (buffer_usage_limit
- CVE-2026-7819 HIGH 8.1 UPGRADE Symbolic-link path traversal (CWE-61, CWE-22) in pgAdmin 4 File Manager. check_access_permission used os.path
- CVE-2026-7817 MEDIUM 6.5 UPGRADE Local file inclusion (LFI) and server-side request forgery (SSRF) vulnerabilities in pgAdmin 4 LLM API configu