Path Traversal in Lsegal Yard
CVE-2026-41493
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.
Vulnerability class: Path Traversal (Directory Traversal)
Published · last modified .
CVSS v3 metric
CVSS v3 base score 7.5 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N.
EPSS exploit prediction
EPSS 0.004, 33.4th percentile (last changed ); unchanged over 30 days. About EPSS.
Affected products
- Lsegal Yard — versions < 0.9.42
- Yardoc Yard
Weakness classification (CWE)
References
- https://github.com/lsegal/yard/security/advisories/GHSA-3jfp-46x4-xgfj (Mitigation, Vendor Advisory)
- https://github.com/lsegal/yard/releases/tag/v0.9.42 (Product, Release Notes)