CVE-2024-4215: pgAdmin Multi-Factor Authentication Bypass Vulnerability
Summary
CVE-2024-4215: pgAdmin is affected by a multi-factor authentication bypass vulnerability. Affects pgadmin4 versions < 8.6. Fixed in 8.6. How to fix ↓
Check if this vulnerability affects your application
Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.
No signup required · Results in about 60 seconds
Background
pgAdmin is a popular open-source administration and development platform for PostgreSQL, allowing users to manage databases through a web interface. It provides features such as query execution, database design, and user management. However, versions up to 8.5 are vulnerable to a multi-factor authentication (MFA) bypass, which can compromise account security.
Vulnerability Detail
The vulnerability in pgAdmin arises from a flaw in the multi-factor authentication mechanism. Attackers who possess a legitimate user's username and password can bypass MFA requirements, enabling them to perform sensitive actions within the application, such as managing files and executing SQL queries. This vulnerability poses significant risks, as it allows unauthorized access to critical database operations without the additional layer of security that MFA provides.
How To Fix
Latest published version: 9.18.0 as of 22 Oct 2026
pip install --upgrade "pgadmin4==9.18.0"
Upgrading to it may include breaking changes; the version below is the minimum fixed release for this vulnerability.
If you need the minimum change
8.6
This is the first release that contains the fix.
pip install --upgrade "pgadmin4==8.6"
Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →
Workaround
As a temporary workaround, users can disable the use of usernames and passwords for authentication until the package is updated. However, this is not recommended as a long-term solution due to security risks.
Conclusion
The multi-factor authentication bypass vulnerability in pgAdmin (CVE-2024-4215) poses a significant risk to users by allowing unauthorized access to sensitive actions. It is crucial to update to version 8.6 or later to mitigate this risk and ensure the security of your database management activities.
See every vulnerability recorded for pgadmin4 →
FAQ
CVE-2024-4215 is a vulnerability in pgAdmin that allows attackers to bypass multi-factor authentication if they have valid account credentials.
pgAdmin versions up to 8.5 are affected by this vulnerability.
You can use the Vulert playground at Vulert Scanner to check if your application is affected by this vulnerability without any signup.
If you cannot update to version 8.6 or later, consider disabling username and password authentication temporarily, but be aware of the associated security risks.
The CVSS score of this vulnerability is 7.4, indicating a high level of severity.
References
Related vulnerabilities
Recent vulnerabilities recorded for pgadmin4.