SQL Injection Affecting postgresql:16/postgresql-plpython3 package, versions <0:16.14-1.module+el8.10.0+24339+d919fb58


Severity

Recommended
high

Based on Red Hat Enterprise Linux security rating.

Threat Intelligence

Social Trends
EPSS
0.18% (8th 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-RHEL8-POSTGRESQL-17981630
  • published17 Jul 2026
  • disclosed14 May 2026

Introduced: 14 May 2026

CVE-2026-6638  (opens in a new tab)
CWE-89  (opens in a new tab)

How to fix?

Upgrade RHEL:8 postgresql:16/postgresql-plpython3 to version 0:16.14-1.module+el8.10.0+24339+d919fb58 or higher.
This issue was patched in RHSA-2026:28143.

NVD Description

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

SQL injection in PostgreSQL logical replication ALTER SUBSCRIPTION ... REFRESH PUBLICATION allows a subscriber table creator to execute arbitrary SQL with the subscription's publication-side credentials. The attack takes effect at the next REFRESH PUBLICATION. Within major versions 16, 17, and 18, minor versions before PostgreSQL 18.4, 17.10, and 16.14 are affected. Versions before PostgreSQL 16 are unaffected.

CVSS Base Scores

version 3.1