pgAdmin < 9.16 Multiple SQL Injections

high Nessus Plugin ID 322420

Synopsis

The pgAdmin instance installed on the remote host is affected by multiple SQL injection vulnerabilities.

Description

The version of pgAdmin installed on the remote host is prior to 9.16. It is, therefore, affected by multiple SQL injection vulnerabilities:

- Multiple SQL template sites across domain, domain-constraint, foreign-table, language, event-trigger, and view dialogs render user-supplied description/comment text inside a Jinja pattern via string interpolation instead of the qtLiteral escape filter. An authenticated user can break out of the string literal and execute arbitrary SQL as the connected database role.
(CVE-2026-12044)

- The restore_point endpoint passes the user-supplied restore-point name directly into a SQL query via str.format() instead of using a bound parameter. An authenticated user can inject arbitrary SQL that runs as the connected database role. (CVE-2026-12050)

Note that Nessus has not tested for these issues but has instead relied only on the application's self-reported version number.

Solution

Upgrade pgAdmin to version 9.16 or later.

See Also

https://github.com/pgadmin-org/pgadmin4/issues/10026

https://github.com/pgadmin-org/pgadmin4/issues/10078

http://www.nessus.org/u?58802d4b

Plugin Details

Severity: High

ID: 322420

File Name: pgadmin_CVE-2026-12044.nasl

Version: 1.2

Type: Local

Agent: windows, macosx, unix

Family: Databases

Published: 6/24/2026

Updated: 6/25/2026

Configuration: Enable thorough checks (optional)

Supported Sensors: Nessus Agent, Nessus

Risk Information

VPR

Risk Factor: High

Score: 7.4

CVSS v2

Risk Factor: High

Base Score: 9

Temporal Score: 6.7

Vector: CVSS2#AV:N/AC:L/Au:S/C:C/I:C/A:C

CVSS Score Source: CVE-2026-12044

CVSS v3

Risk Factor: High

Base Score: 8.8

Temporal Score: 7.7

Vector: CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Temporal Vector: CVSS:3.0/E:U/RL:O/RC:C

CVSS v4

Risk Factor: High

Base Score: 8.7

Threat Score: 6.3

Threat Vector: CVSS:4.0/E:U

Vector: CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N

Vulnerability Information

CPE: cpe:/a:postgresql:pgadmin_4

Required KB Items: installed_sw/PostgreSQL pgAdmin4

Exploit Ease: No known exploits are available

Patch Publication Date: 6/18/2026

Vulnerability Publication Date: 6/18/2026

Reference Information

CVE: CVE-2026-12044, CVE-2026-12050