Skip to content

pgAdmin 4

pgAdmin 4: Import/Export Data query export runs a command through a backslash in a double-quoted identifier

CVE-2026-116241Published 30 Oct 2026, 19:55 UTC

Real-world risk

5.1/ 10Medium

Schedule in the normal cycle

PreliminaryFrom the CVSS vector only · confidence low

CVSS

9.4

scored by the vendor (CNA), CVSS 4.0

In plain words

No plain-language summary yet. The original description is below.

Original description (from PostgreSQL)

pgAdmin 4's Import/Export Data tool wraps a user's query export in a psql \copy (...) TO command and checks that the query's parentheses are balanced so that nothing can escape the wrapper. The check rejected a backslash inside a single-quoted string, but not inside a double-quoted identifier, where it treated the next double quote as closing the identifier. psql's \copy parser applies the connection's escape character to whichever quote opened a token, so with standard_conforming_strings off a backslash-escaped double quote does not close the identifier. pgAdmin's and psql's view of the quoting then diverged, a closing parenthesis hidden from the check ended the \copy (...) wrapper, and a following TO PROGRAM clause was executed by psql on the pgAdmin host, as the operating-system account running pgAdmin, before the server rejected the statement. An ordinary database role can turn standard_conforming_strings off for itself, and the Import/Export Data permission is granted to non-administrators by default. This is a bypass of the fix for CVE-2026-17566. The fix rejects any backslash inside a double-quoted identifier, as was already done for single-quoted strings, since its meaning depends on a server setting that cannot be known reliably when the query is validated. This issue affects pgAdmin 4: before 9.19.

Am I affected?

ProductAffected versions (from the sources)Fixed in
pgAdmin 4Common< 9.199.19

What to do

Update to a fixed version: 9.19.

Why this score

FactorValueEvidence×
ImpactFull compromiseCode execution or full control of the system or applicationFrom the CVSS vector1.00
Attacker positionInternetAnyone on the Internet can reach a typical deploymentFrom the CVSS vector1.00
Privileges neededLowA real low-privileged accountFrom the CVSS vector0.60
Victim interactionNoneNothingFrom the CVSS vector1.00
ConfigurationDefaultOut-of-the-box installs are vulnerableFrom the CVSS vector1.00
ReliabilityReliableDeterministic: injection, logic bug, path traversalFrom the CVSS vector1.00

Threat level T1: Nothing known (× 0.85)

The default for a new disclosure

EPSS 0.4% chance of exploitation in 30 days (percentile 39), as of 2026-12-03.

The arithmetic
  1. Prerequisites multiplied together0.600
  2. Threat T1: Nothing known0.850
  3. 10 × impact 1 × prerequisites 0.6 × threat 0.855.100
  4. Rounded to one decimal between 0.1 and 105.1

How the score works

Exploitation and evidence timeline

  1. 30 Oct 2026 Published
  2. 3 Dec 2026 Risk 5.1 (cvss fallback)

Weakness

CWE-78, CWE-115

References

Get alerts for pgAdmin 4

Free email or text alerts when a vulnerability in pgAdmin 4 reaches risk 8 or higher. Nothing else.