CVE-2026-41493 Details
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.
A path traversal vulnerability has been identified in YARD, a Ruby documentation tool, in versions prior to 0.9.42. When using the YARD server to serve documentation, this vulnerability allows unsanitized HTTP requests to access arbitrary files on the host machine under certain conditions. The issue has been patched in version 0.9.42.
Users are advised to upgrade to YARD version 0.9.42. For those unable to upgrade, it is possible to sanitize HTTP requests at the web server level. WEBrick can perform this sanitization by default, which can be accessed via 'yard server -s webrick', or through certain rules in the web server configuration.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed May 8, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/lsegal/yard/releases/tag/v0.9.42 | [email protected] | ProductRelease Notes |
| https://github.com/lsegal/yard/security/advisories/GHSA-3jfp-46x4-xgfj | [email protected] | MitigationVendor Advisory |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-22 | Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| yardoc yard | < 0.9.42 |
CPE
Remediation
| |
Change History
5 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Oct 26, 2026 | CVE Translated | [email protected] |
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| May 12, 2026 | Initial Analysis | [email protected] |
| May 8, 2026 | New CVE Received | [email protected] |