Directory Traversal Affecting yard package, versions <0.9.44-1


Severity

Recommended
low

Based on default assessment until relevant scores are available.

Threat Intelligence

EPSS
0.4% (33rd 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-DEBIANUNSTABLE-YARD-17390735
  • published20 Jun 2026
  • disclosed19 Jun 2026

Introduced: 19 Jun 2026

CVE-2026-49342  (opens in a new tab)
CWE-22  (opens in a new tab)

How to fix?

Upgrade Debian:unstable yard to version 0.9.44-1 or higher.

NVD Description

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

YARD is a documentation generation tool for the Ruby programming language. Prior to version 0.9.44, YARD's static cache lookup reads a request path before the router's path cleanup runs. When a server is configured with a document root, a traversal path such as /../yard-cache-secret.html is joined against that root and can return a readable sibling .html file outside the intended static tree. Version 0.9.44 patches the issue.

CVSS Base Scores

version 3.1