Advisory record · GHSA-j74f-g7vx-fh4x

pgAdmin 4: OS command injection vulnerability in Import/Export query export

CVSS 8.7 HighEPSS 0.014 · 73rd percentile

Published by the GitHub Advisory Database at 11 May 2026, 18:31 UTC. agentprime has not analysed this yet, so whether it affects any app is not known.

PackageEcosystemAffectedFixed in
pgadmin4PyPI<9.159.15
Identifiers
GHSA-j74f-g7vx-fh4x · CVE-2026-7816 · PYSEC-2026-2870
Weakness (CWE)
CWE-78 · CWE-89
Published
11 May 2026
Updated
10 Sept 2026

Machine-written summary

Summary written by Claude Haiku from the source advisory. Not reviewed by a person.

pgAdmin 4 versions before 9.15 are affected by an OS command injection flaw in the Import/Export query export feature. An authenticated user can inject crafted input that breaks out of the psql \copy template, allowing arbitrary command execution on the pgAdmin server or arbitrary file writes. Upgrade the pgadmin4 PyPI package to version 9.15 or later.

Written 4 Nov 2026.

Not analysed yet

We haven’t published our analysis of this Advisory yet. Once a person has reviewed it, this page will say what’s vulnerable, what has to be true for your app to be affected, and how to check.

Severity and exploitation

ScoreRatingCVSSVectorSource
8.7 High 4.0 CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N CNA (PostgreSQL)
  • CISA KEV Not listed.
  • EPSS 0.014, the 73rd percentile, on 15 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.

Timeline

  1. 31 Oct 2026, 14:29 UTC First seen by agentprime
  2. 31 Oct 2026, 14:29 UTC Confirmed by OSV

Sources

Facts on this page come from the GitHub Advisory Database (CC-BY 4.0), OSV and the other sources listed, as published. We don’t reproduce full advisory descriptions, which can contain exploit code.