Skip to content
Critical

CVE-2026-116241pgAdmin 4 OS Command Injection

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.

Published Oct 30, 2026 · Updated Nov 4, 2026 · Also known as EUVD-2026-114382, GHSA-3jx6-4898-6q3m

Key Facts

Patch in the next maintenance window
  • CVE-2026-116241 is a critical-severity vulnerability (CVSS 9.4 v4) affecting pgAdmin 4.
  • It is not listed in any known-exploited vulnerabilities catalog. No public exploit code is known.
  • EPSS estimates a 0.3% probability of exploitation in the next 30 days.
  • Fixed versions are available, including pgAdmin 4 9.19, pgadmin-org/pgadmin4 9.19.
  • Brandefense priority: patch in the next maintenance window, because of its high severity, although no exploitation is known.

Scores

CVSS v4

9.4

CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H

EPSS (30-day exploit likelihood)

0.3%

Higher than 23.9% of all scored CVEs

Exploit maturity

None known

ATLAS score

28/100

Publication score, see How it works

Exploitation Verdict

KEV listed

Not listed

Federal due date

None

No federal due date

Ransomware use

Not reported

Attributed actors

None named

Exploit & Defence Guidance

Exploit maturity

None known

Public exploit code

0

Proof-of-concept links

In-the-wild evidence

0

Reports of active use

Description

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.

Affected Products

3 affected entries in total
ProductAffected versionsFixed in
pgAdmin 4PgadminSee advisory9.19

Patched Releases

pgAdmin 4

9.19

pgadmin-org/pgadmin4

9.19

Timeline

  1. Publicly disclosed

    Oct 30, 2026

  2. Last updated

    Nov 4, 2026

Weakness Type

  • CWE-78 Improper Neutralization of Special Elements used in an OS Command
  • CWE-115 Misinterpretation of Input

FAQ

Common Questions.

Is CVE-2026-116241 On Your Attack Surface?

Brandefense matches it against the products discovered on your perimeter and opens a finding the day a CVE like this is listed.

Request A Demo

Figures as of Nov 20, 2026. Compiled by Brandefense technologies from public vulnerability catalogs; scoring as described in How it works.

To report an error, contact Brandefense.