All vulnerabilities

Servers and applications

CVE-2026-12049

Open redirect in pgAdmin 4's multi-factor authentication flow. The MFA validate and register endpoints honoured the user-supplied 'next' query/form parameter without confirming the target pointed back inside pgAdmin, so an authenticated victim who clicked /mfa/validate?next=<external> -- a link typically delivered by phishing -- would be sent to an attacker-controlled host directly out of the…

Severity
Medium 5.3
Published
19 Jun 2026
Last changed
26 Oct 2026
Added to UpHeron
1 Nov 2026
Fixed in
9.16
Exploit chance
0.4% in the next 30 daysHigher than 32% of CVEs. EPSS by FIRST, 19 Nov 2026
Weakness
Open redirect (CWE-601)
Attack
Over the network · No login needed · Needs someone to view a page or file
Attacker can
Change some data
CVSS vector
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
Sources
NVD

Description

Open redirect in pgAdmin 4's multi-factor authentication flow. The MFA validate and register endpoints honoured the user-supplied 'next' query/form parameter without confirming the target pointed back inside pgAdmin, so an authenticated victim who clicked /mfa/validate?next= -- a link typically delivered by phishing -- would be sent to an attacker-controlled host directly out of the trusted auth flow.

The defect is a trusted-domain redirect, not a privilege bypass: the attacker gains no read/write access to pgAdmin or the victim's database, but the redirect launders the attacker's destination through pgAdmin's URL, which raises the success rate of credential-phishing follow-on against the victim.

Fix introduces a same-origin _is_safe_redirect_url helper and gates every MFA redirect that consumes user-supplied 'next' values through it. The helper allows only relative paths and absolute URLs whose scheme is http(s) and whose host matches the current request host; it rejects external…

From NVD. Shortened; the full text is there.

Affected software

SoftwareAffected versions
pgAdminServers and applications · cpe:a:pgadmin:pgadmin_4
  • From 6.0 before 9.16

About pgAdmin

graphical administration tool for PostgreSQL

From Wikidata, CC0 1.0.
Weekly downloads (PyPI)
5,570PyPI Stats, 15 Nov 2026
Docker Hub pulls
455,658,756Docker Hub, 15 Nov 2026
GitHub stars
3,940GitHub, 15 Nov 2026
Forks
921GitHub, 15 Nov 2026
License
PostgreSQL LicenseWikidata
Written in
Python, JavaScriptWikidata
First published on GitHub
20 Feb 2017GitHub

Release lines

ReleaseLatestSecurity fixes
99.19Yes
88.14Ended 6 Feb 2025
77.8Ended 23 Nov 2023
66.21Ended 13 Apr 2023
55.7Ended 7 Oct 2021
44.30Ended 25 Feb 2021

From endoflife.date.

References

  • NVD https://nvd.nist.gov/vuln/detail/CVE-2026-12049
  • CVE.org https://www.cve.org/CVERecord?id=CVE-2026-12049