Arbitrary Code Injection Affecting pgadmin4 package, versions <9.17-r1


Severity

Recommended
low

Based on default assessment until relevant scores are available.

Threat Intelligence

EPSS
0.18% (8th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-CHAINGUARDLATEST-PGADMIN4-19270839
  • published27 Aug 2026
  • disclosed17 Aug 2026

Introduced: 17 Aug 2026

CVE-2026-59894  (opens in a new tab)
CWE-94  (opens in a new tab)

How to fix?

Upgrade Chainguard pgadmin4 to version 9.17-r1 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream pgadmin4 package and not the pgadmin4 package as distributed by Chainguard. See How to fix? for Chainguard relevant fixed versions and status.

sqlparse is a non-validating SQL parser module for Python. Prior to 0.6.0, sqlparse/filters/output.py fails to escape existing backslashes before quotes in sqlparse.format output_format='python' and output_format='php' and the corresponding sqlformat -l modes, allowing crafted SQL to terminate the generated string and inject Python or PHP code when a downstream consumer executes or imports the generated source. This issue is fixed in version 0.6.0.

CVSS Base Scores

version 3.1