# CVE-2026-41493: yard: Possible arbitrary path traversal and file access via yard server

- Severity: Medium 6.9 (CVSS:4.0, scored by GitHub_M) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.39%, higher than 35% of CVEs (2026-12-01)
- Published: 2026-04-17T22:21:03.000Z
- Modified: 2026-10-26T19:10:00.163Z
- Also known as: GHSA-3jfp-46x4-xgfj
- Weaknesses: CWE-22
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial
- Assigned by: GitHub_M

## 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.

(As written by CVE List.)

## Affected

- lsegal yard: < 0.9.42
- yard (RubyGems): before 0.9.42
- yardoc yard: before 0.9.42

## Every score

- GitHub_M: CVSS:4.0 6.9 Medium `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`
- GitHub: CVSS:4.0 Medium `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`
- NVD: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N`

## References

- <https://github.com/lsegal/yard/security/advisories/GHSA-3jfp-46x4-xgfj> (mitigation, vendor-advisory, web)
- <https://github.com/lsegal/yard/releases/tag/v0.9.42> (product, release-notes, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-41493> (advisory)
- <https://github.com/lsegal/yard> (package)
- <https://github.com/rubysec/ruby-advisory-db/blob/master/gems/yard/CVE-2026-41493.yml> (web)

## Sources

- CVE List: [CVE-2026-41493](https://www.cve.org/CVERecord?id=CVE-2026-41493), CVE Terms of Use, modified 2026-05-08
- GitHub Advisory Database: [GHSA-3jfp-46x4-xgfj](https://github.com/advisories/GHSA-3jfp-46x4-xgfj), CC-BY-4.0, modified 2026-06-09
- NVD: [CVE-2026-41493](https://nvd.nist.gov/vuln/detail/CVE-2026-41493), Public domain, modified 2026-10-26

---

Page: https://cve.day/CVE-2026-41493 · Whole record: https://cve.day/CVE-2026-41493.json · Rebuilt by cve.day 2026-11-25T22:59:20.969Z
