CVE-2026-17566

CRITICALPre-NVD 9.99.9
EchelonGraph scoreMEDIUM confidence

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

Score 9.9 from GitHub Security Advisory (severity: CRITICAL) published 2026-07-31. A secondary CVSS source baseline 9.9; sources differ by 0.0.

Triggered by: GitHub Security Advisory CVSS
Sources: EPSS, GitHub Security Advisory, a secondary CVSS source
Trending — 3 sources updated this weekElevated

Also known asEUVD-2026-51565 (ENISA EUVD) · GHSA-3h25-h4m7-gr36 (GitHub Security Advisories)Source: ENISA EUVD

9.9EG
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).
  • Public exploit or proof-of-concept code is available
CISA-KEV: Not listedEPSS PROB: 0.7%CVSS: 9.9Exploit: Public PoCExposed services: Not assessed

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

pgAdmin 4's Import/Export Data tool builds a psql \copy (...) command line by interpolating a user-supplied SQL query into a Jinja template and passing the rendered line to psql via --command. To stop an attacker from breaking out of the (...) wrapper, create_import_export_job() (route POST /import_export/job/, gated only by the ordinary, commonly-granted tools_import_export_data permission) validated the query with a hand-written parenthesis-balance checker, _is_query_parens_balanced(). That checker always treated a backslash before a single quote (\') as escaping the quote, i.e. as if standard_conforming_strings were off. PostgreSQL has defaulted standard_conforming_strings to on since 9.1 (2010), the default on every PostgreSQL version pgAdmin 4 currently supports (13-18); under that default psql's own \copy tokenizer treats \ as an ordinary character, so a single quote immediately after it closes the string literal. A query such as SELECT 'a\') TO PROGRAM 'echo pwned' x' was therefore accepted as "balanced" by pgAdmin's checker (which believed the ) was still inside the string), while psql, run through the actual rendered command line, closes the string at that point and treats the following ) as the end of the wrapping \copy (...) subquery, exposing an attacker-chosen TO PROGRAM '' clause that psql executes via popen() -- independent of a subsequent syntax error later on the same line. This is the same class of bug as CVE-2025-12762/CVE-2025-13780 (RCE via psql meta-command/COPY injection during PLAIN-format dump restore), reached through an independently written defense in a different module (Import/Export Data rather than Restore) that had its own, different logic bug (inverted backslash-escape semantics rather than a BOM-defeated regex anchor).

The fix rejects any backslash inside a single-quoted string in the query outright, rather than picking one of the two possible psql interpretations. This is intentionally conservative: because the correct interpretation of \ depends on the target server's standard_conforming_strings setting, which the checker cannot reliably know at validation time, refusing the query is safer than guessing.

This issue affects pgAdmin 4: from the introduction of _is_query_parens_balanced() before 9.18.

CVSS v3
9.9
EG Score
9.9CRITICALmedium confidence
EG Risk
61
EG Risk 61/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)
Severity99% × 45%
Impact severity (EG Severity): CVSS 9.9 of 10. Never the KEV-floored or EPSS-lifted EG Score.
Exploitation40% × 40%
EchelonGraph's fixed weight for EG-KEV Tier 3 (Elevated): a constant, not a probability.
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.7%
EPSS %ILE
52nd
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.9): severity, escalated by confirmed exploitation. This CVE's 9.9 is its impact severity (EG Severity), not escalated.

EG Severity
9.9 CRITICALCVSS-B, impact only: no KEV listing, EPSS or EG-KEV tier raises it.GitHub Security Advisory CVSS
EG Likelihood
0.7% within 30 daysSource: FIRST EPSS (model v2026.06.15, score date 2026-11-01). 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 (2)

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

OS command injection in Import/Export Data via backslash-escape mismatch in the query guard (CVE-2026-17566) · Issue #10213 · pgadmin-org/pgadmin4 · GitHub

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

commit 1496fabe28c9 (pgadmin-org/pgadmin4)

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

https://github.com/pgadmin-org/pgadmin4/commit/1496fabe28c9f825f6bac0f0d000d9d3276322c3

Vendor Advisories for CVE-2026-17566(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 22× 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 470 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 370 oldest rows on record are not shown and were not checked, so the counts can still include repeats.

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

Publicly available exploits

(1 reference)

Public exploit code is referenced for this CVE (1 GitHub PoC). The fix is not yet in a release, so defenders should restrict or isolate affected systems accordingly until it ships.

  • GitHub PoCHackSpeak/CVE-2026-17566
    Published Aug 4, 2026

    pgAdmin 4 Import/Export RCE (CVE-2026-17566) PoC - TO PROGRAM injection via backslash-escape mismatch

    Open source ↗

Frequently asked(5)

What is CVE-2026-17566?
CVE-2026-17566 is a critical-severity vulnerability; its CVE record was published on July 31, 2026. pgAdmin 4's Import/Export Data tool builds a psql \copy (...) command line by interpolating a user-supplied SQL query into a Jinja template and passing the rendered line to psql via --command. To stop an attacker from breaking out of the (...) wrapper, create_import_export_job() (route POST…
When was the CVE record for CVE-2026-17566 published?
The CVE record for CVE-2026-17566 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-17566 actively exploited?
CVE-2026-17566 is not currently on CISA's Known Exploited Vulnerabilities catalog. FIRST EPSS estimates a 0.7% probability of exploitation in the next 30 days (52nd percentile of EPSS-scored CVEs).
What is the CVSS score of CVE-2026-17566?
CVE-2026-17566 has a CVSS base score of 9.9 (a secondary CVSS source that NVD displays; NVD's own analysis pending).
How do I remediate CVE-2026-17566?
An upstream fix for CVE-2026-17566 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-17566 are linked in the Vendor Advisories panel on this page.

Dependency Blast Radius

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

Explore →

Is Your Infrastructure Affected by CVE-2026-17566?

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