SQL Injection Affecting postgresql:18/postgresql-server package, versions <0:18.4-2.module+el9.8.0+24359+da7fad50


Severity

Recommended
0.0
high
0
10

Based on Red Hat Enterprise Linux security rating.

Threat Intelligence

EPSS
0.29% (21st 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-RHEL9-POSTGRESQL-17970822
  • published17 Jul 2026
  • disclosed14 May 2026

Introduced: 14 May 2026

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

How to fix?

Upgrade RHEL:9 postgresql:18/postgresql-server to version 0:18.4-2.module+el9.8.0+24359+da7fad50 or higher.
This issue was patched in RHSA-2026:26204.

NVD Description

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

SQL injection in PostgreSQL pg_createsubscriber allows an attacker with pg_create_subscription rights to execute arbitrary SQL as a superuser. The attack takes effect when pg_createsubscriber next runs. Within major versions 17 and 18, minor versions before PostgreSQL 18.4 and 17.10 are affected. Versions before PostgreSQL 17 are unaffected.

CVSS Base Scores

version 3.1