High severity · published May 8, 2026
CVE-2026-41493
yard: Possible arbitrary path traversal and file access via yard server
7.5
CVSS
0.4%
EPSS
No
On KEV
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.
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
Attack vector
Network
Complexity
Low
Privileges
None
User interaction
None
Confidentiality
High
Integrity
None
Availability
None
Scope
Unchanged
Exploitation
Is it being used?
Exploit prediction (EPSS)0.4% · higher than 33% of CVEs
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
YA
yard · lsegal
< 0.9.42 · source: vendor, NVD
References
NVD
https://nvd.nist.gov/vuln/detail/CVE-2026-41493
CVE.org
https://www.cve.org/CVERecord?id=CVE-2026-41493
Product
https://github.com/lsegal/yard/releases/tag/v0.9.42
Mitigation
https://github.com/lsegal/yard/security/advisories/GHSA-3jfp-46x4-xgfj
More from yard
5.3
CVE-2026-49342
YARD static cache reads raw traversal paths before router sanitization
