CVE-2026-41493

yard: Possible arbitrary path traversal and file access via yard server

Published May 8, 2026 CVSS 4.0 · 6.9 Medium EPSS < 1% KEV · Not listed
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.

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Github GHSA Github GHSA GHSA-3jfp-46x4-xgfj yard: Possible arbitrary path traversal and file access via yard server
Ubuntu USN Ubuntu USN USN-8394-1 YARD vulnerability
History
Type Values Removed Values Added
First Time appeared Yardoc
Yardoc yard
CPEs cpe:2.3:a:yardoc:yard:*:*:*:*:*:*:*:*
Vendors & Products Yardoc
Yardoc yard
Metrics cvssV3_1

{'score': 7.5, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N'}

Type Values Removed Values Added
First Time appeared Lsegal
Lsegal yard
Vendors & Products Lsegal
Lsegal yard
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
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.
Title yard: Possible arbitrary path traversal and file access via yard server
Weaknesses CWE-22
References
Metrics cvssV4_0

{'score': 6.9, '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'}

Weaknesses

Sources

Status
PUBLISHED
Assigner
GitHub_M
Published
Updated
May 8, 2026, 9:27 PM
Reserved
Apr 20, 2026, 4:14 PM
Status
Analyzed
Published
May 8, 2026, 2:16 PM
Modified
Oct 26, 2026, 7:10 PM
Severity
Moderate
Public date
May 8, 2026, 1:13 PM