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
58%
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 27× in last 7d / 180× 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 399 total refreshes for this CVE.

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

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 42.3% 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.