Medium severity · published Jun 19, 2026
CVE-2026-49342
YARD static cache reads raw traversal paths before router sanitization
5.3
CVSS
0.3%
EPSS
No
On KEV
Description
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.
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
Attack vector
Network
Complexity
Low
Privileges
None
User interaction
None
Confidentiality
Low
Integrity
None
Availability
None
Scope
Unchanged
Exploitation
Is it being used?
Exploit prediction (EPSS)0.3% · higher than 26% of CVEs
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
YA
yard · lsegal
< 0.9.44 · source: vendor
Affected product
YA
yard
lsegal
More from yard
7.5
CVE-2026-41493
yard: Possible arbitrary path traversal and file access via yard server
6.1
CVE-2024-27285
YARD's default template vulnerable to Cross-site Scripting in generated frames.html