Path Traversal Vulnerability in YARD Documentation Tool by Ruby
CVE-2026-49342

5.3MEDIUM

Key Information:

Vendor

Lsegal

Status
Vendor
CVE Published:
19 June 2026

What is CVE-2026-49342?

The YARD documentation generation tool for Ruby has a vulnerable static cache lookup mechanism that makes it susceptible to path traversal attacks. Before version 0.9.44, an attacker could exploit this vulnerability by crafting a request that navigates outside of the intended document root. This could potentially allow unauthorized access to sensitive files, such as a readable sibling .html file located outside the specified static resource tree. The issue has been addressed in version 0.9.44, which implements necessary security measures to prevent such unauthorized access.

Affected Version(s)

yard < 0.9.44

References

CVSS V3.1

Score:
5.3
Severity:
MEDIUM
Confidentiality:
Low
Integrity:
None
Availability:
Low
Attack Vector:
Network
Attack Complexity:
Low
Privileges Required:
None
User Interaction:
None
Scope:
Unchanged

Timeline

  • Vulnerability published

  • Vulnerability Reserved

.