All vulnerabilities

Servers and applications

CVE-2026-12046

Two state-mutating endpoints in pgAdmin 4's SQL Editor blueprint -- DELETE /sqleditor/close/<trans_id> and POST /sqleditor/initialize/sqleditor/update_connection/<sgid>/<sid>/<did> -- were the only routes in the module missing the @pga_login_required decorator. Both reach a pickle.loads sink on session['gridData'][<trans_id>]['command_obj']: the close endpoint via close_sqleditor_session(), and…

Severity
Critical 9.5
Published
19 Jun 2026
Last changed
25 Oct 2026
Added to UpHeron
1 Nov 2026
Fixed in
9.16
Exploit chance
1% in the next 30 daysHigher than 64% of CVEs. EPSS by FIRST, 19 Nov 2026
Weakness
Missing authentication (CWE-306)Deserialization of untrusted data (CWE-502)
Attack
Over the network · Only under certain conditions · No login needed · No user action needed
Attacker can
Read data · Change data · Take it down
CVSS vector
CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H/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

Two state-mutating endpoints in pgAdmin 4's SQL Editor blueprint -- DELETE /sqleditor/close/ and POST /sqleditor/initialize/sqleditor/update_connection/// -- were the only routes in the module missing the @pga_login_required decorator. Both reach a pickle.loads sink on session['gridData'][]['command_obj']: the close endpoint via close_sqleditor_session(), and update_sqleditor_connection via check_transaction_status(). In server mode these endpoints were reachable without any authenticated pgAdmin session.

The defect is a missing-authentication-on-critical-function (CWE-306) wrapper around a deserialization-of-untrusted-data sink (CWE-502). Exploiting it for remote code execution requires the attacker to also forge a server-side session file whose gridData entry contains a malicious pickle payload, which in turn requires both (a) knowledge of pgAdmin's Flask SECRET_KEY (no chain to leak it is described here -- the attacker must already possess it) and (b) write access to pgAdmin's…

From NVD. Shortened; the full text is there.

Affected software

SoftwareAffected versions
pgAdminServers and applications · cpe:a:pgadmin:pgadmin_4
  • From 6.9 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-12046
  • CVE.org https://www.cve.org/CVERecord?id=CVE-2026-12046