RubyGems (Ruby)Worst: High5 advisories

yard: known vulnerabilities

yard has 5 reviewed security advisories in the GitHub Advisory Database — 2 high, 3 moderate. The most recent was published 2026-06-19. Each one below lists the affected version range, the release that fixes it, its CVE and severity. SkyShield matches these against the yard versions running across your servers, containers and images, and ranks what to patch first.

How to fix yard

Upgrade yard to a release at or above the fixed version shown for each advisory below. For RubyGems (Ruby):

bundle update yard to 0.9.44 (or gem install yard -v 0.9.44)

SkyShield checks the installed version on every machine and container, so you can see which hosts are still on an affected release after you roll the fix out.

Advisories (5)

YARD static cache reads raw traversal paths before router sanitization Moderate 5.3 CWE-22 — Affected: before 0.9.44. Fixed in 0.9.44. Published 2026-06-19. GHSA-pxcc-8665-phx8 · CVE-2026-49342
yard: Possible arbitrary path traversal and file access via yard server Moderate CWE-22 — Affected: before 0.9.42. Fixed in 0.9.42. Published 2026-05-08. GHSA-3jfp-46x4-xgfj · CVE-2026-41493
YARD's default template vulnerable to Cross-site Scripting in generated frames.html Moderate 5.4 CWE-79 — Affected: before 0.9.36. Fixed in 0.9.36. Published 2024-02-28. GHSA-8mq4-9jjh-9xrc · CVE-2024-27285
Arbitrary file read vulnerability in yard server High 7.5 CWE-22 — Affected: before 0.9.11. Fixed in 0.9.11. Published 2017-12-21. GHSA-gj4p-3wh3-2rmf · CVE-2017-17042

Find yard across your fleet

Install one agent per server and connect your cloud. SkyShield matches your packages and images against GHSA, CISA KEV and EPSS and shows the fix per machine. Free for one server, then from $49 per server a month. Start free.