Search covers the description text, product and vendor names and weakness types (also partial words).

CVE-2026-12050
pgadmin pgadmin 4

Score5.3 Medium
CVSS 4.0
Exploit probability (EPSS)0.43%
within the next 30 days
CategorySQL & query injection
Published19 June 2026
Last modified: 25 October 2026

In short

This vulnerability can be exploited remotely over the network, with a regular user account, without any user interaction.

Impact is limited: modifying data.

Weakness type: SQL injection.

✨ AI commentary

After a short ad, a plain-language commentary on this vulnerability is shown. AI can make mistakes; base decisions on the official sources.

Official description

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. The 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. Fix 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. This issue affects pgAdmin 4: from 1.0 before 9.16.

CVSS: 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

Weakness: CWE-89 – SQL injection

Affected products

VendorProductVersions
pgadminpgadmin 4>=1.0 <9.16

Sources

Latest in the same category

  • CVE-2026-137097 Not scored
    Net::WoRMS versions before 1.901 for Perl allow SQL injection via SOAP response fields in the SQL output of printRecord. Net::WoRMS is a tool for querying the World Register of Marine Species (WoRMS). The SQL output…
    SQL & query injection · 30 November 2026
  • CVE-2026-139990 High 8.7
    GLPI 11.0.0 before 11.0.9 contains an unauthenticated sql injection vulnerability in the planning availability check via the begin and end parameters. Attackers can send genical and checkavailability parameters to…
    SQL & query injection · 30 November 2026
  • CVE-2023-54424 High 8.7
    JIESHUN JieLink+ Intelligent Terminal Operation Platform contains a SQL injection vulnerability that allows unauthenticated attackers to execute arbitrary SQL queries through the deviceId parameter of the…
    SQL & query injection · 30 November 2026
  • CVE-2026-120705 High 8.6KEV
    GeoServer is an open source server that allows users to share and edit geospatial data. Prior to "org.geoserver:gs-wfs-core" versions 2.27.7, 2.28.6, and 3.0.2 and prior to "org.geotools:gt-metadata" versions 33.7,…
    osgeo geoserver · SQL & query injection · 30 November 2026
  • CVE-2026-139882 High 7.1
    OS4ED openSIS Classic through 9.3 contains an sql injection vulnerability in api/StudentEnrollmentInfo.php and api/StaffInfo.php via the unquoted sch_year parameter. Attackers holding any valid API key and secret can…
    SQL & query injection · 30 November 2026
  • CVE-2026-139877 Critical 9.1
    mysql2 before 3.25.0 contains an sql injection vulnerability in Connection.format() and Connection.escape() because quotes are always backslash-escaped regardless of session SQL mode. When NO_BACKSLASH_ESCAPES is…
    SQL & query injection · 30 November 2026