CVE-2026-5160 Affecting dagger package, versions <0.20.8-r14


Severity

Recommended
low

Based on default assessment until relevant scores are available.

Threat Intelligence

EPSS
0.29% (21st 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-DAGGER-18353282
  • published28 Jul 2026
  • disclosed15 Apr 2026

Introduced: 15 Apr 2026

CVE-2026-5160  (opens in a new tab)

How to fix?

Upgrade Chainguard dagger to version 0.20.8-r14 or higher.

NVD Description

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

Versions of the package github.com/yuin/goldmark/renderer/html before 1.7.17 are vulnerable to Cross-site Scripting (XSS) due to improper ordering of URL validation and normalization. The renderer validates link destinations using a prefix-based check (IsDangerousURL) before resolving HTML entities. This allows an attacker to bypass protocol filtering by encoding dangerous schemes using HTML5 named character references. For example, a payload such as javascript&colon;alert(1) is not recognized as dangerous during validation, leading to arbitrary script execution in the context of applications that render the URL.