CVE-2026-12046

CRITICALPre-NVD 9.09.0
EchelonGraph scoreMEDIUM confidence

Score 9.0 from GitHub Security Advisory (severity: CRITICAL) published 2026-06-19. a secondary CVSS source baseline 9.0; sources differ by 0.0.

Triggered by: GitHub Security Advisory CVSS
Sources: epss, ghsa, secondary
Trending — 3 sources updated this week
9.0EG
EchelonGraph verdictPlan a fixSerious severity, but no confirmed exploitation yet.
  • High severity, but no confirmed exploitation yet
CISA-KEV: Not listedEPSS PROB: 1%CVSS: 9.0Exploit: None knownExposed: 0

No vendor fix yet — apply a workaround or compensating control (WAF / firewall / segmentation) and watch for a patch.

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 sessions/ directory on the host. Neither precondition is granted by this defect on its own. When those preconditions are met from another channel (misconfigured deployment, prior compromise, leaked configuration), the missing auth gate is the final hop that turns an existing partial compromise into unauthenticated code execution in the pgAdmin process -- and, by extension, on the host under whatever account runs pgAdmin.

Fix is a one-line @pga_login_required decorator on each of the two endpoints, matching the convention used by every other route in the module. The is_authenticated / MFA chain now runs before the trans_id is dereferenced, so an unauthenticated request is rejected before reaching the deserialization path.

The defect is server-mode only. In DESKTOP mode pgAdmin's before_request hook re-authenticates DESKTOP_USER on every request, so no endpoint can be exercised in an unauthenticated state and no auth decorator (or its absence) is meaningful. The accompanying regression test mirrors the attacker's path -- harvests an X-pgA-CSRFToken from GET /login and replays it against both endpoints -- and self-skips outside server mode for that reason; it is wired into the existing server-mode CI workflow alongside the data-isolation tests.

This issue affects pgAdmin 4: from 6.9 before 9.16.

CVSS v3
9.0
EG Score
9.0(medium)
EG Risk
41(Track)
EG Risk 41/100SSVC: Track

EG Risk is EchelonGraph's 0–100 priority score: it fuses intrinsic severity with real-world exploitation and automatability so you can rank equal-severity CVEs and fix the most dangerous first. Higher = act sooner. Distinct from the 0–10 EG Score (severity).

How it’s computed
Severity90% × 45%
Exploitation1% × 40%
Automatability0% × 15%
Action: Routine — remediate on your standard cadence.
EPSS PROB
1%
EPSS %ILE
57%
KEV
Not listed

Published

June 19, 2026

Last Modified

July 1, 2026

Advisory Details (2)

Auto-updated Jun 22, 2026
Upstream fix merged — awaiting tagged release. Sources: github_commit.
generic

Missing authentication on SQL Editor session endpoints exposes pickle deserialization (CVE-2026-12046) · Issue #10072 · pgadmin-org/pgadmin4 · GitHub

https://github.com/pgadmin-org/pgadmin4/issues/10072
github_commit

commit f81433ae2f99 (pgadmin-org/pgadmin4)

Fix landed in pgadmin-org/pgadmin4 commit f81433ae2f99 — awaiting tagged release

https://github.com/pgadmin-org/pgadmin4/commit/f81433ae2f998f95bb17f27f53b4e99ebcc1df9c

Vendor Advisories for CVE-2026-12046(1)

These vendors published their own advisory mentioning this CVE — often with vendor-specific remediation steps + affected product lists not in NVD.

Weakness Classification(2)

MITRE Common Weakness Enumeration — the root-cause categories this CVE belongs to.

Data Freshness Timeline

(refreshed 23× in last 7d / 151× in last 30d)

Each row is a source pipeline that fetched or updated this CVE on that date, with what changed. For example, "NVD update" means NVD published or revised its analysis for this CVE; "MITRE cvelistV5" means we ingested or refreshed it from the CNA feed. Most recent first.

Showing the most recent 100 of 223 total refreshes for this CVE.

  1. 2026-07-29 09:33 UTCGHSA enrichment
  2. 2026-07-29 05:38 UTCGHSA enrichment
  3. 2026-07-29 01:43 UTCEG score recompute
  4. 2026-07-29 01:43 UTCGHSA enrichment
  5. 2026-07-28 15:36 UTCEPSS rescore
  6. 2026-07-28 10:09 UTCGHSA enrichment
  7. 2026-07-28 06:02 UTCGHSA enrichment
  8. 2026-07-28 02:03 UTCGHSA enrichment
  9. 2026-07-27 22:07 UTCGHSA enrichment
  10. 2026-07-27 18:05 UTCEG score recompute
  11. 2026-07-27 18:05 UTCGHSA enrichment
  12. 2026-07-27 14:13 UTCEPSS rescore
  13. 2026-07-27 10:53 UTCGHSA enrichment
  14. 2026-07-27 06:56 UTCGHSA enrichment
  15. 2026-07-27 01:16 UTCGHSA enrichment
  16. 2026-07-26 21:13 UTCGHSA enrichment
  17. 2026-07-26 17:16 UTCEG score recompute
  18. 2026-07-26 17:16 UTCGHSA enrichment
  19. 2026-07-25 14:17 UTCEPSS rescore
  20. 2026-07-24 14:17 UTCEPSS rescore
  21. 2026-07-23 14:18 UTCEPSS rescore
  22. 2026-07-23 03:05 UTCEG score recompute
  23. 2026-07-22 14:08 UTCEPSS rescore
  24. 2026-07-21 15:24 UTCEPSS rescore
  25. 2026-07-20 17:08 UTCEPSS rescore
Show 75 more
  1. 2026-07-19 14:30 UTCEPSS rescore
  2. 2026-07-19 02:28 UTCEPSS rescore
  3. 2026-07-18 10:04 UTCEPSS rescore
  4. 2026-07-17 04:59 UTCGHSA enrichment
  5. 2026-07-17 00:58 UTCGHSA enrichment
  6. 2026-07-16 20:54 UTCGHSA enrichment
  7. 2026-07-16 17:02 UTCEPSS rescore
  8. 2026-07-16 12:32 UTCGHSA enrichment
  9. 2026-07-16 08:29 UTCGHSA enrichment
  10. 2026-07-16 04:34 UTCGHSA enrichment
  11. 2026-07-16 00:39 UTCGHSA enrichment
  12. 2026-07-15 20:44 UTCGHSA enrichment
  13. 2026-07-15 16:57 UTCEPSS rescore
  14. 2026-07-15 16:47 UTCGHSA enrichment
  15. 2026-07-15 12:49 UTCGHSA enrichment
  16. 2026-07-15 06:30 UTCGHSA enrichment
  17. 2026-07-15 02:00 UTCEPSS rescore
  18. 2026-07-15 00:55 UTCGHSA enrichment
  19. 2026-07-14 20:58 UTCGHSA enrichment
  20. 2026-07-14 17:02 UTCGHSA enrichment
  21. 2026-07-14 13:07 UTCGHSA enrichment
  22. 2026-07-14 09:12 UTCGHSA enrichment
  23. 2026-07-14 05:16 UTCGHSA enrichment
  24. 2026-07-14 01:10 UTCGHSA enrichment
  25. 2026-07-13 22:30 UTCEPSS rescore
  26. 2026-07-13 21:14 UTCGHSA enrichment
  27. 2026-07-13 17:19 UTCGHSA enrichment
  28. 2026-07-13 13:20 UTCGHSA enrichment
  29. 2026-07-13 09:23 UTCGHSA enrichment
  30. 2026-07-13 06:12 UTCEPSS rescore
  31. 2026-07-13 05:27 UTCGHSA enrichment
  32. 2026-07-13 01:29 UTCGHSA enrichment
  33. 2026-07-12 21:34 UTCGHSA enrichment
  34. 2026-07-12 16:41 UTCGHSA enrichment
  35. 2026-07-12 12:42 UTCGHSA enrichment
  36. 2026-07-12 08:47 UTCGHSA enrichment
  37. 2026-07-12 05:46 UTCEPSS rescore
  38. 2026-07-12 04:48 UTCGHSA enrichment
  39. 2026-07-12 00:53 UTCGHSA enrichment
  40. 2026-07-11 20:57 UTCGHSA enrichment
  41. 2026-07-11 17:02 UTCGHSA enrichment
  42. 2026-07-11 13:06 UTCGHSA enrichment
  43. 2026-07-11 09:09 UTCGHSA enrichment
  44. 2026-07-11 08:27 UTCEPSS rescore
  45. 2026-07-11 05:14 UTCGHSA enrichment
  46. 2026-07-11 01:19 UTCGHSA enrichment
  47. 2026-07-10 21:08 UTCGHSA enrichment
  48. 2026-07-10 17:12 UTCGHSA enrichment
  49. 2026-07-10 13:16 UTCGHSA enrichment
  50. 2026-07-10 09:20 UTCGHSA enrichment
  51. 2026-07-10 05:23 UTCGHSA enrichment
  52. 2026-07-10 01:09 UTCGHSA enrichment
  53. 2026-07-09 20:48 UTCGHSA enrichment
  54. 2026-07-09 19:10 UTCEPSS rescore
  55. 2026-07-09 16:53 UTCGHSA enrichment
  56. 2026-07-09 12:42 UTCGHSA enrichment
  57. 2026-07-09 08:47 UTCGHSA enrichment
  58. 2026-07-09 04:50 UTCGHSA enrichment
  59. 2026-07-09 00:54 UTCGHSA enrichment
  60. 2026-07-08 20:57 UTCGHSA enrichment
  61. 2026-07-08 17:01 UTCGHSA enrichment
  62. 2026-07-08 15:15 UTCEPSS rescore
  63. 2026-07-08 15:15 UTCEPSS rescore
  64. 2026-07-08 13:06 UTCGHSA enrichment
  65. 2026-07-08 07:34 UTCGHSA enrichment
  66. 2026-07-08 03:39 UTCGHSA enrichment
  67. 2026-07-07 23:44 UTCGHSA enrichment
  68. 2026-07-07 19:48 UTCGHSA enrichment
  69. 2026-07-07 13:46 UTCEPSS rescore
  70. 2026-07-07 11:13 UTCGHSA enrichment
  71. 2026-07-07 07:02 UTCGHSA enrichment
  72. 2026-07-07 02:51 UTCGHSA enrichment
  73. 2026-07-06 22:56 UTCGHSA enrichment
  74. 2026-07-06 19:00 UTCGHSA enrichment
  75. 2026-07-06 16:27 UTCEPSS rescore

Frequently asked(5)

What is CVE-2026-12046?
CVE-2026-12046 is a critical vulnerability published on June 19, 2026. Two state-mutating endpoints in pgAdmin 4's SQL Editor blueprint -- DELETE /sqleditor/close/<transid> and POST /sqleditor/initialize/sqleditor/updateconnection/<sgid>/<sid>/<did> -- were the only routes in the module missing the @pgaloginrequired decorator. Both reach a pickle.loads sink on…
When was CVE-2026-12046 disclosed?
CVE-2026-12046 was first published in the National Vulnerability Database on June 19, 2026, with the most recent update on July 1, 2026. EchelonGraph re-ingests CVE updates from NVD on a 2-hour cycle, so this page reflects the latest published state.
Is CVE-2026-12046 actively exploited?
CVE-2026-12046 is not currently on CISA's Known Exploited Vulnerabilities catalog. FIRST EPSS estimates a 1% probability of exploitation in the next 30 days, which ranks it in the top 43.4% of all scored CVEs.
What is the CVSS score of CVE-2026-12046?
CVE-2026-12046 has a CVSS v3 base score of 9.0 (NVD).
How do I remediate CVE-2026-12046?
Patch to the fixed version published by the affected vendor. Where vendor advisories exist for CVE-2026-12046, EchelonGraph cross-links them in the Vendor Advisories panel below — those typically contain the canonical remediation steps, fixed version numbers, and any vendor-specific mitigations.

Dependency Blast Radius

Explore the affected products and dependency analysis for CVE-2026-12046

Explore →

Is Your Infrastructure Affected by CVE-2026-12046?

EchelonGraph automatically scans your cloud infrastructure and maps CVE exposure using blast radius analysis.