{"schema":"/api/v1/schema/cve.json","api_version":"1","id":"CVE-2026-12050","published":"2026-06-19T00:16:47.517000Z","last_modified":"2026-10-25T23:10:00.167000Z","status":"Analyzed","cvss":{"version":"4.0","score":5.3,"severity":"MEDIUM","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N/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-89"],"cpes":[{"criteria":"cpe:2.3:a:pgadmin:pgadmin_4:*:*:*:*:*:postgresql:*:*","part":"a","vendor":"pgadmin","product":"pgadmin_4","version_start_including":"1.0","version_end_excluding":"9.16"}],"cpes_truncated":false,"vendors":["pgadmin"],"products":["pgadmin/pgadmin_4"],"ssvc":{"exploitation":"none","automatable":"no","technical_impact":"partial"},"cat":"app","platform":"multi","eol":false,"packages":[],"severity":"medium","priority_score":32,"links":{"html_es":"/es/cve/CVE-2026-12050/","html_en":"/en/cve/CVE-2026-12050/","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-12050","cve_org":"https://www.cve.org/CVERecord?id=CVE-2026-12050"},"untrusted":{"vendor_name":"Pgadmin","product_name":"Pgadmin 4","desc_en":"SQL injection in pgAdmin 4's named restore point endpoint (POST /browser/server/restore_point/{gid}/{sid}). The user-supplied 'value' field was interpolated directly into the SQL string with str.format() instead of being passed as a bound parameter, allowing an authenticated pgAdmin user with a connected PostgreSQL session to inject additional statements through that endpoint.\n\nThe injected SQL executes under the database role the user is already authenticated as. The defect does not cross a privilege boundary -- the user already has direct SQL access to that role through the Query Tool -- so the attacker gains no capability beyond what their database role already grants them. The marginal impact accounts for the fact that the injection path is not the documented SQL-execution interface, so a deployment that gates the Query Tool at the application layer could see SQL executed through a path it did not anticipate.\n\nFix passes the restore point name as a bound parameter and schema-qualifies the function call as pg_catalog.pg_create_restore_point so a non-default search_path on the connection cannot redirect the call to a shadow definition. A regression test asserts the value arrives as a bound parameter and not spliced into the SQL string.\n\nThis issue affects pgAdmin 4: from 1.0 before 9.16.","affected":[{"untrusted_vendor":"pgadmin.org","untrusted_product":"pgAdmin 4","versions":[]}],"references":[{"url":"https://github.com/pgadmin-org/pgadmin4/commit/3379c39865d3ab6f52afce97361fb16bcdd77cd2","tags":["Patch"]},{"url":"https://github.com/pgadmin-org/pgadmin4/issues/10026","tags":["Issue Tracking","Patch"]}]},"bulletins":[{"source":"suse","id":"openSUSE-SU-2026:11508-1","url":"https://www.suse.com/support/update/","published":"2026-08-13T00:00:00+00:00","severity":"critical","exploited":false,"untrusted":{"title":"pgadmin4-9.17-1.1 on GA media"}}]}