# CVE-2026-49342: YARD static cache reads raw traversal paths before router sanitization

- Severity: Medium 5.3 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A: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.33%, higher than 28% of CVEs (2026-12-02)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-06-19T19:13:59.598Z
- Modified: 2026-10-25T23:10:00.167Z
- Also known as: GHSA-pxcc-8665-phx8
- Weaknesses: CWE-22
- SSVC (CISA-ADP): exploitation poc, automatable yes, technical impact partial
- Assigned by: GitHub_M

## Description

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.

(As written by CVE List.)

## Affected

- lsegal yard: < 0.9.44
- yard (RubyGems): before 0.9.44

## Every score

- GitHub_M: CVSS:3.1 5.3 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N`
- GitHub: CVSS:3.1 5.3 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N`

## References

- <https://github.com/lsegal/yard/security/advisories/GHSA-pxcc-8665-phx8> (exploit, web)
- <https://github.com/lsegal/yard/commit/f78c19f0dd33a407085b4ed181bb60c0aa0078b4> (web)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-49342> (advisory)
- <https://github.com/lsegal/yard> (package)

## Sources

- CVE List: [CVE-2026-49342](https://www.cve.org/CVERecord?id=CVE-2026-49342), CVE Terms of Use, modified 2026-06-22
- GitHub Advisory Database: [GHSA-pxcc-8665-phx8](https://github.com/advisories/GHSA-pxcc-8665-phx8), CC-BY-4.0, modified 2026-06-26
- NVD: [CVE-2026-49342](https://nvd.nist.gov/vuln/detail/CVE-2026-49342), Public domain, modified 2026-10-25

---

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