Skip to content
Fencer Vulns
high 7.5

CVE-2026-41493 json

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

published 2026-04-17 6 mo ago modified 2026-10-26 13 d ago also EUVD-2026-28554 , GHSA-3jfp-46x4-xgfj

cvss
7.5
version 3.1, NVD
cisa kev
Not listed
not in CISA's catalog
epss
0.4%
EPSS 0.4% chance of exploitation in 30 days, percentile 33%
public exploits
0
none known

Summary

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.

Patch / fix

  • rubygems yard 0.9.42
  • yardoc yard 0.9.42
  • yard Ubuntu Pro 16.04 LTS 0.8.7.6+git20160220-3ubuntu0.1~esm2
  • yard Ubuntu Pro 18.04 LTS 0.9.12-2ubuntu0.1~esm2
  • yard Ubuntu Pro 20.04 LTS 0.9.24-1+deb11u1ubuntu0.1~esm1
  • yard Ubuntu Pro 22.04 LTS 0.9.26-1ubuntu0.1+esm1
  • yard Ubuntu Pro 24.04 LTS 0.9.36-1ubuntu0.1~esm1
  • yard Ubuntu Pro 26.04 LTS 0.9.38-1ubuntu0.1~esm1

ubuntu advisories UBUNTU-CVE-2026-41493

Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0

Vendor advisories

What the vendors themselves say about their products: affected, fixed or not affected, and what to do.

red hat product security vex CVE-2026-41493 updated cvss 5.3

yard: YARD: Information Disclosure via Path Traversal in yard server

  • Red Hat 3scale API Management Platform 2 3scale-amp22/system, 3scale-amp2/system-rhel7, 3scale-amp2/backend-rhel8
    affected: no fix planned “Out of support scope”
  • Red Hat 3scale API Management Platform 2 3scale-amp21/system, 3scale-amp21/backend, 3scale-amp22/backend, 3scale-amp2/system-rhel8, 3scale-amp2/system-rhel9 Red Hat Hardened Images rust, nghttp2
    not affected: vulnerable code not present

Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf

CISA SSVC

Exploitation
none
Automatable
yes
Technical impact
partial
Assessed
6 mo ago

Exploit prediction

0.39% chance of exploitation in the next 30 days, higher than 33% of all scored CVEs (FIRST EPSS, 2026-11-08).

CVSS scores

assigned by version score vector
CNA 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
CNA 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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
NVD 3.1 7.5 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N

Affected packages

ecosystem package affected fixed in
rubygems yard
<0.9.42
0.9.42

Affected products

  • lsegal yard

Classification

Weakness
  • CWE-22 Improper Limitation of a Pathname to a Restricted Directory

References

Sources

Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.

CPEs and fixed versions use Anchore's correction of NVD's data: Added CPE configurations because not yet analyzed by NVD.