{"cve":"CVE-2026-49342","nvd":{"published":"2026-06-19T20:16:18.377","modified":"2026-10-25T23:10:00.167","status":"Deferred","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.","cvss_v4":null,"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N","score":5.3},"cwes":["CWE-22"],"references":["https://github.com/lsegal/yard/commit/f78c19f0dd33a407085b4ed181bb60c0aa0078b4","https://github.com/lsegal/yard/security/advisories/GHSA-pxcc-8665-phx8","https://github.com/lsegal/yard/security/advisories/GHSA-pxcc-8665-phx8"],"products":[],"source":"nvd","synced_at":"2026-10-25T23:44:33.281319194+00:00"},"epss":{"cve":"CVE-2026-49342","score":0.00403,"percentile":0.34285,"date":"2026-10-25"},"kev":null,"osv":[{"id":"GHSA-pxcc-8665-phx8","url":"https://osv.dev/vulnerability/GHSA-pxcc-8665-phx8","summary":"YARD static cache reads raw traversal paths before router sanitization","modified":"2026-06-26T22:56:27.767407Z","packages":[{"ecosystem":"RubyGems","name":"yard","purl":"pkg:gem/yard","ranges":["<0.9.44"],"fixed":["0.9.44"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}