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.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| lsegal | yard | < 0.9.42 | — |
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | yard | No fix yet | — |
| Debian 13 | yard | No fix yet | — |
| Debian 12 | yard | No fix yet | — |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 26.10 | yard | No fix yet | — |
| Ubuntu 25.10 | yard | No fix yet | — |
Show 6 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu Pro 26.04 LTS | yard | 0.9.38-1ubuntu0.1~esm1 | — |
| Ubuntu Pro 24.04 LTS | yard | 0.9.36-1ubuntu0.1~esm1 | — |
| Ubuntu Pro 22.04 LTS | yard | 0.9.26-1ubuntu0.1+esm1 | — |
| Ubuntu Pro 20.04 LTS | yard | 0.9.24-1+deb11u1ubuntu0.1~esm1 | — |
| Ubuntu Pro 18.04 LTS | yard | 0.9.12-2ubuntu0.1~esm2 | — |
| Ubuntu Pro 16.04 LTS | yard | 0.8.7.6+git20160220-3ubuntu0.1~esm2 | — |
Affected packages
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| RubyGems | yard | < 0.9.42 | 0.9.42 | GHSA-3jfp-46x4-xgfj |
Advisories 1
- WID-SEC-2026-2117 HCL BigFix Compliance (Ruby): Mehrere Schwachstellen BSI CERT-Bund (WID) · Nov 8, 2026