yard: Possible arbitrary path traversal and file access via yard server
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- Low
- Attack requirements
- None
- Impact type
- Information disclosure
- Confidentiality · integrity · availability
- Low · None · None
- Fix status
- Partial Red Hat: 1 without a fix
Attack profile from CVSS 4.0 · CNA. Fix status from CNA, GitHub and Red Hat. Impact type from CWE-22 and the CVSS impact.
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- Yes
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| lsegal | yard | before 0.9.42 | 0.9.42 | Patch available | CNA |
| — | yard (RubyGems) | before 0.9.42 | 0.9.42 | Patch available | GHSA-3jfp-46x4-xgfj |
- yard Vendorlsegal Affected before 0.9.42 Fixed in 0.9.42 Patch available CNA
- yard (RubyGems) Vendor— Affected before 0.9.42 Fixed in 0.9.42 Patch available GHSA-3jfp-46x4-xgfj
Remediation
- Fix · CNA yard (lsegal) Fixed in 0.9.42
- Fix · GHSA-3jfp-46x4-xgfj yard (RubyGems) Fixed in 0.9.42 Advisory →
Vendor assessments
Red Hat
Red Hat rating: Moderate. Red Hat's page for this CVE →
| Product | Status | Plan or fix |
|---|---|---|
| Red Hat 3scale API Management Platform 2 | Affected | No fix planned: Out of support scope |
Not affected: 2 products
- Red Hat 3scale API Management Platform 2
- Red Hat Hardened Images
Timeline
- 2026-10-02 Threatist record created from CVE-2026-41493
- 2026-10-03 Alias added: GHSA-3jfp-46x4-xgfj
References
More lsegal vulnerabilities
- TI-2026-36519 YARD static cache reads raw traversal paths before router sanitization CVSS 3.1MEDIUM 5.3
Sources
- CVE-2026-41493 · CVE Program
- CVE-2026-41493 · NVD
- FIRST EPSS
- GHSA-3jfp-46x4-xgfj · GitHub Advisory Database · CC BY 4.0
- CVE-2026-41493 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences