CVE-2023-22298: pgAdmin 4 Open Redirect vulnerability
6.1
CVSS Score
3.1
Basic Information
CVE ID
GHSA ID
EPSS Score
0.63759%
CWE
Published
1/17/2023
Updated
3/17/2025
KEV Status
No
Technology
Python
Technical Details
CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
Package Name | Ecosystem | Vulnerable Versions | First Patched Version |
---|---|---|---|
pgadmin4 | pip | < 6.14 | 6.14 |
Vulnerability Intelligence
Miggo AI
Root Cause Analysis
The vulnerability stems from improper validation of redirect URLs in the authentication flow. The GitHub issue (#5343) explicitly mentions the 'next' parameter being used for redirects to /browser after login. In Flask-based applications like pgAdmin
, the common pattern for login redirects uses request.args.get('next')
without proper validation. The login handler function
would be responsible for processing this parameter and redirecting users, making it the likely vulnerable component. The CWE-601
classification and vulnerability description both align with unvalidated redirects in authentication flows.