Skip to content
OpenAdvisories
Medium · 5.3 CVE-2026-49342 EUVD-2026-38069GHSA-pxcc-8665-phx8

YARD static cache reads raw traversal paths before router sanitization

Published Jun 19, 2026 · Updated Jun 22, 2026 · Assigned by GitHub_M

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.

Affected products

VendorProductAffectedFixed
lsegal yard < 0.9.44 —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 yard 0.9.44-1 —
Debian 13 yard No fix yet —
Debian 12 yard No fix yet —
ReleasePackageFixed inAdvisory
Ubuntu 26.10 yard No fix yet —
Ubuntu 25.10 yard No fix yet —
Show 6 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Ubuntu Pro 26.04 LTS yard No fix yet —
Ubuntu Pro 24.04 LTS yard No fix yet —
Ubuntu Pro 22.04 LTS yard No fix yet —
Ubuntu Pro 20.04 LTS yard No fix yet —
Ubuntu Pro 18.04 LTS yard No fix yet —
Ubuntu Pro 16.04 LTS yard No fix yet —

Affected packages

EcosystemPackageAffectedFixedRecord
RubyGems yard < 0.9.44 0.9.44 GHSA-pxcc-8665-phx8

References