Open Redirect Vulnerability in pgAdmin 4's Multi-Factor Authentication Flow
CVE-2026-12049

5.3MEDIUM

Key Information:

Status
Vendor
CVE Published:
18 June 2026

What is CVE-2026-12049?

An open redirect issue in pgAdmin 4's multi-factor authentication flow allows attackers to manipulate the 'next' query parameter used during authentication. By crafting a link that directs users to an external site under the guise of a legitimate pgAdmin redirect, attackers increase the likelihood of successful phishing attacks. Although this vulnerability does not grant access to pgAdmin or the victim's database, it effectively masks the attacker-controlled destination within pgAdmin's URL, thereby posing a significant security risk. The recent fix introduces stringent checks via a new helper function that only permits safe redirects to the current origin, significantly reducing the attack surface.

Affected Version(s)

pgAdmin 4 6.0 < 9.16

References

CVSS V4

Score:
5.3
Severity:
MEDIUM
Confidentiality:
None
Integrity:
Low
Availability:
None
Attack Vector:
Network
Attack Complexity:
Low
Attack Required:
None
Privileges Required:
Undefined
User Interaction:
Unknown

Timeline

  • Vulnerability published

  • Vulnerability Reserved

Credit

Mai Phạm Hiền <mai.phamhien171@gmail.com>
Dave Page <page@pgadmin.org>
Kundan Sable <kundan.sable@enterprisedb.com>
.