{"id":"CVE-2026-49342","published":"2026-06-19T19:13:59Z","modified":"2026-06-22T17:14:14Z","title":"YARD static cache reads raw traversal paths before router sanitization","vendor":"lsegal","product":"yard","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":5.3,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00332,"percentile":0.27048,"provenance":"source"},"cwes":[{"id":"CWE-22","name":"Improper Limitation of a Pathname to a Restricted Directory"}],"references":[{"url":"https://github.com/lsegal/yard/security/advisories/GHSA-pxcc-8665-phx8","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/lsegal/yard/commit/f78c19f0dd33a407085b4ed181bb60c0aa0078b4","tags":["x_refsource_MISC"]}],"priority":{"score":9.1,"factors":[{"name":"EPSS percentile","points":5.41},{"name":"CVSS severity","points":3.71}]},"vendorSlug":"lsegal","affectedVersions":[{"vendor":"lsegal","product":"yard","versions":["< 0.9.44"]}],"ssvc":{"exploitation":"poc","automatable":"yes","technicalImpact":"partial","timestamp":"2026-06-22T17:13:12.964584Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"RubyGems","package":"yard","vulnerableRanges":["<0.9.44"],"patched":["0.9.44"],"from":["GHSA-pxcc-8665-phx8"],"provenance":"source"}],"summary":{"text":"The YARD documentation generation tool for Ruby has a path traversal flaw in its static cache lookup, which reads the request path before the router's path cleanup runs. An unauthenticated remote attacker can send a traversal path such as /../yard-cache-secret.html to a server configured with a document root and read a sibling .html file outside the intended static tree, with no user interaction needed.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T22:01:37Z"},"euvd":{"id":"EUVD-2026-38069","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-lsegal-yard-cve-2026-41493","packageHistory":[{"cve":"CVE-2019-1020001","published":"2019-07-29","fixed":"0.9.20","kev":false},{"cve":"CVE-2024-27285","published":"2024-02-28","fixed":"0.9.36","kev":false},{"cve":"CVE-2026-41493","published":"2026-05-08","fixed":"0.9.42","kev":false,"link":{"from":"CVE-2026-41493","to":"CVE-2026-49342","relation":"successor","confidence":"medium","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"RubyGems:yard","fromFixed":"0.9.42","toFixed":"0.9.44","daysApart":42},{"kind":"similar","provenance":"machine","score":0.56,"basis":"same product + CWE + description similarity"}]}},{"cve":"CVE-2026-49342","published":"2026-06-19","fixed":"0.9.44","kev":false}],"package":"RubyGems:yard"}}