CVE-2026-41493
Ruby vulnerability analysis and mitigation

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


SourceNVD

Related Ruby vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

GHSA-2x79-gwq3-vxxmHIGH8.7
  • RubyRuby
  • iodine
NoNoApr 14, 2026
CVE-2026-41146HIGH8.7
  • RubyRuby
  • iodine
NoNoApr 14, 2026
GHSA-3jfp-46x4-xgfjMEDIUM6.9
  • RubyRuby
  • yard
NoYesApr 17, 2026
CVE-2026-41493MEDIUM6.9
  • RubyRuby
  • yard
NoYesApr 17, 2026
CVE-2026-27820LOW1.7
  • RubyRuby
  • ruby2.5-devel-extra
NoYesApr 16, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management