High
ocaml-cohttp — security advisory
The cohttp package before 6.3.0 for OCaml allows directory traversal.
- Products
- ocaml-cohttp
- Affected versions
- 4.0.0-1build2, 5.1.0-2build3, 5.3.0-1, 5.3.0-1build1, 5.3.0-1build29, 5.3.0-1build4, 5.3.0-1build5, 5.3.0-1build6, 5.3.0-2, 5.3.0-2build2, 5.3.0-2build3, 5.3.0-2build5, 5.3.0-2build8, 6.2.2-1
- Fixed versions
- Not specified
- CVEs
- CVE-2026-82481
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 31 Oct 2026, 03:21 UTC · Revision 1
Source evidence
The cohttp package before 6.3.0 for OCaml allows directory traversal.
osv:UBUNTU-CVE-2026-82481
ocaml-cohttp
Fixed versions: Not specified
ocaml-cohttp
Fixed versions: Not specified
ocaml-cohttp
Fixed versions: Not specified
ocaml-cohttp
Fixed versions: Not specified
Complete source record
{
"id": "5d058a9355956eb9c2809c9e324106002c44f136d6c42a815e298874278bb00e",
"url": "https://osv.dev/vulnerability/UBUNTU-CVE-2026-82481",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "UBUNTU-CVE-2026-82481",
"summary": "The cohttp package before 6.3.0 for OCaml allows directory traversal.",
"evidence": "osv:UBUNTU-CVE-2026-82481",
"products": [
{
"name": {
"value": "ocaml-cohttp",
"evidence": "/affected/0/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "4.0.0-1build2",
"evidence": "/affected/0/versions"
}
]
},
{
"name": {
"value": "ocaml-cohttp",
"evidence": "/affected/1/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "5.1.0-2build3",
"evidence": "/affected/1/versions"
},
{
"value": "5.3.0-1",
"evidence": "/affected/1/versions"
},
{
"value": "5.3.0-1build1",
"evidence": "/affected/1/versions"
},
{
"value": "5.3.0-1build4",
"evidence": "/affected/1/versions"
},
{
"value": "5.3.0-1build5",
"evidence": "/affected/1/versions"
},
{
"value": "5.3.0-1build6",
"evidence": "/affected/1/versions"
}
]
},
{
"name": {
"value": "ocaml-cohttp",
"evidence": "/affected/2/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "5.3.0-2build8",
"evidence": "/affected/2/versions"
},
{
"value": "6.2.2-1",
"evidence": "/affected/2/versions"
}
]
},
{
"name": {
"value": "ocaml-cohttp",
"evidence": "/affected/3/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "5.3.0-1build29",
"evidence": "/affected/3/versions"
},
{
"value": "5.3.0-2",
"evidence": "/affected/3/versions"
},
{
"value": "5.3.0-2build2",
"evidence": "/affected/3/versions"
},
{
"value": "5.3.0-2build3",
"evidence": "/affected/3/versions"
},
{
"value": "5.3.0-2build5",
"evidence": "/affected/3/versions"
},
{
"value": "5.3.0-2build8",
"evidence": "/affected/3/versions"
}
]
}
],
"severity": "high",
"structured": {
"id": "UBUNTU-CVE-2026-82481",
"aliases": [
"UBUNTU-CVE-2026-82481"
],
"metrics": [
{
"type": "CVSS_V4",
"score": "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N/AU:Y/R:A/V:D/RE:M"
},
{
"type": "Ubuntu",
"score": "medium"
}
],
"affected": [
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "ocaml-cohttp",
"purl": "pkg:deb/ubuntu/ocaml-cohttp?arch=source&distro=jammy",
"ecosystem": "Ubuntu:22.04:LTS"
},
"versions": [
"4.0.0-1build2"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-82481.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "libcohttp-lwt-jsoo-ocaml",
"binary_version": "4.0.0-1build2"
},
{
"binary_name": "libcohttp-lwt-ocaml",
"binary_version": "4.0.0-1build2"
},
{
"binary_name": "libcohttp-lwt-unix-ocaml",
"binary_version": "4.0.0-1build2"
},
{
"binary_name": "libcohttp-ocaml",
"binary_version": "4.0.0-1build2"
}
]
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "ocaml-cohttp",
"purl": "pkg:deb/ubuntu/ocaml-cohttp?arch=source&distro=noble",
"ecosystem": "Ubuntu:24.04:LTS"
},
"versions": [
"5.1.0-2build3",
"5.3.0-1",
"5.3.0-1build1",
"5.3.0-1build4",
"5.3.0-1build5",
"5.3.0-1build6"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-82481.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "libcohttp-lwt-jsoo-ocaml",
"binary_version": "5.3.0-1build6"
},
{
"binary_name": "libcohttp-lwt-ocaml",
"binary_version": "5.3.0-1build6"
},
{
"binary_name": "libcohttp-lwt-unix-ocaml",
"binary_version": "5.3.0-1build6"
},
{
"binary_name": "libcohttp-ocaml",
"binary_version": "5.3.0-1build6"
}
]
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "ocaml-cohttp",
"purl": "pkg:deb/ubuntu/ocaml-cohttp?arch=source&distro=stonking",
"ecosystem": "Ubuntu:26.10"
},
"versions": [
"5.3.0-2build8",
"6.2.2-1"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-82481.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "libcohttp-lwt-jsoo-ocaml",
"binary_version": "6.2.2-1"
},
{
"binary_name": "libcohttp-lwt-ocaml",
"binary_version": "6.2.2-1"
},
{
"binary_name": "libcohttp-lwt-unix-ocaml",
"binary_version": "6.2.2-1"
},
{
"binary_name": "libcohttp-ocaml",
"binary_version": "6.2.2-1"
}
]
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "ocaml-cohttp",
"purl": "pkg:deb/ubuntu/ocaml-cohttp?arch=source&distro=resolute",
"ecosystem": "Ubuntu:26.04:LTS"
},
"versions": [
"5.3.0-1build29",
"5.3.0-2",
"5.3.0-2build2",
"5.3.0-2build3",
"5.3.0-2build5",
"5.3.0-2build8"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-82481.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "libcohttp-lwt-jsoo-ocaml",
"binary_version": "5.3.0-2build8"
},
{
"binary_name": "libcohttp-lwt-ocaml",
"binary_version": "5.3.0-2build8"
},
{
"binary_name": "libcohttp-lwt-unix-ocaml",
"binary_version": "5.3.0-2build8"
},
{
"binary_name": "libcohttp-ocaml",
"binary_version": "5.3.0-2build8"
}
]
}
}
],
"modified": "2026-10-17T13:01:11.704533281Z",
"provider": "osv",
"upstream": [
"CVE-2026-82481"
],
"references": [
"https://ubuntu.com/security/CVE-2026-82481",
"https://www.cve.org/CVERecord?id=CVE-2026-82481",
"https://github.com/mirage/ocaml-cohttp/pull/1145"
]
},
"related_cves": [
{
"value": "CVE-2026-82481",
"evidence": "/upstream"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 361198,
"published_at": "2026-08-29T15:17:00+00:00"
}