| Name | CVE-2026-49342 |
| Description | 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. |
| Source | CVE (at NVD; CERT, ENISA, LWN, oss-sec, fulldisc, Debian ELTS, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more) |
The table below lists information on source packages.
| Source Package | Release | Version | Status |
|---|---|---|---|
| yard (PTS) | bullseye (security), bullseye | 0.9.24-1+deb11u1 | vulnerable |
| bookworm, bookworm (security) | 0.9.28-2+deb12u2 | vulnerable | |
| trixie | 0.9.37-1 | vulnerable | |
| forky, sid | 0.9.45-1 | fixed |
The information below is based on the following data on fixed versions.
| Package | Type | Release | Fixed Version | Urgency | Origin | Debian Bugs |
|---|---|---|---|---|---|---|
| yard | source | (unstable) | 0.9.44-1 |
[trixie] - yard <no-dsa> (Minor issue)
[bookworm] - yard <postponed> (Minor issue; static-cache traversal only reachable when yard server is run with --docroot)
[bullseye] - yard <postponed> (Minor issue; static-cache traversal only reachable when yard server is run with --docroot)
https://github.com/lsegal/yard/security/advisories/GHSA-pxcc-8665-phx8
https://github.com/lsegal/yard/commit/f78c19f0dd33a407085b4ed181bb60c0aa0078b4 (v0.9.44)