Skip to main content
Mallory
CriticalVulnerability

CVE-2026-116241: OS Command Injection in pgAdmin 4 Import/Export Data

Published Oct 30, 2026 · Updated 8 days ago
Trending this weekNot trendingOutside this week’s top 100
Mention activity · 30 days20 mentions · peak 6 in a dayToday
CVSS9.4Critical · v4
EPSS0.34%28th percentile
CISA KEVNoNot listed
In the wildNoneNo exploitation reported
Vendor
Pgadmin
IdentifiersCVE-2026-116241CWE-78 · Improper Neutralization of Special…

CVE-2026-116241 is an authenticated OS command-injection vulnerability in pgAdmin 4 versions before 9.19 that bypasses the fix for CVE-2026-17566. The Import/Export Data tool embeds export queries in a psql \copy wrapper and uses _is_query_parens_balanced() to prevent premature closure. The validator rejects backslashes in single-quoted strings but permits them in double-quoted identifiers. When standard_conforming_strings is disabled, pgAdmin and psql interpret backslash-escaped double quotes differently, allowing a crafted query to conceal a closing parenthesis from validation, escape the wrapper, and introduce a TO PROGRAM clause. This executes an arbitrary command on the pgAdmin host under the operating-system account running pgAdmin, before PostgreSQL rejects the statement.

Do you run this?See affected versions in your environment and whether adversaries are exploiting this vulnerability against assets like yours.
Check your exposure
Analyst brief

Impact, mitigation & remediation

What it means and what to do now: patch path, interim mitigations, and the assume-compromise checklist.

Impact

What an attacker gets, and what they’ve been doing with it.

A low-privileged authenticated user can cross the database-management security boundary and execute arbitrary operating-system commands on the pgAdmin host, rather than merely on the PostgreSQL server. Commands inherit the pgAdmin process account's privileges, potentially exposing accessible credentials and data, permitting modification of application resources, and disrupting services. A subsequent database syntax error does not indicate that execution was prevented, because the command can run before the statement is rejected.

Mitigation

If you can’t patch tonight, do this now.

Until the upgrade is deployed, disable access to Import/Export Data or restrict its permission to trusted administrators. Restrict access to the pgAdmin interface to reduce exposure. Do not rely solely on standard_conforming_strings being enabled by default: ordinary database roles can disable it for themselves.

Remediation

Patch, then assume compromise.

Upgrade pgAdmin 4 to version 9.19 or later. The fix rejects backslashes inside double-quoted identifiers during query-export validation, matching the existing treatment of single-quoted strings without depending on an attacker-controlled server setting. Related import/export validation also rejects backslashes and null bytes in schema, table, and column names. Verify the installed version directly, including in container deployments.

Public exploits

Exploits

No public exploits tracked yet. Mallory keeps watching.

View more in app →
No public exploit code observed for this vulnerability. Mallory keeps watching.
Exposure surface

Affected products & vendors

Products and vendors Mallory has correlated with this vulnerability. Open in Mallory to drill down to specific CPE configurations and version ranges.

VendorProductType
PgadminPgadmin 4application
FAQ

Frequently asked questions

Is CVE-2026-116241 exploited in the wild?
As of Nov 14, 2026, Mallory has no reports of CVE-2026-116241 being exploited in the wild. It is not listed in CISA KEV.
Is there a public exploit for CVE-2026-116241?
As of Nov 14, 2026, Mallory has found no public exploit for CVE-2026-116241.
Is there a patch for CVE-2026-116241?
Upgrade pgAdmin 4 to version 9.19 or later. The fix rejects backslashes inside double-quoted identifiers during query-export validation, matching the existing treatment of single-quoted strings without depending on an attacker-controlled server setting.
What products are affected by CVE-2026-116241?
Pgadmin 4.
How severe is CVE-2026-116241?
CVE-2026-116241 has a CVSS v4 score of 9.4 (Critical) and an EPSS score of 0.34% (28th percentile) as of Nov 14, 2026.
Activity feed

Recent activity

21 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.

View more in app →
hawkeye blogNews · Nov 6, 2026Weekly Threat Landscape Digest - Week 45 - HawkEyeA critical CVSS 9.9 OS command-injection vulnerability in pgAdmin 4 permitting arbitrary command execution on its host. Version 9.19 provides the fix.Read more ↗zeropath blogNews · Nov 3, 2026Overview of CVE-2026-116238: pgAdmin 4 Server Mode Login Lockout Bypass and Authorization Flaws - ZeroPath Blog | ZeroPathA separate OS command injection vulnerability in pgAdmin 4, fixed in version 9.19. Mentioned only as release-history context; the content provides no exploitation details or prerequisites.Read more ↗zeropath blogNews · Nov 3, 2026Brief Summary: pgAdmin 4 CVE-2026-116241 OS Command Injection via Import/Export Data - ZeroPath Blog | ZeroPathAn authenticated OS command injection vulnerability affecting pgAdmin 4 before 9.19. A user with an ordinary database role and the tools_import_export_data permission can disable standard_conforming_strings and submit a crafted query export that exploits a parsing mismatch between pgAdmin and psql. An injected TO PROGRAM clause executes on the pgAdmin host under the pgAdmin process account before PostgreSQL rejects the statement. Exposure is greatest in multiuser server deployments.Read more ↗csirt bjNews · Nov 2, 2026Exécution de code à distance affectant pgAdmin 4 - bjCSIRTA critical authenticated remote code execution vulnerability affecting pgAdmin 4 versions before 9.19. Insufficient validation of escape characters in double-quoted identifiers within the import/export tool allows an authenticated attacker to inject and execute arbitrary server-side commands during data export. The advisory reports a CVSS v3.1 score of 9.9 and potential impacts on system integrity and data confidentiality and availability. Upgrading to version 9.19 or later is recommended.Read more ↗
+4 more in the timeline. Sign up to see them
Do you run this?See affected versions in your environment and whether adversaries are exploiting this vulnerability against assets like yours.
Check your exposure
Mallory platform

The version that knows your environment.

This page is what’s public. Mallory adds the parts that aren’t: which of your assets are affected, which adversaries are exploiting it right now, and which detections to deploy tonight.
Exposure mappingQuery your assets running an affected version, and investigate the blast radius.
Threat actor evidenceEvery report linking this CVE to a named adversary.
Associated malwareMalware families linked to this CVE, with evidence and IOCs.
Detection signaturesYARA, Sigma, Snort, and vendor rules, auto-deployed to your SIEM.
Vendor-by-vendor mappingCross-references every affected SKU, including bundled OEM variants.
Social activity11Community discussion across Reddit, Mastodon, and other social sources.