SQL Injection Affecting postgresql15-server package, versions <0:15.19-1.amzn2023.0.1


Severity

Recommended
0.0
high
0
10

Based on Amazon Linux security rating.

Threat Intelligence

EPSS
0.35% (28th 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-AMZN2023-POSTGRESQL15SERVER-19470087
  • published1 Sept 2026
  • disclosed13 Aug 2026

Introduced: 13 Aug 2026

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

How to fix?

Upgrade Amazon-Linux:2023 postgresql15-server to version 0:15.19-1.amzn2023.0.1 or higher.
This issue was patched in ALAS2023-2026-2077.

NVD Description

Note: Versions mentioned in the description apply only to the upstream postgresql15-server package and not the postgresql15-server package as distributed by Amazon-Linux. See How to fix? for Amazon-Linux:2023 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