CVE-2026-120153 Affecting postgresql-plpython3 package, versions <0:18.7-1.module+el9.9.0+40509+3a153c5a


Severity

Recommended
high

Based on Rocky Linux security rating.

Threat Intelligence

EPSS
0.44% (39th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-ROCKY9-POSTGRESQLPLPYTHON3-23184195
  • published1 Dec 2026
  • disclosed12 Nov 2026

Introduced: 12 Nov 2026

NewCVE-2026-120153  (opens in a new tab)

How to fix?

Upgrade Rocky-Linux:9 postgresql-plpython3 to version 0:18.7-1.module+el9.9.0+40509+3a153c5a or higher.
This issue was patched in RLSA-2026:104854.

NVD Description

Note: Versions mentioned in the description apply only to the upstream postgresql-plpython3 package and not the postgresql-plpython3 package as distributed by Rocky-Linux. See How to fix? for Rocky-Linux:9 relevant fixed versions and status.

SQL injection in PostgreSQL extension-script substitutions allows an attacker with database-level CREATE privilege to execute arbitrary code as the bootstrap superuser, via a schema or owner name containing newlines or other special substrings. This is similar to CVE-2023-39417, but it requires a non-bundled extension with a vulnerable script pattern. Versions before PostgreSQL 18.7, 17.12, 16.16, 15.20, and 14.25 are affected.

CVSS Base Scores

version 3.1