{"id":"CVE-2026-41493","published":"2026-05-08T13:13:49Z","modified":"2026-05-08T21:27:41Z","title":"yard: Possible arbitrary path traversal and file access via yard server","vendor":"lsegal","product":"yard","tier":"tail","description":{"text":"YARD is a Ruby Documentation tool. Prior to version 0.9.42, a path traversal vulnerability was discovered in YARD when using yard server to serve documentation. This bug would allow unsanitized HTTP requests to access arbitrary files on the machine of a yard server host under certain conditions. This issue has been patched in version 0.9.42.","provenance":"source","from":"CVE.org"},"cvss":{"score":6.9,"severity":"MEDIUM","version":"4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00388,"percentile":0.33761,"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-3jfp-46x4-xgfj","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/lsegal/yard/releases/tag/v0.9.42","tags":["x_refsource_MISC"]}],"priority":{"score":11.6,"factors":[{"name":"EPSS percentile","points":6.75},{"name":"CVSS severity","points":4.83}]},"vendorSlug":"lsegal","affectedVersions":[{"vendor":"lsegal","product":"yard","versions":["< 0.9.42"]}],"ssvc":{"exploitation":"none","automatable":"yes","technicalImpact":"partial","timestamp":"2026-05-08T14:15:08.883899Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"RubyGems","package":"yard","vulnerableRanges":["<0.9.42"],"patched":["0.9.42"],"from":["GHSA-3jfp-46x4-xgfj"],"provenance":"source"}],"summary":{"text":"The flaw is a path traversal vulnerability in the yard server component of YARD, a Ruby documentation tool, where unsanitized HTTP requests are not properly restricted to the intended directory. An attacker with network access and no authentication or user interaction can send crafted HTTP requests to read arbitrary files on the host running yard server, though this depends on certain server configuration conditions.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:54:46Z"},"euvd":{"id":"EUVD-2026-28554","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-lsegal-yard-cve-2026-41493","packageHistory":[{"cve":"CVE-2017-17042","published":"2017-11-28","fixed":"0.9.11","kev":false},{"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},{"cve":"CVE-2026-49342","published":"2026-06-19","fixed":"0.9.44","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"}]}}],"package":"RubyGems:yard"}}