yard — security advisory
YARD is a documentation generation tool for the Ruby programming language. Prior to version 0.9.44, YARD's static cache lookup reads a request path before the router's path cleanup runs. When a server is configured with a document root, a traversal path such as `/../yard-cache-secret.html` is joined against that root and can return a readable sibling `.html` file outside the intended static tree. Version 0.9.44 patches the issue.
- Products
- yard
- Affected versions
- 0.9.28-2, 0.9.28-2+deb12u1, 0.9.28-2+deb12u2, 0.9.34-1, 0.9.35-1, 0.9.36-1, 0.9.37-1, 0.9.38-1, 0.9.39-1, 0.9.44-1, 0.9.45-1, 1.17.patch1-5, 2.2-3, 2.2-4, 2.2-5
- Fixed versions
- 0.9.44-1
- CVEs
- CVE-2026-49342
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 1 Nov 2026, 12:21 UTC · Revision 2
Source evidence
YARD is a documentation generation tool for the Ruby programming language. Prior to version 0.9.44, YARD's static cache lookup reads a request path before the router's path cleanup runs. When a server is configured with a document root, a traversal path such as `/../yard-cache-secret.html` is joined against that root and can return a readable sibling `.html` file outside the intended static tree. Version 0.9.44 patches the issue.
osv:DEBIAN-CVE-2026-49342
yard
Fixed versions: Not specified
yard
Fixed versions: Not specified
yard
Fixed versions: 0.9.44-1
Complete source record
{
"id": "9effafde4ca8bee84cddacc1a721498aba1615ad3fee3f4066771539f41d18d3",
"url": "https://osv.dev/vulnerability/DEBIAN-CVE-2026-49342",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "DEBIAN-CVE-2026-49342",
"summary": "YARD is a documentation generation tool for the Ruby programming language. Prior to version 0.9.44, YARD's static cache lookup reads a request path before the router's path cleanup runs. When a server is configured with a document root, a traversal path such as `/../yard-cache-secret.html` is joined against that root and can return a readable sibling `.html` file outside the intended static tree. Version 0.9.44 patches the issue.",
"evidence": "osv:DEBIAN-CVE-2026-49342",
"products": [
{
"name": {
"value": "yard",
"evidence": "/affected/0/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "0.9.28-2",
"evidence": "/affected/0/versions"
},
{
"value": "0.9.28-2+deb12u1",
"evidence": "/affected/0/versions"
},
{
"value": "0.9.28-2+deb12u2",
"evidence": "/affected/0/versions"
},
{
"value": "0.9.34-1",
"evidence": "/affected/0/versions"
},
{
"value": "0.9.35-1",
"evidence": "/affected/0/versions"
},
{
"value": "0.9.36-1",
"evidence": "/affected/0/versions"
},
{
"value": "0.9.37-1",
"evidence": "/affected/0/versions"
},
{
"value": "0.9.38-1",
"evidence": "/affected/0/versions"
},
{
"value": "0.9.39-1",
"evidence": "/affected/0/versions"
},
{
"value": "0.9.44-1",
"evidence": "/affected/0/versions"
},
{
"value": "0.9.45-1",
"evidence": "/affected/0/versions"
},
{
"value": "1.17.patch1-5",
"evidence": "/affected/0/versions"
},
{
"value": "2.2-3",
"evidence": "/affected/0/versions"
},
{
"value": "2.2-4",
"evidence": "/affected/0/versions"
},
{
"value": "2.2-5",
"evidence": "/affected/0/versions"
}
]
},
{
"name": {
"value": "yard",
"evidence": "/affected/1/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "0.9.37-1",
"evidence": "/affected/1/versions"
},
{
"value": "0.9.38-1",
"evidence": "/affected/1/versions"
},
{
"value": "0.9.39-1",
"evidence": "/affected/1/versions"
},
{
"value": "0.9.44-1",
"evidence": "/affected/1/versions"
},
{
"value": "0.9.45-1",
"evidence": "/affected/1/versions"
},
{
"value": "1.17.patch1-5",
"evidence": "/affected/1/versions"
},
{
"value": "2.2-3",
"evidence": "/affected/1/versions"
},
{
"value": "2.2-4",
"evidence": "/affected/1/versions"
},
{
"value": "2.2-5",
"evidence": "/affected/1/versions"
}
]
},
{
"name": {
"value": "yard",
"evidence": "/affected/2/package/name"
},
"prerequisites": [],
"fixed_versions": [
{
"value": "0.9.44-1",
"evidence": "/affected/2/ranges"
}
],
"affected_versions": [
{
"value": "0.9.37-1",
"evidence": "/affected/2/versions"
},
{
"value": "0.9.38-1",
"evidence": "/affected/2/versions"
},
{
"value": "0.9.39-1",
"evidence": "/affected/2/versions"
}
]
}
],
"severity": "medium",
"structured": {
"id": "DEBIAN-CVE-2026-49342",
"aliases": [
"DEBIAN-CVE-2026-49342"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N"
}
],
"affected": [
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "yard",
"purl": "pkg:deb/debian/yard?arch=source&distro=bookworm",
"ecosystem": "Debian:12"
},
"versions": [
"0.9.28-2",
"0.9.28-2+deb12u1",
"0.9.28-2+deb12u2",
"0.9.34-1",
"0.9.35-1",
"0.9.36-1",
"0.9.37-1",
"0.9.38-1",
"0.9.39-1",
"0.9.44-1",
"0.9.45-1",
"1.17.patch1-5",
"2.2-3",
"2.2-4",
"2.2-5"
],
"database_specific": {
"source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2026-49342.json"
},
"ecosystem_specific": {
"urgency": "not yet assigned"
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "yard",
"purl": "pkg:deb/debian/yard?arch=source&distro=trixie",
"ecosystem": "Debian:13"
},
"versions": [
"0.9.37-1",
"0.9.38-1",
"0.9.39-1",
"0.9.44-1",
"0.9.45-1",
"1.17.patch1-5",
"2.2-3",
"2.2-4",
"2.2-5"
],
"database_specific": {
"source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2026-49342.json"
},
"ecosystem_specific": {
"urgency": "not yet assigned"
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
},
{
"fixed": "0.9.44-1"
}
]
}
],
"package": {
"name": "yard",
"purl": "pkg:deb/debian/yard?arch=source&distro=forky",
"ecosystem": "Debian:14"
},
"versions": [
"0.9.37-1",
"0.9.38-1",
"0.9.39-1"
],
"database_specific": {
"source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2026-49342.json"
},
"ecosystem_specific": {
"urgency": "not yet assigned"
}
}
],
"modified": "2026-10-26T11:47:34.648583316Z",
"provider": "osv",
"upstream": [
"CVE-2026-49342"
],
"references": [
"https://security-tracker.debian.org/tracker/CVE-2026-49342"
]
},
"related_cves": [
{
"value": "CVE-2026-49342",
"evidence": "/upstream"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 450907,
"published_at": "2026-06-19T20:16:18.377+00:00"
}