CVE-2026-17351

CRITICALNVD 9.09.0
EchelonGraph scoreMEDIUM confidence

“—” beside the score: it is equal to NVD's CVSS score.

Score 9.0 from GitHub Security Advisory (severity: CRITICAL) published 2026-07-31. NVD baseline CVSS 9.0; sources differ by 0.0.

Triggered by: GitHub Security Advisory CVSS
Sources: EPSS, GitHub Security Advisory, NVD CVSS v3
Trending — 3 sources updated this week

Also known asEUVD-2026-51564 (ENISA EUVD) · GHSA-v5gm-27gp-4f7w (GitHub Security Advisories)Source: ENISA EUVD

9.0EG
EchelonGraph verdictPlan mitigationThe upstream fix is not in a release yet: until the release ships, restrict network exposure of the affected system or apply the vendor's mitigation on your normal schedule, then apply it (the SSVC decision on this page).
  • High severity, but no confirmed exploitation yet
CISA-KEV: Not listedEPSS PROB: 0.5%CVSS: 9.0Exploit: None knownExposed services: Not assessed

An upstream fix is merged but not yet released — mitigate (WAF / firewall / segmentation) until the release ships, then apply it.

The fix for CVE-2026-12045 in pgAdmin 4 9.16 required the LLM-supplied query passed to the AI Assistant's execute_sql_query tool to parse, via sqlparse, as exactly one non-transaction-control statement before running it inside a BEGIN TRANSACTION READ ONLY wrapper. sqlparse's string-literal lexing can disagree with PostgreSQL's own parser: under standard_conforming_strings = on (PostgreSQL's default since 9.1), a backslash immediately before a quote is an ordinary character to PostgreSQL, but sqlparse treats it as escaping the quote. A payload such as SELECT '\';COMMIT;CREATE TABLE pwn(x int);SELECT 1 --' therefore parses as a single SELECT to sqlparse's validator, while PostgreSQL executes it as four statements: the smuggled COMMIT ends the wrapping read-only transaction, and the trailing ROLLBACK becomes a no-op. This reintroduces the same write/RCE bypass CVE-2026-12045 was meant to close, reachable via the same indirect prompt-injection delivery (an attacker plants the payload in any object the AI Assistant may read; the LLM emits it as a tool call).

An initial candidate fix ran the query with psycopg's execute(..., prepare=True), intending to force PostgreSQL's own Parse step (extended query protocol) to reject multi-statement text regardless of sqlparse's classification. This candidate fix does not work as submitted: psycopg3's PrepareManager silently ignores the prepare argument whenever the connection's prepare_threshold is None, which is pgAdmin's default for every server connection (the per-server "Prepare threshold" field is blank unless an administrator explicitly sets it) -- psycopg3 falls back to the simple query protocol, the same multi-statement-capable path the bypass exploits, so the candidate fix closes nothing on any real-world default configuration.

The corrected fix sets conn.prepare_threshold = 0 directly on the dedicated, single-use read-only connection the AI Assistant tool opens, structurally forcing the extended query protocol independent of any server-level configuration. Verified against a live PostgreSQL 18 instance: the payload executes successfully under the prepare_threshold=None (default) behavior, and is rejected with "cannot insert multiple commands into a prepared statement" once prepare_threshold=0 is set on that connection.

This issue affects pgAdmin 4: from 9.13 before 9.17.

CVSS v3
9.0
EG Score
9.0CRITICALmedium confidence
EG Risk
41
EG Risk 41/100

EG Risk is EchelonGraph's 0–100 priority score. It fuses impact severity (EG Severity, the CVSS base score, never the KEV-floored or EPSS-lifted EG Score) with real-world exploitation and automatability, under weights EchelonGraph set by hand, so you can rank equal-severity CVEs and fix the most dangerous first. Higher = act sooner.

How it’s computed (value × EchelonGraph’s weight)
Severity90% × 45%
Impact severity (EG Severity): CVSS 9.0 of 10. Never the KEV-floored or EPSS-lifted EG Score.
Exploitation0.5% × 40%
FIRST EPSS: the 30-day exploitation probability when EchelonGraph scored this CVE.
Automatability0% × 15%
CISA's SSVC Automatable value: no (Vulnrichment).
SSVC (CISA's decision table, applied by EchelonGraph): Track at low or medium mission impact; Track* at high (mission-essential systems).
Exploitation none (CISA Vulnrichment) · Automatable no (CISA Vulnrichment) · Technical impact total (CISA Vulnrichment). All three are CISA's SSVC values (Vulnrichment). EchelonGraph applied CISA's decision table to them; CISA publishes SSVC inputs and the table, not a decision for each CVE.
Action: An upstream fix is merged but not yet in a tagged release. Until the release ships, restrict network exposure of the affected system or apply the vendor's mitigation on your normal schedule, then apply it.
EPSS PROB
0.5%
EPSS %ILE
41st
KEV
Not listed

What the EG score is made of (scorer v4.0: the three questions the 0–10 score mixes, published apart · methodology)

The EG score (9.0): severity, escalated by confirmed exploitation. This CVE's 9.0 is its impact severity (EG Severity), not escalated.

EG Severity
9.0 CRITICALCVSS-B, impact only: no KEV listing, EPSS or EG-KEV tier raises it.GitHub Security Advisory CVSS
EG Likelihood
0.5% within 30 daysSource: FIRST EPSS (model v2026.06.15, score date 2026-11-02). FIRST's exploitation probability, not an EchelonGraph model.
Confirmed exploitation
None on record (CISA KEV, EG-KEV Tier 1)Reported apart from the likelihood: an observed fact, not a probability.
EG Priority
SSVC Track at medium mission impactTrack at low or medium mission impact; Track* at high (mission-essential systems).CISA BOD 26-04: 14 days if the affected system is publicly exposed; Fix on system upgrade if it is not.No released fix is confirmed on this page, but CISA's timeline does not wait for a fix's release: it starts when an agency identifies the flaw on an asset and updates the CDM Agency and Federal Dashboard, and the directive counts patching, decommissioning the system or another action as remediation. Until a fixed release is applied, mitigate as this page's verdict says. In the directive's words, “Fix on system upgrade” means that, “unless conditions change”, the vulnerability “should be remediated the next time the vulnerable asset receives a scheduled major upgrade or rebuild”: its timelines are “dynamic as facts change”, and a KEV listing shortens them.Each input and its source, and whom BOD 26-04 binds: the SSVC and BOD 26-04 blocks below.

SSVC (CISA's decision table, applied by EchelonGraph)Track at low or medium mission impact; Track* at high (mission-essential systems).

An upstream fix is merged but not yet in a tagged release. Until the release ships, restrict network exposure of the affected system or apply the vendor's mitigation on your normal schedule, then apply it.

Exploitation none (CISA Vulnrichment) · Automatable no (CISA Vulnrichment) · Technical impact total (CISA Vulnrichment). All three are CISA's SSVC values (Vulnrichment). EchelonGraph applied CISA's decision table to them; CISA publishes SSVC inputs and the table, not a decision for each CVE. Mission impact is CISA's Mission & Well-being decision point, and only you can judge it. CISA's table makes it high when Mission Prevalence is Essential — the vulnerable component "directly provides capabilities that constitute at least one MEF for at least one entity" (MEF: mission essential function) — or when Public Well-Being Impact is Irreversible: "multiple fatalities are likely", the cyber-physical system "is likely lost or destroyed", "extreme or serious externalities" are imposed on other parties, or social systems such as elections or the financial grid "are destabilized and potentially collapse". CISA's decision table

BOD 26-04 (CISA's remediation timeline, Table 1)14 days if the affected system is publicly exposed; Fix on system upgrade if it is not.

No released fix is confirmed on this page, but CISA's timeline does not wait for a fix's release: it starts when an agency identifies the flaw on an asset and updates the CDM Agency and Federal Dashboard, and the directive counts patching, decommissioning the system or another action as remediation. Until a fixed release is applied, mitigate as this page's verdict says. In the directive's words, “Fix on system upgrade” means that, “unless conditions change”, the vulnerability “should be remediated the next time the vulnerable asset receives a scheduled major upgrade or rebuild”: its timelines are “dynamic as facts change”, and a KEV listing shortens them.

The score's inputs: In CISA KEV no (CISA's KEV catalog) · Automatable no (CISA Vulnrichment) · Technical impact total (CISA Vulnrichment). Whether your system is publicly exposed is yours to answer. BOD 26-04 binds US Federal Civilian Executive Branch agencies; for anyone else it is CISA's published timeline, a reference rather than an obligation. The directive · how EchelonGraph applies it

Published

July 31, 2026

Last Modified

October 23, 2026

Advisory Details (3)

Auto-updated Jul 31, 2026
Upstream fix merged — awaiting tagged release. Sources: github_commit.
Web page

AI Assistant read-only transaction bypass via sqlparse/PostgreSQL lexer disagreement (CVE-2026-17351) · Issue #10192 · pgadmin-org/pgadmin4 · GitHub

https://github.com/pgadmin-org/pgadmin4/issues/10192
GitHub commit

commit ef76102bcd1c (pgadmin-org/pgadmin4)

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

https://github.com/pgadmin-org/pgadmin4/commit/ef76102bcd1cdb544eb9b4ef18d3382f22b76752
GitHub commit

commit bf4792444446 (pgadmin-org/pgadmin4)

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

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

Vendor Advisories for CVE-2026-17351(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 20× in last 7d / 89× in last 30d)

Each row is a time one of our pipelines fetched, updated or re-scored this CVE. 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. An arrow marks a change the record states ("CVSS v3 → 9.1"); EPSS and GHSA rows show the values recorded at that time, not what changed (EPSS values are rounded; hover one for the exact figures). Most recent first.

Showing the most recent 100 of 448 refreshes on record for this CVE.

A repeat, a row identical to one the same pipeline wrote less than 10 seconds earlier, is not a separate refresh and is not counted. None are among the latest 100 rows. The 348 oldest rows on record are not shown and were not checked, so the counts can still include repeats.

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

Frequently asked(5)

What is CVE-2026-17351?
CVE-2026-17351 is a critical-severity vulnerability; its CVE record was published on July 31, 2026. The fix for CVE-2026-12045 in pgAdmin 4 9.16 required the LLM-supplied query passed to the AI Assistant's execute_sql_query tool to parse, via sqlparse, as exactly one non-transaction-control statement before running it inside a BEGIN TRANSACTION READ ONLY wrapper. sqlparse's string-literal lexing…
When was the CVE record for CVE-2026-17351 published?
The CVE record for CVE-2026-17351 was published on July 31, 2026. That is the record's publication date; the vulnerability itself may have been made public earlier. EchelonGraph's copy of the record carries a last-modified date of October 23, 2026; the record at its source may have been updated since.
Is CVE-2026-17351 actively exploited?
CVE-2026-17351 is not currently on CISA's Known Exploited Vulnerabilities catalog. FIRST EPSS estimates a 0.5% probability of exploitation in the next 30 days (41st percentile of EPSS-scored CVEs).
What is the CVSS score of CVE-2026-17351?
CVE-2026-17351 has a CVSS v3 base score of 9.0 (NVD).
How do I remediate CVE-2026-17351?
An upstream fix for CVE-2026-17351 has been merged but is not yet in a tagged release. Until it ships, restrict network exposure of the affected system or apply the vendor's mitigation, then update to the release that contains the fix. The vendor advisories EchelonGraph has for CVE-2026-17351 are linked in the Vendor Advisories panel on this page.

Dependency Blast Radius

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

Explore →

Is Your Infrastructure Affected by CVE-2026-17351?

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