CVE-2026-49342CWE-22

YARD static cache reads raw traversal paths before router sanitization

Medium · published June 19, 2026

CVSS v3.1
5.3
EPSS
0%
Percentile
33.4
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS v3.1
5.3 · MEDIUM
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
CVSS v4.0
Not supplied
EPSS
0.00403 · 33.4th percentile
Weakness
CWE-22 · Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')
Published
2026-06-19T19:13Z
EPSS history
Timeline
  • 19 JUN 19:13Z
    YARD static cache reads raw traversal paths before router sanitization
    cvelistv5