CVE-2026-41493
highpriority · track · 30EPSS 0.004 · 33 %ileDEEURUUSEPSS · scored 2026-10-27
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.
cvss
Technical severity, 0–10. One row per scoring source.
base score 0–10 · higher = more severe · hover a vector to decode⚠ sources disagree · low–high · 2.7–7.5
ssvc
A stakeholder decision — act, attend, or track — from exploitation and impact.
weaknesses
The CWE weakness classes this flaw belongs to.
affected products (11)
Products and version ranges known to be affected.
advisories (2)
Vendor and ecosystem advisories describing this.
- WID-SEC-W-2026-2117HCL BigFix Compliance (Ruby): Mehrere SchwachstellenDeutsch2026-06-28csaf · cert_bundDE
Ein Angreifer kann mehrere Schwachstellen in HCL BigFix Compliance ausnutzen, um beliebigen Code auszuführen, Sicherheitsmaßnahmen zu umgehen, Daten zu manipulieren, vertrauliche Informationen offenzulegen oder einen Denial-of-Service-Zustand herbeizuführen.
- GHSA-3jfp-46x4-xgfjyard: Possible arbitrary path traversal and file access via yard server2026-04-17ghsa · osvUS
### Impact A path traversal vulnerability was discovered in YARD <= 0.9.41 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. The original patch in [GHSA-xfhh-rx56-rxcr](https://github.com/lsegal/yard/security/advisories/GHSA-xfhh-rx56-rxcr) was incorrectly applied. ### Patches Please upgrade to YARD v0.9.42 immediately if you are relying on yard server to host documentation in any untrusted environments without WEBrick and rely on `--docroot`. ### Workarounds For users who cannot upgrade, it is possible to perform path sanitization of HTTP requests at your webserver level. WEBrick, for example, can perform such sanitization by default (which you can use via yard server -s webrick), as can certain rules in your webserver configuration.
also known as (3)
Other names and identifiers for this entity.
sources
Which sources assert this record, and when.
references (6)
External citations — patches, advisories, analysis.
- https://github.com/lsegal/yard/releases/Patchcnnvd
- https://nvd.nist.gov/vuln/detail/CVE-2026-41493cnnvd
- https://github.com/lsegal/yard/releases/tag/v0.9.42enisa_euvd
- https://github.com/lsegal/yard/security/advisories/GHSA-3jfp-46x4-xgfjenisa_euvd
- https://github.com/lsegal/yard/releases/tag/v0.9.42ProductRelease Notesnvd
- https://github.com/lsegal/yard/security/advisories/GHSA-3jfp-46x4-xgfjMitigationVendor Advisorynvd
Attackers weaponise vulnerabilities like this against internet-exposed services. See what is exposed on your perimeter with a free passive scan.
Free scan