Improper Encoding or Escaping of Output Affecting cloudnative-pg package, versions <1.29.0-r8


Severity

Recommended
low

Based on default assessment until relevant scores are available.

Threat Intelligence

EPSS
0.37% (29th 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-CHAINGUARDLATEST-CLOUDNATIVEPG-16658711
  • published14 May 2026
  • disclosed7 May 2026

Introduced: 7 May 2026

CVE-2026-39826  (opens in a new tab)
CWE-116  (opens in a new tab)

How to fix?

Upgrade Chainguard cloudnative-pg to version 1.29.0-r8 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream cloudnative-pg package and not the cloudnative-pg package as distributed by Chainguard. See How to fix? for Chainguard relevant fixed versions and status.

If a trusted template author were to write a <script> tag containing an empty 'type' attribute or a 'type' attribute with an ASCII whitespace, the execution of the template would incorrectly escape any data passed into the <script> block.

CVSS Base Scores

version 3.1