Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

CVE-2026-12049: CWE-601 URL Redirection to Untrusted Site ('Open Redirect') in pgadmin.org pgAdmin 4

0
Medium
VulnerabilityCVE-2026-12049cvecve-2026-12049cwe-601
Published: Thu Jun 18 2026 (06/18/2026, 23:37:43 UTC)
Source: CVE Database V5
Vendor/Project: pgadmin.org
Product: 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

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
Required
Scope
Unchanged
Confidentiality
None
Integrity
Low
Availability
None
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N

Affected software

GitHub Actionsmore threats →cve
pgAdmin 4
pkg:github/pgAdmin 4
Affected versions
>=6.0 <9.16

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 06/19/2026, 16:55:16 UTC

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.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

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 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

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

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses