CVE-2026-49342

NameCVE-2026-49342
DescriptionYARD 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.
SourceCVE (at NVD; CERT, ENISA, LWN, oss-sec, fulldisc, Debian ELTS, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more)

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
yard (PTS)bullseye (security), bullseye0.9.24-1+deb11u1vulnerable
bookworm, bookworm (security)0.9.28-2+deb12u2vulnerable
trixie0.9.37-1vulnerable
forky0.9.39-1vulnerable
sid0.9.44-1fixed

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
yardsource(unstable)0.9.44-1

Notes

https://github.com/lsegal/yard/security/advisories/GHSA-pxcc-8665-phx8
https://github.com/lsegal/yard/commit/f78c19f0dd33a407085b4ed181bb60c0aa0078b4 (v0.9.44)

Search for package or bug name: Reporting problems