CVE-2026-41493
YARD is a Ruby Documentation tool. Prior to version 0.9.42, a path …
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.
What to do now
- Check your exposureFind out whether the affected software runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Set the orderSystems that can be reached from the internet come first, then the rest.
References
- github.com/lsegal/yard/security/advisories/GHSA-3jfp-46x4-xgfj
- github.com/advisories/GHSA-3jfp-46x4-xgfj
- github.com/lsegal/yard/releases/tag/v0.9.42
- nvd.nist.gov/vuln/detail/CVE-2026-41493
- github.com/rubysec/ruby-advisory-db/blob/master/gems/yard/CVE-2026-41493.yml
- nvd.nist.gov/vuln/detail/CVE-2026-41493
- cve.org/CVERecord?id=CVE-2026-41493
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.