{"schema":"/api/v1/schema/cve.json","api_version":"1","id":"CVE-2026-116241","published":"2026-10-30T20:17:03.813000Z","last_modified":"2026-11-06T17:17:14.710000Z","status":"Analyzed","cvss":{"version":"4.0","score":9.4,"severity":"CRITICAL","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X","source":"f86ef6dc-4d3a-42ad-8f28-e6d5547a5007","primary":false},"auth":true,"cwes":["CWE-78","CWE-115"],"cpes":[{"criteria":"cpe:2.3:a:pgadmin:pgadmin_4:*:*:*:*:*:*:*:*","part":"a","vendor":"pgadmin","product":"pgadmin_4","version_end_excluding":"9.19"}],"cpes_truncated":false,"vendors":["pgadmin"],"products":["pgadmin/pgadmin_4"],"ssvc":{"exploitation":"none","automatable":"no","technical_impact":"total"},"cat":"app","platform":"multi","eol":false,"packages":[],"severity":"critical","priority_score":56,"links":{"html_es":"/es/cve/CVE-2026-116241/","html_en":"/en/cve/CVE-2026-116241/","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-116241","cve_org":"https://www.cve.org/CVERecord?id=CVE-2026-116241"},"untrusted":{"vendor_name":"Pgadmin","product_name":"Pgadmin 4","desc_en":"pgAdmin 4's Import/Export Data tool wraps a user's query export in a psql \\copy (...) TO command and checks that the query's parentheses are balanced so that nothing can escape the wrapper. The check rejected a backslash inside a single-quoted string, but not inside a double-quoted identifier, where it treated the next double quote as closing the identifier. psql's \\copy parser applies the connection's escape character to whichever quote opened a token, so with standard_conforming_strings off a backslash-escaped double quote does not close the identifier. pgAdmin's and psql's view of the quoting then diverged, a closing parenthesis hidden from the check ended the \\copy (...) wrapper, and a following TO PROGRAM clause was executed by psql on the pgAdmin host, as the operating-system account running pgAdmin, before the server rejected the statement. An ordinary database role can turn standard_conforming_strings off for itself, and the Import/Export Data permission is granted to non-administrators by default.\n\nThis is a bypass of the fix for CVE-2026-17566. The fix rejects any backslash inside a double-quoted identifier, as was already done for single-quoted strings, since its meaning depends on a server setting that cannot be known reliably when the query is validated.\n\nThis issue affects pgAdmin 4: before 9.19.","affected":[{"untrusted_vendor":"pgadmin.org","untrusted_product":"pgAdmin 4","versions":[]}],"ai":{"model":"us.anthropic.claude-haiku-4-5-20251001-v1:0","prompt_version":"2","input_hash":"493f930345c69426413194bfd9772a7b","generated":"2026-11-26T22:21:57.940943Z","es":{"untrusted_title":"Ejecución remota de código en pgAdmin 4 mediante herramienta de importación/exp…","untrusted_summary":"pgAdmin 4 valida incorrectamente consultas en la herramienta de importación/exportación, permitiendo que un atacante con rol de base de datos ordinario escape del comando psql \\copy mediante identificadores entrecomillados con barras invertidas. Esto permite ejecutar comandos arbitrarios en el host de pgAdmin con los permisos de la cuenta del sistema que ejecuta pgAdmin, incluso aunque el permiso de importación/exportación esté concedido a usuarios no administradores por defecto."},"en":{"untrusted_title":"Remote code execution in pgAdmin 4 Import/Export Data tool","untrusted_summary":"pgAdmin 4 improperly validates queries in the Import/Export Data tool, allowing an attacker with an ordinary database role to escape the psql \\copy command wrapper using double-quoted identifiers with backslashes. This enables arbitrary command execution on the pgAdmin host with the privileges of the system account running pgAdmin, even though the Import/Export permission is granted to non-administrators by default."},"remediation":{"status":"fix","fixed_versions":["9.19"],"untrusted_action_es":"Actualiza pgAdmin 4 a la versión 9.19 o posterior para aplicar la validación mejorada de identificadores entrecomillados.","untrusted_action_en":"Update pgAdmin 4 to version 9.19 or later to apply enhanced validation of double-quoted identifiers.","vendor_url":"https://github.com/pgadmin-org/pgadmin4/commit/9be31a019f780647fb689c458408c8803263c812"},"reviewed":false},"references":[{"url":"https://github.com/pgadmin-org/pgadmin4/commit/9be31a019f780647fb689c458408c8803263c812","tags":["Patch"]},{"url":"https://github.com/pgadmin-org/pgadmin4/issues/10663","tags":["Issue Tracking"]}]}}