What’s Vulnerable › Vulnerabilities

CVE-2026-41493: yard: Possible arbitrary path traversal and file access via yard server

Description

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.

Affected products

How to fix

Upgrade to a fixed version: lsegal yard 0.9.42. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2026-41493 or the next vulnerability affects your stack