Skip to content
OpenAdvisories
Medium · 6.9 CVE-2026-41493 EUVD-2026-28554GHSA-3jfp-46x4-xgfj

yard: Possible arbitrary path traversal and file access via yard server

Published May 8, 2026 · Updated May 8, 2026 · Assigned by GitHub_M

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

VendorProductAffectedFixed
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.

ReleasePackageFixed inAdvisory
Debian 14 yard No fix yet —
Debian 13 yard No fix yet —
Debian 12 yard No fix yet —
ReleasePackageFixed inAdvisory
Ubuntu 26.10 yard No fix yet —
Ubuntu 25.10 yard No fix yet —
Show 6 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
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

EcosystemPackageAffectedFixedRecord
RubyGems yard < 0.9.42 0.9.42 GHSA-3jfp-46x4-xgfj

Advisories 1

References