CVE-2025-13780: pgadmin4 has a Meta-Command Filter Command Execution
Affects pgadmin4Source GCVE Database
Mentioned vulnerabilities
Not known to be exploited · CVSS 9.1 Critical : upgrade to 9.11 as a priority.
Data as of 16 Nov 2026, 16:50 UTC
Thin evidence
One scorer or none| CNA (PostgreSQL) | CVSS 3.1 | 9.1 |
|---|
- Patch
- Available – fixed in 9.11
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:L/A:LExploitation evidence
Disclosed: evidence found.
CVE published 11 Dec 2025
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 15 Nov 2026.
What to do
Upgrade pgadmin4 to 9.11.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| PyPIpgadmin4 | Affected
| Fixed in
|
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
A patch is available in pgAdmin4 version 9.11 that fixes this vulnerability. Users should upgrade to version 9.11 or later to remediate this issue. No additional mitigation steps are indicated by the vendor advisory.
Description
pgAdmin4 versions prior to 9.11 contain a vulnerability in the PLAIN restore meta-command filter that fails to detect meta-commands when a SQL file starts with a UTF-8 Byte Order Mark or other special byte sequences. This flaw allows meta-commands such as \\! to bypass detection and be executed by psql during a restore operation, potentially leading to remote command execution.
References
- nvd.nist.gov/vuln/detail/CVE-2025-13780 (opens in a new tab)
- github.com/pgadmin-org/pgadmin4/issues/9368 (opens in a new tab)
- github.com/pgadmin-org/pgadmin4/pull/9426 (opens in a new tab)
- github.com/pgadmin-org/pgadmin4/commit/1d397395f75320ca1d4ed5e9ca721c603415e836 (opens in a new tab)
- github.com/pgadmin-org/pgadmin4/commit/d5a909f14cb9713d89b49481ad1929fad89f4576 (opens in a new tab)
- github.com/pgadmin-org/pgadmin4 (opens in a new tab)
- github.com/pypa/advisory-database/tree/main/vulns/pgadmin4/PYSEC-2026-450.yaml (opens in a new tab)
- pypi.org/project/pgadmin4 (opens in a new tab)