SQL Injection Affecting postgresql18 package, versions <0:18.4-1.el10_2


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-RHEL10-POSTGRESQL18-17997623
  • 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:10 postgresql18 to version 0:18.4-1.el10_2 or higher.
This issue was patched in RHSA-2026:27742.

NVD Description

Note: Versions mentioned in the description apply only to the upstream postgresql18 package and not the postgresql18 package as distributed by RHEL. See How to fix? for RHEL:10 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