CRLF Injection Affecting postgresql package, versions [11.20,13.22)[14.0,14.19)[15.0,15.14)[16.0,16.10)[17.0,17.6)


Severity

Recommended
0.0
high
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.05% (17th 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 Learn

Learn about CRLF Injection vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-UNMANAGED-POSTGRESQL-12978221
  • published22 Sept 2025
  • disclosed14 Aug 2025
  • creditNoah Misch

Introduced: 14 Aug 2025

CVE-2025-8715  (opens in a new tab)
CWE-93  (opens in a new tab)

How to fix?

Upgrade postgresql to version 13.22, 14.19, 15.14, 16.10, 17.6 or higher.

Overview

Affected versions of this package are vulnerable to CRLF Injection in the restore process via psql meta-commands inside a purpose-crafted object name. An attacker can execute arbitrary code by injecting meta commands into the file, which can be executed by an unknowing user during the restoration procedure.

CVSS Base Scores

version 4.0
version 3.1