{"id":"CVE-2026-49342","aliases":["DEBIAN-CVE-2026-49342","DHI-iiwm-p7j2-6nkg-x7pn","GHSA-pxcc-8665-phx8","UBUNTU-CVE-2026-49342"],"summary":"YARD static cache reads raw traversal paths before router sanitization","published_at":"2026-06-19T19:13:59.598Z","modified_at":"2026-11-16T02:35:33.758679Z","products":[],"rating":{"severity":"medium","score":5.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N","attack_path":"internet_unauthenticated","user_interaction":false,"malicious":false,"red_hat":"Moderate","vendor_ratings":[{"source":"Ubuntu","rating":"medium"},{"source":"Red Hat","rating":"Moderate"}]},"fix_available":false,"kev":{"listed":false,"ransomware":false},"public_exploit":false,"exploits":[],"epss":{"score":0.0033199999015778303,"percentile":0.2691200077533722,"date":"2026-11-19T00:00:00Z"},"priority":7.3,"details":"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.","affected_stack":[],"affected_other":[{"ecosystem":"CVE","package":"lsegal/yard","versions":["< 0.9.44"],"provider":"cvelistv5","source":"CVE-2026-49342","relation":"self"},{"ecosystem":"Debian:12","package":"yard","purl":"pkg:deb/debian/yard?arch=source&distro=bookworm","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.9.28-2","0.9.28-2+deb12u1","0.9.28-2+deb12u2","0.9.34-1","0.9.35-1","0.9.36-1","0.9.37-1","0.9.38-1","0.9.39-1","0.9.44-1","0.9.45-1","1.17.patch1-5","2.2-3","2.2-4","2.2-5"],"provider":"osv","source":"DEBIAN-CVE-2026-49342","relation":"self"},{"ecosystem":"Debian:13","package":"yard","purl":"pkg:deb/debian/yard?arch=source&distro=trixie","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.9.37-1","0.9.38-1","0.9.39-1","0.9.44-1","0.9.45-1","1.17.patch1-5","2.2-3","2.2-4","2.2-5"],"provider":"osv","source":"DEBIAN-CVE-2026-49342","relation":"self"},{"ecosystem":"Debian:14","package":"yard","purl":"pkg:deb/debian/yard?arch=source&distro=forky","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.9.44-1"}]}],"versions":["0.9.37-1","0.9.38-1","0.9.39-1"],"fixed":["0.9.44-1"],"provider":"osv","source":"DEBIAN-CVE-2026-49342","relation":"self"},{"ecosystem":"Docker Hardened Images:Alpine:3.24","package":"gitlab-rails-18","purl":"pkg:apk/dhi/gitlab-rails-18","versions":["18.11.11-r0","18.11.11-r1","18.11.11-r2","18.11.12-r0","18.11.12-r1","18.11.12-r2","18.11.12-r3","18.11.12-r4","18.11.14-r0","18.11.14-r1","18.11.14-r10","18.11.14-r11","18.11.14-r2","18.11.14-r3","18.11.14-r4","18.11.14-r5","18.11.14-r6","18.11.14-r7","18.11.14-r8","18.11.14-r9"],"provider":"osv","source":"DHI-iiwm-p7j2-6nkg-x7pn","relation":"self"},{"ecosystem":"Docker Hardened Images:Alpine:3.24","package":"gitlab-rails-19","purl":"pkg:apk/dhi/gitlab-rails-19","versions":["19.1.8-r0","19.1.8-r1","19.4.1-r0","19.4.1-r1","19.4.1-r2","19.4.1-r3","19.4.2-r0","19.5.3-r0","19.5.3-r1","19.5.3-r2","19.5.3-r3","19.5.3-r4","19.5.3-r5","19.5.3-r6","19.5.3-r7","19.5.3-r8","19.5.4-r0","19.5.4-r1","19.5.5-r0","19.5.5-r1","19.5.5-r2"],"provider":"osv","source":"DHI-iiwm-p7j2-6nkg-x7pn","relation":"self"},{"ecosystem":"Docker Hardened Images:Debian:13","package":"gitlab-rails-18","purl":"pkg:deb/dhi/gitlab-rails-18","versions":["18.11.11-0","18.11.11-1","18.11.11-2","18.11.12-0","18.11.12-1","18.11.12-2","18.11.14-0","18.11.14-1","18.11.14-10","18.11.14-11","18.11.14-12","18.11.14-13","18.11.14-14","18.11.14-15","18.11.14-16","18.11.14-2","18.11.14-3","18.11.14-4","18.11.14-5","18.11.14-6","18.11.14-7","18.11.14-8","18.11.14-9"],"provider":"osv","source":"DHI-iiwm-p7j2-6nkg-x7pn","relation":"self"},{"ecosystem":"Docker Hardened Images:Debian:13","package":"gitlab-rails-19","purl":"pkg:deb/dhi/gitlab-rails-19","versions":["19.1.8-0","19.1.8-1","19.4.1-0","19.4.1-1","19.4.1-2","19.4.2-0","19.5.3-0","19.5.3-1","19.5.3-2","19.5.3-3","19.5.3-4","19.5.3-5","19.5.3-6","19.5.3-7","19.5.3-8","19.5.3-9","19.5.4-0","19.5.4-1","19.5.5-0","19.5.5-1","19.5.5-2","19.5.5-3","19.5.5-4","19.5.5-5","19.5.5-6"],"provider":"osv","source":"DHI-iiwm-p7j2-6nkg-x7pn","relation":"self"},{"ecosystem":"RubyGems","package":"yard","purl":"pkg:gem/yard","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.9.44"}]}],"versions":["0.2.0","0.2.1","0.2.2","0.2.3","0.2.3.2","0.2.3.3","0.2.3.4","0.2.3.5","0.4.0","0.5.0","0.5.1","0.5.1p1","0.5.2","0.5.3","0.5.4","0.5.5","0.5.6","0.5.7","0.5.8","0.6.0","0.6.1","0.6.2","0.6.3","0.6.4","0.6.5","0.6.6","0.6.7","0.6.8","0.7.0","0.7.1","0.7.2","0.7.3","0.7.4","0.7.5","0.8.0","0.8.1","0.8.2","0.8.2.1","0.8.3","0.8.4","0.8.4.1","0.8.5","0.8.5.1","0.8.5.2","0.8.6","0.8.6.1","0.8.6.2","0.8.7","0.8.7.1","0.8.7.2","0.8.7.3","0.8.7.4","0.8.7.5","0.8.7.6","0.9.0","0.9.1","0.9.10","0.9.11","0.9.12","0.9.13","0.9.14","0.9.15","0.9.16","0.9.17","0.9.18","0.9.19","0.9.2","0.9.20","0.9.21","0.9.22","0.9.23","0.9.24","0.9.25","0.9.26","0.9.27","0.9.28","0.9.29","0.9.3","0.9.30","0.9.31","0.9.32","0.9.33","0.9.34","0.9.35","0.9.36","0.9.37","0.9.38","0.9.39","0.9.4","0.9.40","0.9.41","0.9.42","0.9.43","0.9.5","0.9.6","0.9.7","0.9.8","0.9.9"],"fixed":["0.9.44"],"provider":"osv","source":"GHSA-pxcc-8665-phx8","relation":"self"},{"ecosystem":"Ubuntu:25.10","package":"yard","purl":"pkg:deb/ubuntu/yard?arch=source&distro=questing","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.9.37-1"],"provider":"osv","source":"UBUNTU-CVE-2026-49342","relation":"self"},{"ecosystem":"Ubuntu:26.10","package":"yard","purl":"pkg:deb/ubuntu/yard?arch=source&distro=stonking","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.9.38-1","0.9.39-1","0.9.45-1"],"provider":"osv","source":"UBUNTU-CVE-2026-49342","relation":"self"},{"ecosystem":"Ubuntu:Pro:16.04:LTS","package":"yard","purl":"pkg:deb/ubuntu/yard?arch=source&distro=esm-apps-legacy%2Fxenial","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.8.7.6-1","0.8.7.6+git20160220-3","0.8.7.6+git20160220-3ubuntu0.1~esm1","0.8.7.6+git20160220-3ubuntu0.1~esm2"],"provider":"osv","source":"UBUNTU-CVE-2026-49342","relation":"self"},{"ecosystem":"Ubuntu:Pro:18.04:LTS","package":"yard","purl":"pkg:deb/ubuntu/yard?arch=source&distro=esm-apps%2Fbionic","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.9.9-1","0.9.12-1","0.9.12-1ubuntu3","0.9.12-2","0.9.12-2ubuntu0.1~esm1","0.9.12-2ubuntu0.1~esm2"],"provider":"osv","source":"UBUNTU-CVE-2026-49342","relation":"self"},{"ecosystem":"Ubuntu:Pro:20.04:LTS","package":"yard","purl":"pkg:deb/ubuntu/yard?arch=source&distro=esm-apps%2Ffocal","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.9.16-1","0.9.20-1","0.9.24-1","0.9.24-1+deb11u1build0.20.04.1","0.9.24-1+deb11u1ubuntu0.1~esm1"],"provider":"osv","source":"UBUNTU-CVE-2026-49342","relation":"self"},{"ecosystem":"Ubuntu:Pro:22.04:LTS","package":"yard","purl":"pkg:deb/ubuntu/yard?arch=source&distro=esm-apps%2Fjammy","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.9.24-1","0.9.26-1","0.9.26-1ubuntu0.1","0.9.26-1ubuntu0.1+esm1"],"provider":"osv","source":"UBUNTU-CVE-2026-49342","relation":"self"},{"ecosystem":"Ubuntu:Pro:24.04:LTS","package":"yard","purl":"pkg:deb/ubuntu/yard?arch=source&distro=esm-apps%2Fnoble","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.9.28-2","0.9.34-1","0.9.35-1","0.9.36-1","0.9.36-1ubuntu0.1~esm1"],"provider":"osv","source":"UBUNTU-CVE-2026-49342","relation":"self"},{"ecosystem":"Ubuntu:Pro:26.04:LTS","package":"yard","purl":"pkg:deb/ubuntu/yard?arch=source&distro=esm-apps%2Fresolute","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.9.37-1","0.9.37-1build1","0.9.38-1","0.9.38-1ubuntu0.1~esm1"],"provider":"osv","source":"UBUNTU-CVE-2026-49342","relation":"self"}],"product_status":[{"vendor":"Red Hat","product":"Red Hat 3scale API Management Platform 2","cpe":"cpe:/a:redhat:3scale:2.13","status":"not_affected","packages":["3scale-amp2/backend-rhel8","3scale-amp2/system-rhel7","3scale-amp2/system-rhel8","3scale-amp2/system-rhel9","3scale-amp21/backend","3scale-amp21/system","3scale-amp22/backend","3scale-amp22/system"],"package_count":8,"fixed":[],"advisories":[],"note":"vulnerable_code_not_present","provider":"redhat-vex","source":"CVE-2026-49342"},{"vendor":"Red Hat","product":"Red Hat Hardened Images","cpe":"cpe:/a:redhat:hummingbird:1","status":"not_affected","packages":["nghttp2","rust"],"package_count":2,"fixed":[],"advisories":[],"note":"vulnerable_code_not_present","provider":"redhat-vex","source":"CVE-2026-49342"}],"records":[{"provider":"cvelistv5","source_id":"CVE-2026-49342","relation":"self","url":"https://www.cve.org/CVERecord?id=CVE-2026-49342","license":"CC-BY-4.0","published_at":"2026-06-19T19:13:59.598Z","modified_at":"2026-06-22T17:14:14.512Z","summary":"YARD static cache reads raw traversal paths before router sanitization","details":"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.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N","source":"CVE-2026-49342"}],"affected":[{"ecosystem":"CVE","package":"lsegal/yard","versions":["< 0.9.44"],"provider":"cvelistv5","source":"CVE-2026-49342","relation":"self"}],"product_status":[],"references":[{"type":"WEB","url":"https://github.com/lsegal/yard/security/advisories/GHSA-pxcc-8665-phx8"},{"type":"WEB","url":"https://github.com/lsegal/yard/commit/f78c19f0dd33a407085b4ed181bb60c0aa0078b4"}]},{"provider":"osv","source_id":"DEBIAN-CVE-2026-49342","relation":"self","url":"https://osv.dev/vulnerability/DEBIAN-CVE-2026-49342","published_at":"2026-06-19T20:16:18.377Z","modified_at":"2026-10-26T11:47:34.648583Z","details":"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.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N","source":"DEBIAN-CVE-2026-49342"}],"affected":[{"ecosystem":"Debian:12","package":"yard","purl":"pkg:deb/debian/yard?arch=source&distro=bookworm","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.9.28-2","0.9.28-2+deb12u1","0.9.28-2+deb12u2","0.9.34-1","0.9.35-1","0.9.36-1","0.9.37-1","0.9.38-1","0.9.39-1","0.9.44-1","0.9.45-1","1.17.patch1-5","2.2-3","2.2-4","2.2-5"],"provider":"osv","source":"DEBIAN-CVE-2026-49342","relation":"self"},{"ecosystem":"Debian:13","package":"yard","purl":"pkg:deb/debian/yard?arch=source&distro=trixie","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.9.37-1","0.9.38-1","0.9.39-1","0.9.44-1","0.9.45-1","1.17.patch1-5","2.2-3","2.2-4","2.2-5"],"provider":"osv","source":"DEBIAN-CVE-2026-49342","relation":"self"},{"ecosystem":"Debian:14","package":"yard","purl":"pkg:deb/debian/yard?arch=source&distro=forky","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.9.44-1"}]}],"versions":["0.9.37-1","0.9.38-1","0.9.39-1"],"fixed":["0.9.44-1"],"provider":"osv","source":"DEBIAN-CVE-2026-49342","relation":"self"}],"product_status":[],"references":[{"type":"ADVISORY","url":"https://security-tracker.debian.org/tracker/CVE-2026-49342"}]},{"provider":"osv","source_id":"DHI-iiwm-p7j2-6nkg-x7pn","relation":"self","url":"https://osv.dev/vulnerability/DHI-iiwm-p7j2-6nkg-x7pn","license":"Apache-2.0","published_at":"2026-11-11T19:56:08Z","modified_at":"2026-11-16T02:35:33.758679Z","summary":"YARD is a documentation generation tool for the Ruby programming language. Prior to version 0.9.44, YARD's static cache…","details":"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.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N","source":"DHI-iiwm-p7j2-6nkg-x7pn"}],"affected":[{"ecosystem":"Docker Hardened Images:Alpine:3.24","package":"gitlab-rails-18","purl":"pkg:apk/dhi/gitlab-rails-18","versions":["18.11.11-r0","18.11.11-r1","18.11.11-r2","18.11.12-r0","18.11.12-r1","18.11.12-r2","18.11.12-r3","18.11.12-r4","18.11.14-r0","18.11.14-r1","18.11.14-r10","18.11.14-r11","18.11.14-r2","18.11.14-r3","18.11.14-r4","18.11.14-r5","18.11.14-r6","18.11.14-r7","18.11.14-r8","18.11.14-r9"],"provider":"osv","source":"DHI-iiwm-p7j2-6nkg-x7pn","relation":"self"},{"ecosystem":"Docker Hardened Images:Alpine:3.24","package":"gitlab-rails-19","purl":"pkg:apk/dhi/gitlab-rails-19","versions":["19.1.8-r0","19.1.8-r1","19.4.1-r0","19.4.1-r1","19.4.1-r2","19.4.1-r3","19.4.2-r0","19.5.3-r0","19.5.3-r1","19.5.3-r2","19.5.3-r3","19.5.3-r4","19.5.3-r5","19.5.3-r6","19.5.3-r7","19.5.3-r8","19.5.4-r0","19.5.4-r1","19.5.5-r0","19.5.5-r1","19.5.5-r2"],"provider":"osv","source":"DHI-iiwm-p7j2-6nkg-x7pn","relation":"self"},{"ecosystem":"Docker Hardened Images:Debian:13","package":"gitlab-rails-18","purl":"pkg:deb/dhi/gitlab-rails-18","versions":["18.11.11-0","18.11.11-1","18.11.11-2","18.11.12-0","18.11.12-1","18.11.12-2","18.11.14-0","18.11.14-1","18.11.14-10","18.11.14-11","18.11.14-12","18.11.14-13","18.11.14-14","18.11.14-15","18.11.14-16","18.11.14-2","18.11.14-3","18.11.14-4","18.11.14-5","18.11.14-6","18.11.14-7","18.11.14-8","18.11.14-9"],"provider":"osv","source":"DHI-iiwm-p7j2-6nkg-x7pn","relation":"self"},{"ecosystem":"Docker Hardened Images:Debian:13","package":"gitlab-rails-19","purl":"pkg:deb/dhi/gitlab-rails-19","versions":["19.1.8-0","19.1.8-1","19.4.1-0","19.4.1-1","19.4.1-2","19.4.2-0","19.5.3-0","19.5.3-1","19.5.3-2","19.5.3-3","19.5.3-4","19.5.3-5","19.5.3-6","19.5.3-7","19.5.3-8","19.5.3-9","19.5.4-0","19.5.4-1","19.5.5-0","19.5.5-1","19.5.5-2","19.5.5-3","19.5.5-4","19.5.5-5","19.5.5-6"],"provider":"osv","source":"DHI-iiwm-p7j2-6nkg-x7pn","relation":"self"}],"product_status":[],"references":[{"type":"ADVISORY","url":"https://scout.docker.com/v/DHI-iiwm-p7j2-6nkg-x7pn"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-49342"},{"type":"ADVISORY","url":"https://security-tracker.debian.org/tracker/CVE-2026-49342"},{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-pxcc-8665-phx8"},{"type":"ADVISORY","url":"https://github.com/lsegal/yard/security/advisories/GHSA-pxcc-8665-phx8"},{"type":"FIX","url":"https://github.com/lsegal/yard/commit/f78c19f0dd33a407085b4ed181bb60c0aa0078b4"},{"type":"ADVISORY","url":"https://ubuntu.com/security/CVE-2026-49342"},{"type":"ADVISORY","url":"http://people.ubuntu.com/~ubuntu-security/cve/CVE-2026-49342"}]},{"provider":"osv","source_id":"GHSA-pxcc-8665-phx8","relation":"self","url":"https://osv.dev/vulnerability/GHSA-pxcc-8665-phx8","license":"CC-BY-4.0","published_at":"2026-06-26T22:29:29Z","modified_at":"2026-06-26T22:56:27.767407Z","summary":"YARD static cache reads raw traversal paths before router sanitization","details":"### Summary\nYARD'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. \n\nThe potential security risk seems low, as only html-ending files can be read, but still the risk of reading arbitrary html files is a confiendtiality issue in itself, which is why we decided to report. Please let us know if this is out of your project's scope.\n\n### Details\nThe `--docroot` CLI option stores the configured directory in `server_options[:DocumentRoot]` at `lib/yard/cli/server.rb:198`, and adapter initialization copies that value into `adapter.document_root` at `lib/yard/server/adapter.rb:76`. For Rack requests, `RackAdapter#call` builds a request object from the Rack environment at `lib/yard/server/rack_adapter.rb:58` and passes it to `router.call(request)` at `lib/yard/server/rack_adapter.rb:60`. `Router#call` then stores the incoming request at `lib/yard/server/router.rb:55` and invokes `check_static_cache` before normal routing at `lib/yard/server/router.rb:56`. Inside `check_static_cache`, the only initial guard is that `adapter.document_root` is present at `lib/yard/server/static_caching.rb:35`; the cache path is built from `File.join(adapter.document_root, request.path.sub(/\\.html$/, '') + '.html')` at `lib/yard/server/static_caching.rb:36`, without cleaning `..` components first. If that resolved path is a regular file, `File.file?` accepts it at `lib/yard/server/static_caching.rb:38` and the file bytes are returned as a `200` HTML response at `lib/yard/server/static_caching.rb:40`. The later route sanitizer in `final_options` uses `File.cleanpath(...).gsub(...)` at `lib/yard/server/router.rb:181` and `lib/yard/server/router.rb:182`, but a static-cache hit returns before that code is reached.\n\n### PoC\n[poc.zip](https://github.com/user-attachments/files/28185421/poc.zip)\n\n```bash\nbash ./poc/run.sh\n```\nexpected output:\n```text\nrun 1: exit=0 timed_out=False duration=0.08s matched=True phase=oracle fingerprint='YARD_STATIC_CACHE_PATH_TRAVERSAL'\nrun 2: exit=0 timed_out=False duration=0.08s matched=True phase=oracle fingerprint='YARD_STATIC_CACHE_PATH_TRAVERSAL'\nrun 3: exit=0 timed_out=False duration=0.08s matched=True phase=oracle fingerprint='YARD_STATIC_CACHE_PATH_TRAVERSAL'\n```\n\nThe `YARD_STATIC_CACHE_PATH_TRAVERSAL` fingerprint is emitted only after the PoC observes a `200` static-cache response whose body contains the sibling file outside the configured document root. A setup failure, syntax failure, or cache miss would not print this oracle and would not demonstrate this traversal read.\n\n### Impact\nA remote unauthenticated HTTP client who can reach a YARD documentation server with `DocumentRoot`/`--docroot` enabled can request `.html` paths containing parent-directory components and receive readable matching files outside the configured document root. The required guards are narrow: `adapter.document_root` must be set, the traversed target must exist as a regular readable file, and the target must be reachable through the implementation's forced `.html` suffix. Those requests bypass the later `final_options` path cleanup because the cache check runs first. The resulting severity class is information disclosure: response bodies can contain off-root `.html` file contents, but this path does not show write access, code execution, or arbitrary files without the `.html` constraint.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N","source":"GHSA-pxcc-8665-phx8"}],"affected":[{"ecosystem":"RubyGems","package":"yard","purl":"pkg:gem/yard","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.9.44"}]}],"versions":["0.2.0","0.2.1","0.2.2","0.2.3","0.2.3.2","0.2.3.3","0.2.3.4","0.2.3.5","0.4.0","0.5.0","0.5.1","0.5.1p1","0.5.2","0.5.3","0.5.4","0.5.5","0.5.6","0.5.7","0.5.8","0.6.0","0.6.1","0.6.2","0.6.3","0.6.4","0.6.5","0.6.6","0.6.7","0.6.8","0.7.0","0.7.1","0.7.2","0.7.3","0.7.4","0.7.5","0.8.0","0.8.1","0.8.2","0.8.2.1","0.8.3","0.8.4","0.8.4.1","0.8.5","0.8.5.1","0.8.5.2","0.8.6","0.8.6.1","0.8.6.2","0.8.7","0.8.7.1","0.8.7.2","0.8.7.3","0.8.7.4","0.8.7.5","0.8.7.6","0.9.0","0.9.1","0.9.10","0.9.11","0.9.12","0.9.13","0.9.14","0.9.15","0.9.16","0.9.17","0.9.18","0.9.19","0.9.2","0.9.20","0.9.21","0.9.22","0.9.23","0.9.24","0.9.25","0.9.26","0.9.27","0.9.28","0.9.29","0.9.3","0.9.30","0.9.31","0.9.32","0.9.33","0.9.34","0.9.35","0.9.36","0.9.37","0.9.38","0.9.39","0.9.4","0.9.40","0.9.41","0.9.42","0.9.43","0.9.5","0.9.6","0.9.7","0.9.8","0.9.9"],"fixed":["0.9.44"],"provider":"osv","source":"GHSA-pxcc-8665-phx8","relation":"self"}],"product_status":[],"references":[{"type":"WEB","url":"https://github.com/lsegal/yard/security/advisories/GHSA-pxcc-8665-phx8"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-49342"},{"type":"WEB","url":"https://github.com/lsegal/yard/commit/f78c19f0dd33a407085b4ed181bb60c0aa0078b4"},{"type":"PACKAGE","url":"https://github.com/lsegal/yard"}]},{"provider":"osv","source_id":"UBUNTU-CVE-2026-49342","relation":"self","url":"https://osv.dev/vulnerability/UBUNTU-CVE-2026-49342","license":"CC-BY-SA-4.0","published_at":"2026-06-19T20:16:00Z","modified_at":"2026-10-17T12:58:32.238467Z","details":"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.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N","source":"UBUNTU-CVE-2026-49342"},{"type":"Ubuntu","score":"medium","source":"UBUNTU-CVE-2026-49342"}],"affected":[{"ecosystem":"Ubuntu:25.10","package":"yard","purl":"pkg:deb/ubuntu/yard?arch=source&distro=questing","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.9.37-1"],"provider":"osv","source":"UBUNTU-CVE-2026-49342","relation":"self"},{"ecosystem":"Ubuntu:26.10","package":"yard","purl":"pkg:deb/ubuntu/yard?arch=source&distro=stonking","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.9.38-1","0.9.39-1","0.9.45-1"],"provider":"osv","source":"UBUNTU-CVE-2026-49342","relation":"self"},{"ecosystem":"Ubuntu:Pro:16.04:LTS","package":"yard","purl":"pkg:deb/ubuntu/yard?arch=source&distro=esm-apps-legacy%2Fxenial","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.8.7.6-1","0.8.7.6+git20160220-3","0.8.7.6+git20160220-3ubuntu0.1~esm1","0.8.7.6+git20160220-3ubuntu0.1~esm2"],"provider":"osv","source":"UBUNTU-CVE-2026-49342","relation":"self"},{"ecosystem":"Ubuntu:Pro:18.04:LTS","package":"yard","purl":"pkg:deb/ubuntu/yard?arch=source&distro=esm-apps%2Fbionic","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.9.9-1","0.9.12-1","0.9.12-1ubuntu3","0.9.12-2","0.9.12-2ubuntu0.1~esm1","0.9.12-2ubuntu0.1~esm2"],"provider":"osv","source":"UBUNTU-CVE-2026-49342","relation":"self"},{"ecosystem":"Ubuntu:Pro:20.04:LTS","package":"yard","purl":"pkg:deb/ubuntu/yard?arch=source&distro=esm-apps%2Ffocal","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.9.16-1","0.9.20-1","0.9.24-1","0.9.24-1+deb11u1build0.20.04.1","0.9.24-1+deb11u1ubuntu0.1~esm1"],"provider":"osv","source":"UBUNTU-CVE-2026-49342","relation":"self"},{"ecosystem":"Ubuntu:Pro:22.04:LTS","package":"yard","purl":"pkg:deb/ubuntu/yard?arch=source&distro=esm-apps%2Fjammy","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.9.24-1","0.9.26-1","0.9.26-1ubuntu0.1","0.9.26-1ubuntu0.1+esm1"],"provider":"osv","source":"UBUNTU-CVE-2026-49342","relation":"self"},{"ecosystem":"Ubuntu:Pro:24.04:LTS","package":"yard","purl":"pkg:deb/ubuntu/yard?arch=source&distro=esm-apps%2Fnoble","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.9.28-2","0.9.34-1","0.9.35-1","0.9.36-1","0.9.36-1ubuntu0.1~esm1"],"provider":"osv","source":"UBUNTU-CVE-2026-49342","relation":"self"},{"ecosystem":"Ubuntu:Pro:26.04:LTS","package":"yard","purl":"pkg:deb/ubuntu/yard?arch=source&distro=esm-apps%2Fresolute","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.9.37-1","0.9.37-1build1","0.9.38-1","0.9.38-1ubuntu0.1~esm1"],"provider":"osv","source":"UBUNTU-CVE-2026-49342","relation":"self"}],"product_status":[],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2026-49342"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2026-49342"},{"type":"REPORT","url":"https://github.com/lsegal/yard/security/advisories/GHSA-pxcc-8665-phx8"},{"type":"REPORT","url":"https://github.com/lsegal/yard/commit/f78c19f0dd33a407085b4ed181bb60c0aa0078b4"}]},{"provider":"redhat-vex","source_id":"CVE-2026-49342","relation":"self","url":"https://access.redhat.com/security/cve/CVE-2026-49342","license":"CC-BY-4.0","published_at":"2026-06-19T19:13:59.598Z","modified_at":"2026-07-08T07:57:41.650079Z","summary":"yard: YARD: Information disclosure via path traversal in static cache lookup","details":"A flaw was found in YARD, a documentation generation tool for the Ruby programming language. A remote attacker could exploit a path traversal vulnerability in YARD's static cache lookup. This occurs because the request path is read before the router's path cleanup, allowing a specially crafted request to access and read arbitrary .html files outside the intended static directory when a server is configured with a document root. This could lead to information disclosure.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N","source":"CVE-2026-49342"},{"type":"Red Hat","score":"Moderate","source":"CVE-2026-49342"}],"affected":[],"product_status":[{"vendor":"Red Hat","product":"Red Hat 3scale API Management Platform 2","cpe":"cpe:/a:redhat:3scale:2.13","status":"not_affected","packages":["3scale-amp2/backend-rhel8","3scale-amp2/system-rhel7","3scale-amp2/system-rhel8","3scale-amp2/system-rhel9","3scale-amp21/backend","3scale-amp21/system","3scale-amp22/backend","3scale-amp22/system"],"package_count":8,"fixed":[],"advisories":[],"note":"vulnerable_code_not_present","provider":"redhat-vex","source":"CVE-2026-49342"},{"vendor":"Red Hat","product":"Red Hat Hardened Images","cpe":"cpe:/a:redhat:hummingbird:1","status":"not_affected","packages":["nghttp2","rust"],"package_count":2,"fixed":[],"advisories":[],"note":"vulnerable_code_not_present","provider":"redhat-vex","source":"CVE-2026-49342"}],"references":[{"type":"WEB","url":"https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-49342.json"},{"type":"WEB","url":"https://access.redhat.com/security/cve/CVE-2026-49342"},{"type":"WEB","url":"https://bugzilla.redhat.com/show_bug.cgi?id=2490894"},{"type":"WEB","url":"https://www.cve.org/CVERecord?id=CVE-2026-49342"},{"type":"WEB","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-49342"},{"type":"WEB","url":"https://github.com/lsegal/yard/commit/f78c19f0dd33a407085b4ed181bb60c0aa0078b4"},{"type":"WEB","url":"https://github.com/lsegal/yard/security/advisories/GHSA-pxcc-8665-phx8"}]}],"references":[{"type":"WEB","url":"https://github.com/lsegal/yard/security/advisories/GHSA-pxcc-8665-phx8"},{"type":"WEB","url":"https://github.com/lsegal/yard/commit/f78c19f0dd33a407085b4ed181bb60c0aa0078b4"},{"type":"ADVISORY","url":"https://security-tracker.debian.org/tracker/CVE-2026-49342"},{"type":"ADVISORY","url":"https://scout.docker.com/v/DHI-iiwm-p7j2-6nkg-x7pn"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-49342"},{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-pxcc-8665-phx8"},{"type":"ADVISORY","url":"https://ubuntu.com/security/CVE-2026-49342"},{"type":"ADVISORY","url":"http://people.ubuntu.com/~ubuntu-security/cve/CVE-2026-49342"},{"type":"PACKAGE","url":"https://github.com/lsegal/yard"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2026-49342"},{"type":"WEB","url":"https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-49342.json"},{"type":"WEB","url":"https://access.redhat.com/security/cve/CVE-2026-49342"},{"type":"WEB","url":"https://bugzilla.redhat.com/show_bug.cgi?id=2490894"}],"sources":[{"provider":"cvelistv5","source_id":"CVE-2026-49342","url":"https://www.cve.org/CVERecord?id=CVE-2026-49342","license":"CC-BY-4.0","modified_at":"2026-06-22T17:14:14.512Z","relation":"self"},{"provider":"osv","source_id":"DEBIAN-CVE-2026-49342","url":"https://osv.dev/vulnerability/DEBIAN-CVE-2026-49342","modified_at":"2026-10-26T11:47:34.648583Z","relation":"self"},{"provider":"osv","source_id":"DHI-iiwm-p7j2-6nkg-x7pn","url":"https://osv.dev/vulnerability/DHI-iiwm-p7j2-6nkg-x7pn","license":"Apache-2.0","modified_at":"2026-11-16T02:35:33.758679Z","relation":"self"},{"provider":"osv","source_id":"GHSA-pxcc-8665-phx8","url":"https://osv.dev/vulnerability/GHSA-pxcc-8665-phx8","license":"CC-BY-4.0","modified_at":"2026-06-26T22:56:27.767407Z","relation":"self"},{"provider":"osv","source_id":"UBUNTU-CVE-2026-49342","url":"https://osv.dev/vulnerability/UBUNTU-CVE-2026-49342","license":"CC-BY-SA-4.0","modified_at":"2026-10-17T12:58:32.238467Z","relation":"self"},{"provider":"redhat-vex","source_id":"CVE-2026-49342","url":"https://access.redhat.com/security/cve/CVE-2026-49342","license":"CC-BY-4.0","modified_at":"2026-07-08T07:57:41.650079Z","relation":"self"}]}
