PGADMIN4 · CVE-2025-12762 · Package
FIX → 9.10
pgAdmin 4 versions before 9.10 let a user who restores a PLAIN-format dump file inject commands that run on the server hosting pgAdmin. An attacker who can supply or influence such a dump can execute arbitrary commands on that server.
first public Nov 13, 2025 · 2 sources
Check it with your coding agent
It reads this page and tells you if your code or app is affected.
Teams that run pgAdmin 4 in server mode, a shared web deployment where users log in, and allow restores from PLAIN-format dump files. Desktop-only installs in desktop mode are not described as affected by the sources. The sources do not describe whether restore access is limited to trusted users.
Not affected if desktop-mode, no-restore-use
Who cares pgadmin4, postgresql, python, self-hosted
pip show pgadmin4 and confirm whether it is below 9.10.SERVER_MODE = True in the config) and whether users can restore dump files.Upgrade to 9.10
pgAdmin versions up to 9.9 are affected by a Remote Code Execution (RCE) vulnerability that occurs when running in server mode and performing restores from PLAIN-format dump files. This issue allows attackers to inject and execute arbitrary commands on the server hosting pgAdmin, posing a critical risk to the integrity and security of the database management system and underlying data.
This page as .md · .json · CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:L/A:L
Are you affected?
Ask from here. InfraStack checks the affected versions against your stack and answers in your inbox.
InfraStack checks the affected versions against your stack and answers in Slack, with the evidence and the fix.
InfraStack checks it against your stack and answers on your report, with the evidence and the fix.
9.10GitHub Advisory Database, CC-BY 4.0 · NVD data is provided by NIST and is public domain. Posts quoted belong to their authors.