ADVISORIES

openEuler Security Advisory

OESA-2026-2852

rubygem-yard security update

Details

YARD is a documentation generation tool for the Ruby programming language. It enables the user to generate consistent, usable documentation that can be exported to a number of formats very easily, and also supports extending for custom Ruby constructs such as custom class level definitions.

Security Fix(es):

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.(CVE-2026-49342)

Affected packages

EcosystemPackageAffected versions
openEuler:24.03-LTS-SP3rubygem-yard
All versions before 0.9.34-4.oe2403sp3 (fixed in 0.9.34-4.oe2403sp3)

References