{"uuid": "1ebcfd3a-9708-40ee-9bf2-01b43baf1876", "vulnerability_lookup_origin": "1a89b78e-f703-45f3-bb86-59eb712668bd", "author": "9f56dd64-161d-43a6-b9c3-555944290a09", "vulnerability": "CVE-2025-2945", "type": "seen", "source": "https://github.com/rapid7/metasploit-framework/blob/master/modules/exploits/multi/http/pgadmin_query_tool_authenticated.rb", "content": "{\"aliases\": [], \"arch\": \"python\", \"author\": [\"pyozzi-toss\", \"jheysel-r7\"], \"autofilter_ports\": [80, 8080, 443, 8000, 8888, 8880, 8008, 3000, 8443], \"autofilter_services\": [\"http\", \"https\"], \"check\": true, \"default_credential\": false, \"description\": \"This module exploits a vulnerability in pgAdmin where an authenticated user can establish a connection to the query tool\\n          and send a specific payload in the query_commited POST parameter. This payload is directly executed via a Python eval()\\n          statement, resulting in remote code execution in versions prior to 9.2.\\n\\n          To exploit this vulnerability, pgAdmin credentials are required. Additionally, in order to interact with the vulnerable\\n          SQL editor component, valid database credentials are necessary to initialize a session and obtain a transaction ID,\\n          which is required for the exploit.\", \"disclosure_date\": \"2025-04-03\", \"fullname\": \"exploit/multi/http/pgadmin_query_tool_authenticated\", \"is_install_path\": true, \"mod_time\": \"2025-12-17 16:12:31 +0000\", \"name\": \"pgAdmin Query Tool authenticated RCE (CVE-2025-2945)\", \"needs_cleanup\": null, \"notes\": {\"Reliability\": [\"repeatable-session\"], \"SideEffects\": [\"ioc-in-logs\"], \"Stability\": [\"crash-safe\"]}, \"path\": \"/modules/exploits/multi/http/pgadmin_query_tool_authenticated.rb\", \"platform\": \"Python\", \"post_auth\": true, \"rank\": 600, \"ref_name\": \"multi/http/pgadmin_query_tool_authenticated\", \"references\": [\"CVE-2025-2945\"], \"rport\": 80, \"session_types\": false, \"targets\": [\"Python payload\"], \"type\": \"exploit\"}", "creation_timestamp": "2026-09-08T06:50:07.634913Z"}