Skip to main content

Over 150 LLM Providers · Over 5,300 Models The most extensible AI-powered pentesting platform. Open source. Star on GitHub

CVE-2026-7816

8.8 · HIGH
Published May 11, 2026 pgadmin CWE-78

Overview

CVE-2026-7816 is a high-severity vulnerability affecting pgadmin pgadmin_4. It was published on May 11, 2026 and has a CVSS 3.1 base score of 8.8 (HIGH).

This vulnerability has a CVSS 3.1 base score of 8.8, rated HIGH. It can be exploited remotely over the network. Some level of privileges is required for exploitation.

Technical Description

OS command injection (CWE-78) vulnerability in pgAdmin 4 Import/Export query export.

User-supplied input was interpolated directly into a psql \copy metacommand template without sanitization. An authenticated user could inject ") TO PROGRAM 'cmd'" to break out of the \copy (...) context and achieve arbitrary command execution on the pgAdmin server, or ") TO '/path'" for arbitrary file write. Additional fields (format, on_error, log_verbosity) were also raw-interpolated and exploitable.

Fix adds a parens-balance parser modeled on psql's strtokx tokenizer, allow-lists format/on_error/log_verbosity, rejects null bytes in the query, and tightens type and gating checks.

This issue affects pgAdmin 4: before 9.15.

Remediation

Check the references section for vendor advisories and patches from pgadmin. Update pgadmin_4 to the latest patched version. If immediate patching is not possible, review the CVSS vector to understand the attack surface and apply compensating controls such as network segmentation or access restrictions.

Affected Products

Vendor Product Versions Status
pgadmin pgadmin_4 >= 9.4, < 9.15 Affected

Frequently Asked Questions

What is CVE-2026-7816?

CVE-2026-7816 is a high-severity vulnerability affecting pgadmin pgadmin_4. It was published on May 11, 2026 and has a CVSS 3.1 base score of 8.8 (HIGH).

How severe is CVE-2026-7816?

This vulnerability has a CVSS 3.1 base score of 8.8, rated HIGH. It can be exploited remotely over the network. Some level of privileges is required for exploitation.

How do I fix or remediate CVE-2026-7816?

Check the references section for vendor advisories and patches from pgadmin. Update pgadmin_4 to the latest patched version. If immediate patching is not possible, review the CVSS vector to understand the attack surface and apply compensating controls such as network segmentation or access restrictions.

How can CyberStrike help with CVE-2026-7816?

CyberStrike's AI-powered security agents can automatically detect CVE-2026-7816 across your infrastructure using autonomous pentesting, DAST scanning, and HackBrowser. The platform continuously monitors for known vulnerabilities and provides actionable remediation guidance prioritized by real-world exploitability.