CVE-2026-49342 — Vulnerability in yard — CVE Details
YARD static cache reads raw traversal paths before router sanitization
Summary
Advisory Timeline
- First published June 26, 2026 (107 days ago).
- Last revised June 26, 2026 — 0 days after initial publication.
Remediation
Upgrade to the fixed version using your package manager.
gem install yard -v 0.9.44
After upgrading, run your dependency scanner again to confirm the vulnerability is resolved.
Affected Packages (1)
Affects 1 ecosystem: rubygems (1).
| Package | Ecosystem | Affected | Fixed In |
|---|---|---|---|
| yard | rubygems | 0.2.0, 0.2.1, 0.2.2, 0.2.3 (+94 more) | 0.9.44 |
Vulnerability Classification
Common Weakness Enumeration (CWE) identifiers for this vulnerability type.
- CWE-22Path TraversalMITRE
CVSS Score Breakdown
What the CVSS (Common Vulnerability Scoring System) 5.3 score means for each attack dimension.
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
References
Frequently Asked Questions
- What is CVE-2026-49342?
- YARD static cache reads raw traversal paths before router sanitization This vulnerability has been assigned a severity rating of MEDIUM (CVSS score: 5.3/10).
- How do I check if my project is affected by CVE-2026-49342?
- CVE-2026-49342 affects yard. Use GeekWala's free vulnerability scanner to check your dependencies against CVE-2026-49342 and 200,000+ other known vulnerabilities.
Severity & Exploitability
Exploitation requires specific conditions or has limited impact. Remediate within weeks.
Also Known As
Related CVEs
- CVE-2017-17042HIGH
Arbitrary file read vulnerability in yard server
- CVE-2019-1020001HIGH
Path Traversal vulnerability that affects yard
- CVE-2026-107715MEDIUM
Mechanize sends credential headers to another host after an HTTP redirect
- CVE-2026-41493MEDIUM
yard: Possible arbitrary path traversal and file access via yard server
- CVE-2024-27285MEDIUM
YARD's default template vulnerable to Cross-site Scripting in generated frames.html
- CVE-2026-107399MEDIUM
Mechanize sends credential headers to another origin after a meta refresh
Check if you're affected
Scan your dependencies to see if this vulnerability affects your projects.
Scan Your Dependencies