
CVE catalog
CVE-2026-49342
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
- Severity
- Medium · CVSS 5.3
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N - Published
- Source
- [NVD] · [CVE record]
- EPSS
- 0.40% · Oct 25, 2026
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.
Vulnerable and fixed packages
Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.
| Distribution | Package | Release | Version | Status |
|---|---|---|---|---|
| Debian | yard | sid | 0.9.45-1 | fixed |
| Debian | yard | forky | 0.9.45-1 | fixed |
| Debian | yard | trixie | 0.9.37-1 | vulnerable |
| Debian | yard | bookworm | 0.9.28-2+deb12u2 | vulnerable |
| Debian | yard | bookworm-security | 0.9.28-2+deb12u2 | vulnerable |
| Cpe | yard | Not reported | Not reported | vulnerable |
Fixed-version evidence
| Distribution | Package | Type | Release | Fixed version | Urgency | Origin | Bugs |
|---|---|---|---|---|---|---|---|
| Debian | yard | source | sid | 0.9.44-1 | not yet assigned | Not reported | Not reported |
| Debian | yard | source | forky | 0.9.44-1 | not yet assigned | Not reported | Not reported |
| Debian | yard | source | trixie | (unfixed) | not yet assigned | Not reported | Not reported |
| Debian | yard | source | bookworm | (unfixed) | not yet assigned | Not reported | Not reported |
Notes
[trixie] yard: Minor issue [bookworm] yard: Minor issue; static-cache traversal only reachable when yard server is run with --docroot
OpenFactory catalog packages
[Debian 12 (Bookworm)]
- [yard]Affected
Details (4)
0.9.28-2+deb12u2· all · bookwormAffected
nvd · yard · debian · bookworm; nvd · yard · debian · 12
0.9.28-2+deb12u2· all · bookwormAffected
nvd · yard · debian · bookworm; nvd · yard · debian · 12
0.9.28-2+deb12u2· all · bookworm-securityAffected
nvd · yard · debian · bookworm; nvd · yard · debian · 12
0.9.28-2+deb12u2· all · bookworm-securityAffected
nvd · yard · debian · bookworm; nvd · yard · debian · 12
- [yard-doc]Affected
Source package: [yard]
Details (4)
0.9.28-2+deb12u2· all · bookwormAffected
nvd · yard · debian · bookworm; nvd · yard · debian · 12
0.9.28-2+deb12u2· all · bookwormAffected
nvd · yard · debian · bookworm; nvd · yard · debian · 12
0.9.28-2+deb12u2· all · bookworm-securityAffected
nvd · yard · debian · bookworm; nvd · yard · debian · 12
0.9.28-2+deb12u2· all · bookworm-securityAffected
nvd · yard · debian · bookworm; nvd · yard · debian · 12
[Debian 13 (Trixie)]
Observed:
References
- [https://github.com/lsegal/yard/commit/f78c19f0dd33a407085b4ed181bb60c0aa0078b4]
- [https://github.com/lsegal/yard/security/advisories/GHSA-pxcc-8665-phx8]
- [https://nvd.nist.gov/vuln/detail/CVE-2026-49342]
- [https://osv.dev/vulnerability/DEBIAN-CVE-2026-49342]
- [https://security-tracker.debian.org/tracker/CVE-2026-49342]
- [https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-49342.json]
[Debian Security Tracker] · [FIRST EPSS] · [National Vulnerability Database (NVD)] · [OSV Package Vulnerability Database] · [Red Hat security advisories and VEX]