CVE-2026-12049: CWE-601 URL Redirection to Untrusted Site ('Open Redirect') in pgadmin.org pgAdmin 4
CVE-2026-12049 is an open redirect vulnerability in pgAdmin 4's multi-factor authentication (MFA) flow affecting versions 6.0 up to but not including 9.16. The MFA validate and register endpoints improperly trust the user-supplied 'next' parameter, allowing redirection to external attacker-controlled sites. This vulnerability does not grant direct access to pgAdmin or databases but can facilitate phishing attacks by redirecting authenticated users to malicious sites. A fix was introduced to restrict redirects to same-origin URLs or safe relative paths.
AI Analysis
Technical Summary
This vulnerability in pgAdmin 4 involves an open redirect (CWE-601) in the MFA validate and register endpoints. The 'next' query/form parameter is accepted without verifying that the redirect target is within the pgAdmin domain. An authenticated user clicking a crafted link could be redirected to an external attacker-controlled URL, increasing the risk of successful phishing attacks. The issue affects versions from 6.0 up to but excluding 9.16. The fix adds a same-origin check helper that validates redirect URLs, allowing only relative paths or absolute URLs matching the current host with http(s) schemes, rejecting unsafe targets and falling back to an internal page.
Potential Impact
The vulnerability does not allow attackers to read or modify pgAdmin data or bypass privileges. However, it enables attackers to redirect authenticated users to malicious external sites via the MFA flow, potentially increasing the effectiveness of phishing attacks targeting credentials or session tokens.
Mitigation Recommendations
No official patch or remediation level is explicitly stated in the advisory. Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. The vendor has described a fix involving a same-origin redirect validation helper, so upgrading to pgAdmin 4 version 9.16 or later is expected to resolve the issue. Until patched, users should be cautious of MFA-related links containing 'next' parameters and avoid clicking suspicious URLs.
CVE-2026-12049: CWE-601 URL Redirection to Untrusted Site ('Open Redirect') in pgadmin.org pgAdmin 4
Description
CVE-2026-12049 is an open redirect vulnerability in pgAdmin 4's multi-factor authentication (MFA) flow affecting versions 6.0 up to but not including 9.16. The MFA validate and register endpoints improperly trust the user-supplied 'next' parameter, allowing redirection to external attacker-controlled sites. This vulnerability does not grant direct access to pgAdmin or databases but can facilitate phishing attacks by redirecting authenticated users to malicious sites. A fix was introduced to restrict redirects to same-origin URLs or safe relative paths.
CVSS v3.1
Score 4.3medium
Affected software
Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
This vulnerability in pgAdmin 4 involves an open redirect (CWE-601) in the MFA validate and register endpoints. The 'next' query/form parameter is accepted without verifying that the redirect target is within the pgAdmin domain. An authenticated user clicking a crafted link could be redirected to an external attacker-controlled URL, increasing the risk of successful phishing attacks. The issue affects versions from 6.0 up to but excluding 9.16. The fix adds a same-origin check helper that validates redirect URLs, allowing only relative paths or absolute URLs matching the current host with http(s) schemes, rejecting unsafe targets and falling back to an internal page.
Potential Impact
The vulnerability does not allow attackers to read or modify pgAdmin data or bypass privileges. However, it enables attackers to redirect authenticated users to malicious external sites via the MFA flow, potentially increasing the effectiveness of phishing attacks targeting credentials or session tokens.
Mitigation Recommendations
No official patch or remediation level is explicitly stated in the advisory. Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. The vendor has described a fix involving a same-origin redirect validation helper, so upgrading to pgAdmin 4 version 9.16 or later is expected to resolve the issue. Until patched, users should be cautious of MFA-related links containing 'next' parameters and avoid clicking suspicious URLs.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- PostgreSQL
- Date Reserved
- 2026-06-11T20:40:09.111Z
- Cvss Version
- 3.1
- State
- PUBLISHED
- Remediation Level
- null
Threat ID: 6a357432f198dc38c1bc0d41
Added to database: 6/19/2026, 4:54:10 PM
Last enriched: 6/19/2026, 4:55:16 PM
Last updated: 6/19/2026, 6:45:32 PM
Views: 4
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.