Arbitrary Code Injection Affecting pgadmin4 package, versions [,9.11)


Severity

Recommended
0.0
medium
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

Exploit Maturity
Proof of Concept
EPSS
0.92% (57th 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 Learn

Learn about Arbitrary Code Injection vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-PYTHON-PGADMIN4-14401637
  • published12 Dec 2025
  • disclosed11 Dec 2025
  • creditXi Rui, Ngọc Chung Kim, Dominik Penner, Louis Nyffenegger, Meenakshi SL

Introduced: 11 Dec 2025

CVE-2025-13780  (opens in a new tab)
CWE-77  (opens in a new tab)
CWE-94  (opens in a new tab)

How to fix?

Upgrade pgadmin4 to version 9.11 or higher.

Overview

pgadmin4 is a PostgreSQL Tools

Affected versions of this package are vulnerable to Arbitrary Code Injection via the has_meta_commands() function. An attacker can execute arbitrary commands on the system by crafting a SQL file that begins with a UTF-8 Byte Order Mark or special byte sequences, which bypass the implemented filter and allow undetected meta-commands to be processed during a restore operation.

CVSS Base Scores

version 4.0
version 3.1