{"vuln_id":"CVE-2025-13780","aliases":["GHSA-fxmw-jcgr-w44v","CVE-2025-12762"],"description":"pgadmin4 has a Meta-Command Filter Command Execution","published_at":"2025-12-11T21:31:28Z","modified_at":"2026-11-16T15:41:59Z","first_seen_at":"2026-11-21T19:15:20.298303Z","severity":"critical","severity_source":"ghsa","cvss_score":9.1,"cvss_vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:L/A:L","cwe":["CWE-77","CWE-94"],"vendor":null,"product":null,"kev":{"is_kev":false,"date_added":null,"due_date":null,"ransomware":false},"epss":0.00946,"epss_percentile":0.62032,"nvd_status":null,"enriched_at":null,"links":{"nvd":"https://nvd.nist.gov/vuln/detail/CVE-2025-13780"},"matched_alias":null,"items":[{"id":2552,"source":{"id":"ghsa","name":"GitHub Security Advisories"},"title":"GHSA-fxmw-jcgr-w44v / CVE-2025-13780: pgadmin4 has a Meta-Command Filter Command Execution","summary":"pgadmin4 has a Meta-Command Filter Command Execution\n\nThe 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 `\\\\!` remain undetected. When pgAdmin invokes psql with --file, psql strips the bytes and executes the command. This can result in remote command execution during a restore operation.\n\nAffected packages: pip:pgadmin4\nPatched: pgadmin4 9.11","url":"https://github.com/advisories/GHSA-fxmw-jcgr-w44v","published_at":"2025-12-11T21:31:28Z","updated_at":"2026-11-16T15:41:59Z","fetched_at":"2026-11-21T19:15:18.416927Z","severity":"critical","cvss_score":9.1,"epss":0.12705,"is_kev":false,"has_exploit":false,"kev_due_date":null,"vendor":null,"product":"pgadmin4","vuln_id":"CVE-2025-13780","vuln_ids":["CVE-2025-12762","CVE-2025-13780","GHSA-FXMW-JCGR-W44V","GHSA-W2P4-P4RH-QCM3"],"tags":["ghsa","pip","CWE-77","CWE-94"],"cluster_id":2550,"links":{"self":"https://vulnwatch.ve1ve2.com/api/v1/items/2552","html":"https://vulnwatch.ve1ve2.com/item/2552"}}]}