Algorithmic Complexity Affecting code-server package, versions <4.124.2-r0


Severity

Recommended
low

Based on default assessment until relevant scores are available.

Threat Intelligence

EPSS
0.26% (18th 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-WOLFILATEST-CODESERVER-17347607
  • published16 Jun 2026
  • disclosed22 Jun 2026

Introduced: 16 Jun 2026

NewCVE-2026-53550  (opens in a new tab)
CWE-407  (opens in a new tab)

How to fix?

Upgrade Wolfi code-server to version 4.124.2-r0 or higher.

NVD Description

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

js-yaml is a JavaScript YAML parser and dumper. Prior to 4.2.0, a crafted YAML document can trigger algorithmic CPU exhaustion in js-yaml merge-key processing (<<) by repeating the same alias many times in a merge sequence. This causes quadratic parse-time behavior relative to input size and can block a Node.js worker/event loop for seconds with a relatively small payload (tens of KB), resulting in denial of service. The issue is in merge handling inside lib/loader.js. This vulnerability is fixed in 4.2.0.

CVSS Base Scores

version 3.1