VDB

CVE-2026-41493

CVE-2026-41493 PUBLISHED CVSS 6.9 MEDIUM

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

Reported by github_m · Published May 8, 2026

yard is fixed in 0.9.42 (RubyGems)

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.

Fixed versions

Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.

PackageEcosystemFixed in
yardRubyGems0.9.42
yardyardoc0.9.42

Risk scores

CVSS 4.0
6.9
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N

Affected products

VendorProductVersions
lsegalyard< 0.9.42
RubyGemsyard0
lsegalyard0

Timeline

  • May 8, 2026 CVE Published
  • May 8, 2026 Security Advisory (11 in total, the first dated here)
  • May 8, 2026 CVE Updated
  • May 18, 2026 EPSS Score (30 in total, the first dated here)
  • Aug 4, 2026 Coalition ESS Score
  • Aug 11, 2026 Distribution Patch (10 in total, the first dated here)

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2026-41493
vulnetix vdb fixes CVE-2026-41493

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2026-41493/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›