Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

CVE-2026-41493: CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') in lsegal yard

0
Medium
VulnerabilityCVE-2026-41493cvecve-2026-41493cwe-22
Published: Fri May 08 2026 (05/08/2026, 13:13:49 UTC)
Source: CVE Database V5
Vendor/Project: lsegal
Product: yard

Description

A path traversal vulnerability (CWE-22) exists in versions of the Ruby documentation tool YARD prior to 0. 9. 42. When using the 'yard server' feature to serve documentation, unsanitized HTTP requests can potentially access arbitrary files on the host machine. This vulnerability has been addressed and patched in version 0. 9. 42.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 05/08/2026, 13:37:09 UTC

Technical Analysis

CVE-2026-41493 describes a path traversal vulnerability in the YARD Ruby documentation tool before version 0.9.42. The flaw occurs in the 'yard server' component, which serves documentation over HTTP. Due to insufficient sanitization of HTTP request paths, an attacker can craft requests that traverse directories and access files outside the intended documentation directory. This could lead to unauthorized disclosure of sensitive files on the server hosting the yard server. The vulnerability has a CVSS 4.0 base score of 6.9, indicating a medium severity level. The issue was fixed in YARD version 0.9.42.

Potential Impact

Exploitation of this vulnerability allows an unauthenticated remote attacker to read arbitrary files on the server running the yard server, potentially exposing sensitive information. There is no indication of privilege escalation or code execution. No known exploits in the wild have been reported.

Mitigation Recommendations

Upgrade YARD to version 0.9.42 or later, where this path traversal vulnerability has been patched. Since this is a self-hosted tool, users must apply the update themselves. Patch status is confirmed by the vendor advisory stating the issue is fixed in 0.9.42.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.2
Assigner Short Name
GitHub_M
Date Reserved
2026-04-20T16:14:19.008Z
Cvss Version
4.0
State
PUBLISHED
Remediation Level
null

Threat ID: 69fde35acbff5d8610d89554

Added to database: 5/8/2026, 1:21:30 PM

Last enriched: 5/8/2026, 1:37:09 PM

Last updated: 5/8/2026, 2:31:45 PM

Views: 2

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses