Skip to content
VulniPulse
High7.2Red Hat Linux

CVE-2026-120153: Red Hat arbitrary code execution via SQL injection in extension-script substitutions

This Red Hat advisory covers CVE-2026-120153. Related products: Red Hat Hardened Images.

Open the Red Hat advisory

Key facts

Vendor rating
High, CVSS 7.2
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H · base score 7.2, scored by PostgreSQLAttack vector: network. Attack complexity: low. Privileges required: high. User interaction: none. Scope: unchanged. Confidentiality impact: high. Integrity impact: high. Availability impact: high.
Weakness
  • CWE-89 Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')
EPSS
0.55% chance of exploitation in the next 30 days (46th percentile). FIRST EPSS, .
CISA SSVC
Exploitation: none observed. Automatable: no. Technical impact: total. CISA, .
CISA KEV
Not listed (catalogue checked )
Fixed in
postgresql18-main-18.7-0.1.hum1, libpq-main-18.7-0.1.hum1, postgresql17-main-17.12-0.1.hum1 and 1 more below
Source published
Listed by VulniPulse
Record changed

Compiled by VulniPulse from the linked sources. How records are collected and checked.

Related products & platforms

Red Hat LinuxUnclassified

Description

arbitrary code execution via SQL injection in extension-script substitutions. Red Hat rates this important (CVSS 7.2).

Weakness: CWE-89. Red Hat lists fixing advisory RHSA-2026:100114 with package postgresql18-main-18.7-0.1.hum1, libpq-main-18.7-0.1.hum1, postgresql17-main-17.12-0.1.hum1.

Affected product named by the advisory: Red Hat Hardened Images.

Text from the source record.

How to fix CVE-2026-120153

Upgrade to a fixed release named by Red Hat:

  • postgresql18-main-18.7-0.1.hum1
  • libpq-main-18.7-0.1.hum1
  • postgresql17-main-17.12-0.1.hum1
  • RHSA-2026:100114

Vendor guidance

  • Revoke database-level CREATE privileges from untrusted users, avoid installing non-bundled third-party extensions, and restrict PostgreSQL network connectivity to trusted management networks. 1. Revoke database creation permissions using SQL: REVOKE CREATE ON DATABASE <database_name> FROM <username>; 2. Restrict PostgreSQL network access to trusted sources using firewalld: firewall-cmd --permanent --zone=public --remove-service=postgresql firewall-cmd --permanent --zone=trusted --add-source=<trusted_ip_or_subnet> firewall-cmd --reload Caveats: Revoking CREATE rights prevents affected database users from creating new schemas or database objects, which may break applications that rely on dynamic object creation. Limiting firewall access prevents incoming database connections from unauthorized networks. Warning: Modifying firewall settings requires a reload using `firewall-cmd --reload`. If modifying access controls within `pg_hba.conf` or `postgresql.conf`, execute `systemctl reload postgresql` to apply changes without restarting the daemon or terminating active client connections.

All Red Hat Linux advisories

Get an email when Red Hat publishes the next one.

See Red Hat's last 90 days first. Live alerts for one product are free for life; every vendor is US$15 a month after a free month.

Alert me about Red Hat