CVE-2026-49342
Published:June 19, 2026
Updated:June 29, 2026
YARD is a documentation generation tool for the Ruby programming language. Prior to version 0.9.44, YARD's static cache lookup reads a request path before the router's path cleanup runs. When a server is configured with a document root, a traversal path such as "/../yard-cache-secret.html" is joined against that root and can return a readable sibling ".html" file outside the intended static tree. Version 0.9.44 patches the issue.
Affected Packages
https://github.com/lsegal/yard.git (GITHUB):
Affected version(s) >=v0.1a <v0.9.44Fix Suggestion:
Update to version v0.9.44yard (RUBY):
Affected version(s) >=0.2.0 <0.9.44Fix Suggestion:
Update to version 0.9.44Related Resources (2)
Do you need more information?
Contact UsCVSS v4
Base Score:
6.9
Attack Vector
NETWORK
Attack Complexity
LOW
Attack Requirements
NONE
Privileges Required
NONE
User Interaction
NONE
Vulnerable System Confidentiality
LOW
Vulnerable System Integrity
NONE
Vulnerable System Availability
NONE
Subsequent System Confidentiality
NONE
Subsequent System Integrity
NONE
Subsequent System Availability
NONE
CVSS v3
Base Score:
5.3
Attack Vector
NETWORK
Attack Complexity
LOW
Privileges Required
NONE
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
LOW
Integrity
NONE
Availability
NONE
Weakness Type (CWE)
Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')
EPSS
Base Score:
0.27