ADVISORIES

Vulnerability

CVE-2026-49342

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.

5 advisories report this vulnerability, across 4 ecosystems.

Advisories in RubyGems

  • GHSA-pxcc-8665-phx8

    YARD static cache reads raw traversal paths before router sanitization

    Moderate CVE-2026-49342 RubyGems Updated 26 June 2026

References