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.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| lsegal | yard | < 0.9.44 | — |
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | yard | 0.9.44-1 | — |
| Debian 13 | yard | No fix yet | — |
| Debian 12 | yard | No fix yet | — |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 26.10 | yard | No fix yet | — |
| Ubuntu 25.10 | yard | No fix yet | — |
Show 6 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu Pro 26.04 LTS | yard | No fix yet | — |
| Ubuntu Pro 24.04 LTS | yard | No fix yet | — |
| Ubuntu Pro 22.04 LTS | yard | No fix yet | — |
| Ubuntu Pro 20.04 LTS | yard | No fix yet | — |
| Ubuntu Pro 18.04 LTS | yard | No fix yet | — |
| Ubuntu Pro 16.04 LTS | yard | No fix yet | — |
Affected packages
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| RubyGems | yard | < 0.9.44 | 0.9.44 | GHSA-pxcc-8665-phx8 |