CVE Explorer
CVE-2026-49342
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.
Known exploited
Not asserted
Disputed
No
Stale source
No
Conflicts
0
Affected products and versions
1 source assertion{"product":"yard","vendor":"lsegal","versions":[{"status":"affected","version":"< 0.9.44"}]}
- cve_program_cvelist_v5affectedurn:baitaphish:normalized-source-record:v2:a42fdc5fdc2175994794113f983e681ae3bd3d9c8941e76514f071fa2a37d8da · sha256:e20abb6aaa7341a6… · /containers/cna/affected/0
Provider-owned CVSS observations
1 source assertion{"metric":{"attackComplexity":"LOW","attackVector":"NETWORK","availabilityImpact":"NONE","baseScore":5.3,"baseSeverity":"MEDIUM","confidentialityImpact":"LOW","integrityImpact":"NONE","privilegesRequired":"NONE","scope":"UNCHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N","version":"3.1"},"metric_type":"cvssV3_1"}
- cve_program_cvelist_v5cvssurn:baitaphish:normalized-source-record:v2:a42fdc5fdc2175994794113f983e681ae3bd3d9c8941e76514f071fa2a37d8da · sha256:e20abb6aaa7341a6… · /containers/cna/metrics/0/cvssV3_1
CWE assertions
1 source assertion{"cweId":"CWE-22","description":"CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')","lang":"en","type":"CWE"}
- cve_program_cvelist_v5cweurn:baitaphish:normalized-source-record:v2:a42fdc5fdc2175994794113f983e681ae3bd3d9c8941e76514f071fa2a37d8da · sha256:e20abb6aaa7341a6… · /containers/cna/problemTypes/0/descriptions/0
Source references
3 source assertions{"name":"https://github.com/lsegal/yard/commit/f78c19f0dd33a407085b4ed181bb60c0aa0078b4","tags":["x_refsource_MISC"],"url":"https://github.com/lsegal/yard/commit/f78c19f0dd33a407085b4ed181bb60c0aa0078b4"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:a42fdc5fdc2175994794113f983e681ae3bd3d9c8941e76514f071fa2a37d8da · sha256:e20abb6aaa7341a6… · /containers/cna/references/1
{"name":"https://github.com/lsegal/yard/security/advisories/GHSA-pxcc-8665-phx8","tags":["x_refsource_CONFIRM"],"url":"https://github.com/lsegal/yard/security/advisories/GHSA-pxcc-8665-phx8"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:a42fdc5fdc2175994794113f983e681ae3bd3d9c8941e76514f071fa2a37d8da · sha256:e20abb6aaa7341a6… · /containers/cna/references/0
{"tags":["exploit"],"url":"https://github.com/lsegal/yard/security/advisories/GHSA-pxcc-8665-phx8"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:a42fdc5fdc2175994794113f983e681ae3bd3d9c8941e76514f071fa2a37d8da · sha256:e20abb6aaa7341a6… · /containers/adp/0/references/0
Attribution and limitations
- CVE Program CVEList V5: Reproduce the MITRE copyright designation and CVE license in copies. Source →
Provider severity values are preserved separately. Baitaphish does not convert them into a risk rating, infer affected products, or treat EPSS as observed exploitation.