SQL Injection Affecting postgresql:15/postgresql-test-rpm-macros package, versions <0:15.19-1.module+el9.6.0+24906+1a0a7a43


Severity

Recommended
0.0
high
0
10

Based on Red Hat Enterprise Linux security rating.

Threat Intelligence

EPSS
0.47% (38th 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-20761108
  • published10 Oct 2026
  • disclosed13 Aug 2026

Introduced: 13 Aug 2026

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

How to fix?

Upgrade RHEL:9 postgresql:15/postgresql-test-rpm-macros to version 0:15.19-1.module+el9.6.0+24906+1a0a7a43 or higher.
This issue was patched in RHSA-2026:69698.

NVD Description

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

SQL injection in PostgreSQL EXTRACT() deparse allows an object owner to execute arbitrary SQL as a superuser via a hostile object definition. Attacks affect expression deparse consumers broadly, including pg_dump, psql commands like \sf, and any similar usage in non-core tools. Versions before PostgreSQL 18.6, 17.11, 16.15, 15.19, and 14.24 are affected.

CVSS Base Scores

version 3.1