Skip to main content
Mallory
MediumVulnerability

CVE-2026-7820: Account lockout bypass in pgAdmin 4 /login

Published May 11, 2026 · Updated 2 months ago
Trending this weekNot trendingOutside this week’s top 100
Mention activity · 30 daysNo mention activity in the last 30 days.
CVSS6.9Medium · v4
EPSS0.21%11th percentile
CISA KEVNoNot listed
In the wildNoneNo exploitation reported
Vendor
Pgadmin
IdentifiersCVE-2026-7820CWE-307 · Improper Restriction of Excessive…

CVE-2026-7820 is an improper restriction of excessive authentication attempts vulnerability in pgAdmin 4 affecting versions before 9.15. pgAdmin implemented account lockout enforcement in its custom /authenticate/login handler, but Flask-Security's default /login route remained automatically exposed and did not honor the application's locked-account state. The issue stemmed from the pgAdmin User model relying on Flask-Security's UserMixin.is_locked(), which effectively returned the account as not locked, and Flask-Login's is_active behavior, which checked only whether the account was active and not whether it was locked. As a result, after an INTERNAL account was locked through repeated failures on /authenticate/login, an attacker could still authenticate successfully by submitting valid credentials to /login. The same alternate authentication path also bypassed the intended login-attempt throttling, allowing unrestricted online password guessing against INTERNAL accounts.

Do you run this?See affected versions in your environment and whether adversaries are exploiting this vulnerability against assets like yours.
Check your exposure
Analyst brief

Impact, mitigation & remediation

What it means and what to do now: patch path, interim mitigations, and the assume-compromise checklist.

Impact

What an attacker gets, and what they’ve been doing with it.

Successful exploitation defeats pgAdmin's brute-force protection and account lockout controls for INTERNAL authentication accounts. An attacker can continue attempting passwords without the configured MAX_LOGIN_ATTEMPTS restriction on the default /login route and, if valid credentials are known or guessed, can obtain an authenticated session even after the target account has been locked through the intended login workflow. This enables unauthorized access to pgAdmin under the compromised account and undermines administrative controls intended to slow or stop online credential attacks.

Mitigation

If you can’t patch tonight, do this now.

If immediate upgrade is not possible, reduce exposure of pgAdmin to untrusted networks, place the service behind compensating access controls such as VPN or IP allowlisting, and prefer external authentication mechanisms not affected by this issue where operationally feasible. Monitor for repeated authentication attempts and suspicious use of alternate login paths. Because the vulnerable behavior is tied to the default /login route being reachable, restricting or filtering access to that route may reduce risk, but the definitive mitigation is to deploy the fixed version.

Remediation

Patch, then assume compromise.

Upgrade pgAdmin 4 to version 9.15 or later. The fix overrides User.is_active and User.is_locked() so that the locked column is enforced consistently across all authentication paths, including Flask-Security's default /login endpoint.

Public exploits

Exploits

No public exploits tracked yet. Mallory keeps watching.

View more in app →
No public exploit code observed for this vulnerability. Mallory keeps watching.
Exposure surface

Affected products & vendors

Products and vendors Mallory has correlated with this vulnerability. Open in Mallory to drill down to specific CPE configurations and version ranges.

VendorProductType
PgadminPgadmin 4application
FAQ

Frequently asked questions

Is CVE-2026-7820 exploited in the wild?
As of Sep 25, 2026, Mallory has no reports of CVE-2026-7820 being exploited in the wild. It is not listed in CISA KEV.
Is there a public exploit for CVE-2026-7820?
As of Sep 25, 2026, Mallory has found no public exploit for CVE-2026-7820.
Is there a patch for CVE-2026-7820?
Upgrade pgAdmin 4 to version 9.15 or later. The fix overrides User.is_active and User.is_locked() so that the locked column is enforced consistently across all authentication paths, including Flask-Security's default /login endpoint.
What products are affected by CVE-2026-7820?
Pgadmin 4.
How severe is CVE-2026-7820?
CVE-2026-7820 has a CVSS v4 score of 6.9 (Medium) and an EPSS score of 0.21% (11th percentile) as of Sep 25, 2026.
Activity feed

Recent activity

2 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.

View more in app →
Do you run this?See affected versions in your environment and whether adversaries are exploiting this vulnerability against assets like yours.
Check your exposure
Mallory platform

The version that knows your environment.

This page is what’s public. Mallory adds the parts that aren’t: which of your assets are affected, which adversaries are exploiting it right now, and which detections to deploy tonight.
Exposure mappingQuery your assets running an affected version, and investigate the blast radius.
Threat actor evidenceEvery report linking this CVE to a named adversary.
Associated malwareMalware families linked to this CVE, with evidence and IOCs.
Detection signaturesYARA, Sigma, Snort, and vendor rules, auto-deployed to your SIEM.
Vendor-by-vendor mappingCross-references every affected SKU, including bundled OEM variants.
Social activity1Community discussion across Reddit, Mastodon, and other social sources.