YARD static cache reads raw traversal paths before router sanitization
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- Low
- Impact type
- Information disclosure
- Confidentiality · integrity · availability
- Low · None · None
- Fix status
- Fixed
Attack profile from CVSS 3.1 · CNA. Fix status from CNA and GitHub. Impact type from CWE-22 and the CVSS impact.
Summary
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- Poc
- Automatable
- Yes
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| lsegal | yard | before 0.9.44 | 0.9.44 | Patch available | CNA |
| — | yard (RubyGems) | before 0.9.44 | 0.9.44 | Patch available | GHSA-pxcc-8665-phx8 |
- yard Vendorlsegal Affected before 0.9.44 Fixed in 0.9.44 Patch available CNA
- yard (RubyGems) Vendor— Affected before 0.9.44 Fixed in 0.9.44 Patch available GHSA-pxcc-8665-phx8
Remediation
- Fix · CNA yard (lsegal) Fixed in 0.9.44
- Fix · GHSA-pxcc-8665-phx8 yard (RubyGems) Fixed in 0.9.44 Advisory →
Vendor assessments
Red Hat
Red Hat rating: Moderate. Red Hat's page for this CVE →
Not affected: 2 products
- Red Hat 3scale API Management Platform 2
- Red Hat Hardened Images
Timeline
- 2026-10-02 Threatist record created from CVE-2026-49342
- 2026-10-03 Alias added: GHSA-pxcc-8665-phx8
References
Sources
- CVE-2026-49342 · CVE Program
- CVE-2026-49342 · NVD
- FIRST EPSS
- GHSA-pxcc-8665-phx8 · GitHub Advisory Database · CC BY 4.0
- CVE-2026-49342 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences