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.

Severity (CVSS 4.0)6.9Medium
Exploit odds (30 days)0.4%top 66.9% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known

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

EcosystemPackageFixed inAdvisory
Debian:12yardno fix listedDEBIAN-CVE-2026-41493
Debian:13yardno fix listedDEBIAN-CVE-2026-41493
Debian:14yardno fix listedDEBIAN-CVE-2026-41493
RubyGemsyard0.9.42GHSA-3jfp-46x4-xgfj
Ubuntu:25.10yardno fix listedUBUNTU-CVE-2026-41493
Ubuntu:26.10yardno fix listedUBUNTU-CVE-2026-41493

Affected products (as reported)

VendorProductVersions
lsegal yard < 0.9.42

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