CVE-2026-41493
published medium CVSS 4.0 · 6.9yard: Possible arbitrary path traversal and file access via yard server
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| lsegal | — | yard< 0.9.42 | Affected | Not stated | GitHub_M |
| Ubuntu | bionic | yard | Advisory build | 0.9.12-2ubuntu0.1~esm2 | USN-8394-1 |
| Ubuntu | focal | yard | Advisory build | 0.9.24-1+deb11u1ubuntu0.1~esm1 | USN-8394-1 |
| Ubuntu | jammy | yard | Advisory build | 0.9.26-1ubuntu0.1+esm1 | USN-8394-1 |
| Ubuntu | noble | yard | Advisory build | 0.9.36-1ubuntu0.1~esm1 | USN-8394-1 |
| Ubuntu | resolute | yard | Advisory build | 0.9.38-1ubuntu0.1~esm1 | USN-8394-1 |
| Ubuntu | xenial | yard | Advisory build | 0.8.7.6+git20160220-3ubuntu0.1~esm2 | USN-8394-1 |
Description
YARD is a Ruby Documentation tool. Prior to version 0.9.42, a path traversal vulnerability was discovered in YARD when using yard server to serve documentation. This bug would allow unsanitized HTTP requests to access arbitrary files on the machine of a yard server host under certain conditions. This issue has been patched in version 0.9.42.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 4.0
- Base score
- 6.9 / 10
- Severity
- medium
- Provider
- GitHub_M · cna
- Vector string
- CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| lsegal | yard | < 0.9.42 (affected) | GitHub_M · cna |
Weaknesses
1- CWE-22 CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')
References
2Provider assertions
2GitHub_M · cna
yard: Possible arbitrary path traversal and file access via yard server
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 566061d0e14e378dae605767ced0ed0d532373061b5dbd0426f1301a23979f00
- Ingested
- 23 Sep 2026, 09:13:40 UTC
- Source record
- Official CVE record