CVE-2026-41493

HIGH

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

Title source: cna
STIX 2.1

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.

References (2)

Core 2
Core References
X_Refsource_Misc x_refsource_misc
https://github.com/lsegal/yard/releases/tag/v0.9.42

Scores

CVSS v3 7.5
EPSS 0.0009
EPSS Percentile 25.4%
Attack Vector NETWORK
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N

CISA SSVC

Vulnrichment
Exploitation none
Automatable yes
Technical Impact partial

Details

CWE
CWE-22
Status published
Products (3)
lsegal/yard < 0.9.42
rubygems/yard 0 - 0.9.42RubyGems
yardoc/yard < 0.9.42
Published May 08, 2026
Tracked Since May 08, 2026