{"id":"CVE-2026-49342","aliases":["GHSA-pxcc-8665-phx8"],"url":"https://o3.security/vulnerability/CVE-2026-49342","summary":"YARD static cache reads raw traversal paths before router sanitization","details":"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.","published":"2026-06-19T19:13:59.598Z","modified":"2026-08-07T11:51:14.248568586Z","cvss":{"score":5.3,"severity":"MEDIUM","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N"},"epss":null,"cisaKev":null,"exploitsKnown":0,"affectedPackages":[{"ecosystem":"RubyGems","name":"yard","fixedVersion":"0.9.44"}],"fix":{"url":"https://github.com/lsegal/yard/commit/f78c19f0dd33a407085b4ed181bb60c0aa0078b4","label":"lsegal/yard@f78c19f"},"references":[{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/49xxx/CVE-2026-49342.json"},{"type":"ADVISORY","url":"https://github.com/lsegal/yard/security/advisories/GHSA-pxcc-8665-phx8"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-49342"},{"type":"FIX","url":"https://github.com/lsegal/yard/commit/f78c19f0dd33a407085b4ed181bb60c0aa0078b4"}],"provenance":{"sources":["OSV.dev","FIRST.org (EPSS)"],"lastVerified":"2026-08-07T11:51:14.248568586Z"}}