SQL Injection Affecting postgresql15-private-devel package, versions <0:15.20-1.amzn2023.0.1


Severity

Recommended
0.0
high
0
10

Based on Amazon Linux security rating.

Threat Intelligence

EPSS
0.44% (39th 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-POSTGRESQL15PRIVATEDEVEL-22628036
  • published20 Nov 2026
  • disclosed12 Nov 2026

Introduced: 12 Nov 2026

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

How to fix?

Upgrade Amazon-Linux:2023 postgresql15-private-devel to version 0:15.20-1.amzn2023.0.1 or higher.
This issue was patched in ALAS2023-2026-3487.

NVD Description

Note: Versions mentioned in the description apply only to the upstream postgresql15-private-devel package and not the postgresql15-private-devel package as distributed by Amazon-Linux. See How to fix? for Amazon-Linux:2023 relevant fixed versions and status.

SQL injection in PostgreSQL extension-script substitutions allows an attacker with database-level CREATE privilege to execute arbitrary code as the bootstrap superuser, via a schema or owner name containing newlines or other special substrings. This is similar to CVE-2023-39417, but it requires a non-bundled extension with a vulnerable script pattern. Versions before PostgreSQL 18.7, 17.12, 16.16, 15.20, and 14.25 are affected.

CVSS Base Scores

version 3.1