Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

CVE-2025-12763: Vulnerability in pgadmin.org pgAdmin 4

0
Medium
VulnerabilityCVE-2025-12763cvecve-2025-12763
Published: Thu Nov 13 2025 (11/13/2025, 13:00:08 UTC)
Source: CVE Database V5
Vendor/Project: pgadmin.org
Product: pgAdmin 4

Description

pgAdmin 4 versions up to 9.9 are affected by a command injection vulnerability on Windows systems. This issue is caused by the use of shell=True during backup and restore operations, enabling attackers to execute arbitrary system commands by providing specially crafted file path input.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 02/27/2026, 04:40:50 UTC

Technical Analysis

CVE-2025-12763 is a command injection vulnerability identified in pgAdmin 4, a popular open-source administration and development platform for PostgreSQL databases. The vulnerability affects all versions up to 9.9 running on Windows systems. The root cause is the unsafe use of the Python subprocess module with shell=True during backup and restore operations. This practice allows an attacker who can influence the file path input to inject arbitrary shell commands, which the system then executes with the privileges of the pgAdmin process. Exploitation requires an authenticated user to provide specially crafted input, which means remote attackers cannot exploit this without valid credentials and some user interaction. The vulnerability is classified under CWE-78 (Improper Neutralization of Special Elements used in an OS Command). The CVSS v3.1 base score is 6.8, reflecting medium severity due to the need for authentication and user interaction, but with high impact on confidentiality, integrity, and availability if exploited. No patches or official fixes have been published at the time of disclosure, and no known exploits have been observed in the wild. The vulnerability primarily affects Windows installations of pgAdmin 4, which is widely used by database administrators and developers for managing PostgreSQL databases.

Potential Impact

If exploited, this vulnerability allows attackers to execute arbitrary system commands on the Windows host running pgAdmin 4, potentially leading to full system compromise. This can result in unauthorized data access, modification, or deletion, disruption of database services, and lateral movement within the network. Since pgAdmin is often used in enterprise environments to manage critical databases, the impact can be severe, affecting data confidentiality, integrity, and availability. The requirement for authentication and user interaction limits the attack surface but does not eliminate risk, especially in environments where multiple users have access to pgAdmin or where attackers can compromise user credentials. The lack of available patches increases the window of exposure. Organizations relying on pgAdmin 4 for database management on Windows platforms face risks of operational disruption, data breaches, and potential regulatory non-compliance if sensitive data is exposed.

Mitigation Recommendations

Until an official patch is released, organizations should implement several specific mitigations: 1) Restrict access to pgAdmin 4 instances to trusted users only and enforce strong authentication mechanisms, including multi-factor authentication. 2) Limit user permissions within pgAdmin to the minimum necessary to reduce the risk of malicious input. 3) Avoid running pgAdmin 4 on Windows systems if possible; consider using Linux-based deployments where this vulnerability does not apply. 4) Monitor logs for unusual backup or restore operations that may indicate exploitation attempts. 5) Employ application whitelisting and endpoint protection solutions to detect and block unauthorized command execution. 6) Educate users about the risks of providing untrusted input during backup and restore processes. 7) Once patches become available, prioritize their deployment. 8) Consider network segmentation to isolate database management tools from less trusted network zones. These targeted actions go beyond generic advice by focusing on the specific attack vector and environment.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.2
Assigner Short Name
PostgreSQL
Date Reserved
2025-11-05T17:30:06.043Z
Cvss Version
3.1
State
PUBLISHED

Threat ID: 6915d923f0c8e942cdf27489

Added to database: 11/13/2025, 1:12:03 PM

Last enriched: 2/27/2026, 4:40:50 AM

Last updated: 3/25/2026, 4:11:33 AM

Views: 235

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses