CVE-2025-13780: Vulnerability in Pgadmin 4
Critical. The PLAIN restore meta-command filter introduced in pgAdmin as part of the fix for CVE-2025-12762 does not detect meta-commands when a SQL file begins with a UTF-8 Byte Order Mark (EF BB BF) or other special byte sequences. The implemented filter uses the function has_meta_commands(), which scans raw bytes using a regular expression. The regex does not treat the bytes as ignorable, so meta-commands such as \\!...
PyPI, CWE-94, CWE-77
- Exploitation
- None confirmed
- Severity
- 9.1 of 10
- Attack likelihood
- 1 % in 30 days
- Fix
- Fixed version known
- Patch deadline
- No deadline set
Details
- Advisory ID
- GHSA-fxmw-jcgr-w44v
- Vector
- CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:L/A:L
- Weakness
- CWE-94, CWE-77
- Published
- 11 Dec 2025
- Last change
- 16 Nov 2026
- Likelihood rank
- Higher than 63 % of all rated vulnerabilities
- Analysis status
- Analyzed
- Ecosystem
- PyPI
Affected products
Affected versions and the first fixed release
- Pgadmin 4 Through 9.10. No fixed version recorded
- Pgadmin.org pgAdmin 4 Through 9.10; Version 0 ≤9.10. No fixed version recorded
Affected packages
Vulnerable version ranges and fixed releases
- pgadmin4 PyPI, Affected before 9.11. Fixed in 9.11
Advisories
Vendor and security advisories
Patches and fixes
Updates, commits and release notes
- github.com/pgadmin-org/pgadmin4/pull/9426
- github.com/pgadmin-org/pgadmin4/commit/1d397395f75320ca1d4ed5e9ca721c603415e836
- github.com/pgadmin-org/pgadmin4/commit/d5a909f14cb9713d89b49481ad1929fad89f4576
Related
- Pgadmin 4 vulnerabilities Recent advisories, watch this product
- pgAdmin 4 vulnerabilities Recent advisories, watch this product