Vulnerability · Published May 8, 2026 · Assigned by GitHub_M
CVE-2026-41493yard: Possible arbitrary path traversal and file access via yard server
Medium 6.9
In plain English
A medium-severity path traversal in yard from lsegal. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.4% (higher than 33% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official 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 packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian:12 | yard | no fix listed | DEBIAN-CVE-2026-41493 |
| Debian:13 | yard | no fix listed | DEBIAN-CVE-2026-41493 |
| Debian:14 | yard | no fix listed | DEBIAN-CVE-2026-41493 |
| RubyGems | yard | 0.9.42 | GHSA-3jfp-46x4-xgfj |
| Ubuntu:25.10 | yard | no fix listed | UBUNTU-CVE-2026-41493 |
| Ubuntu:26.10 | yard | no fix listed | UBUNTU-CVE-2026-41493 |
Affected products (as reported)
Weakness: CWE-22 · 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
References
- https://github.com/lsegal/yard/security/advisories/GHSA-3jfp-46x4-xgfj x_refsource_CONFIRM
- https://github.com/lsegal/yard/releases/tag/v0.9.42 x_refsource_MISC