yard Known Vulnerabilities & Fixes
yard has 5 known security vulnerabilities in RubyGems (Ruby). Upgrade to version 0.9.44 or later to resolve all known issues. Data sourced from OSV, enriched with EPSS exploit probability and CISA KEV.
Low Immediate Risk
No actively exploited vulnerabilities detected. Monitor and update in your next maintenance window.
Recommended safe version: 0.9.44
Upgrading to 0.9.44 or later resolves all 5 known vulnerabilities in yard. Run: gem install yard -v 0.9.44
Is yard in your project?
Check if you're affected and upgrade to 0.9.44 to stay secure.
Security Summary
- 5 affected version ranges have been identified across these 5 advisories.
- 100% of known issues have a published fixed version.
- Remediation: gem update yard
Vulnerabilities
5 unique vulnerabilities — sorted by exploitation risk (KEV → EPSS → CVSS). Click a CVE/GHSA ID for full details. First disclosed Dec 21, 2017, most recently Jun 26, 2026 (3110 days apart).
| CVE / GHSA | Severity | Affected | Fixed In |
|---|---|---|---|
| CVE-2017-17042 Arbitrary file read vulnerability in yard server | HIGH | 0.2.0, 0.2.1, 0.2.2, 0.2.3 (+61 more) | 0.9.11 |
| CVE-2019-1020001 Path Traversal vulnerability that affects yard | HIGH | 0.2.0, 0.2.1, 0.2.2, 0.2.3 (+70 more) | 0.9.20 |
| CVE-2024-27285 YARD's default template vulnerable to Cross-site Scripting in generated frames.html | MEDIUM | 0.2.0, 0.2.1, 0.2.2, 0.2.3 (+86 more) | 0.9.36 |
| CVE-2026-49342 YARD static cache reads raw traversal paths before router sanitization | MEDIUM | 0.2.0, 0.2.1, 0.2.2, 0.2.3 (+94 more) | 0.9.44 |
| CVE-2026-41493 yard: Possible arbitrary path traversal and file access via yard server | MEDIUM | 0.2.0, 0.2.1, 0.2.2, 0.2.3 (+92 more) | 0.9.42 |
About This Data
Vulnerability data for yard is sourced from the Open Source Vulnerability (OSV) database, aggregating reports from GitHub Advisory Database, NIST NVD, and ecosystem-specific sources.
CVSS (Common Vulnerability Scoring System) scores reflect exploitability and impact. EPSS (Exploit Prediction Scoring System) scores indicate the probability of exploitation within the next 30 days. Vulnerabilities marked with are listed in the CISA Known Exploited Vulnerabilities (KEV) catalog.
Related RubyGems (Ruby) Packages
Other packages in this ecosystem, ranked by shared vulnerabilities where available.
Check Your Dependencies
Scan your project to check if you're using a vulnerable version of yard.