usn-8256-1
Vulnerability from osv_ubuntu
Published
2026-05-07 15:21
Modified
2026-07-09 14:51
Summary
opam vulnerability
Details
Andrew Nesbitt discovered that opam did not properly validate file destination paths in package install files. An attacker could use this issue to bypass sandbox protections and write files to arbitrary locations, possibly leading to arbitrary code execution.
References
| URL | Type | |
|---|---|---|
{
"affected": [
{
"database_specific": {
"cves_map": {
"cves": [
{
"id": "CVE-2026-41082",
"severity": [
{
"score": "CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:L/I:H/A:L",
"type": "CVSS_V3"
},
{
"score": "CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:H",
"type": "CVSS_V3"
},
{
"score": "CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H",
"type": "CVSS_V3"
},
{
"score": "medium",
"type": "Ubuntu"
}
]
}
],
"ecosystem": "Ubuntu:Pro:20.04:LTS"
}
},
"ecosystem_specific": {
"availability": "Available with Ubuntu Pro: https://ubuntu.com/pro",
"binaries": [
{
"binary_name": "opam",
"binary_version": "2.0.5-1ubuntu1+esm1"
},
{
"binary_name": "opam-installer",
"binary_version": "2.0.5-1ubuntu1+esm1"
}
]
},
"package": {
"ecosystem": "Ubuntu:Pro:20.04:LTS",
"name": "opam",
"purl": "pkg:deb/ubuntu/opam@2.0.5-1ubuntu1+esm1?arch=source\u0026distro=esm-apps/focal"
},
"ranges": [
{
"events": [
{
"introduced": "0"
},
{
"fixed": "2.0.5-1ubuntu1+esm1"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"2.0.5-1",
"2.0.5-1ubuntu1"
]
},
{
"database_specific": {
"cves_map": {
"cves": [
{
"id": "CVE-2026-41082",
"severity": [
{
"score": "CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:L/I:H/A:L",
"type": "CVSS_V3"
},
{
"score": "CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:H",
"type": "CVSS_V3"
},
{
"score": "CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H",
"type": "CVSS_V3"
},
{
"score": "medium",
"type": "Ubuntu"
}
]
}
],
"ecosystem": "Ubuntu:22.04:LTS"
}
},
"ecosystem_specific": {
"availability": "No subscription required",
"binaries": [
{
"binary_name": "opam",
"binary_version": "2.1.2-1+deb12u1build0.22.04.1"
},
{
"binary_name": "opam-installer",
"binary_version": "2.1.2-1+deb12u1build0.22.04.1"
}
]
},
"package": {
"ecosystem": "Ubuntu:22.04:LTS",
"name": "opam",
"purl": "pkg:deb/ubuntu/opam@2.1.2-1+deb12u1build0.22.04.1?arch=source\u0026distro=jammy"
},
"ranges": [
{
"events": [
{
"introduced": "0"
},
{
"fixed": "2.1.2-1+deb12u1build0.22.04.1"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"2.0.8-1",
"2.0.10-1",
"2.1.2-1"
]
},
{
"database_specific": {
"cves_map": {
"cves": [
{
"id": "CVE-2026-41082",
"severity": [
{
"score": "CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:L/I:H/A:L",
"type": "CVSS_V3"
},
{
"score": "CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:H",
"type": "CVSS_V3"
},
{
"score": "CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H",
"type": "CVSS_V3"
},
{
"score": "medium",
"type": "Ubuntu"
}
]
}
],
"ecosystem": "Ubuntu:Pro:24.04:LTS"
}
},
"ecosystem_specific": {
"availability": "Available with Ubuntu Pro: https://ubuntu.com/pro",
"binaries": [
{
"binary_name": "opam",
"binary_version": "2.1.5-1ubuntu0.1~esm2"
},
{
"binary_name": "opam-installer",
"binary_version": "2.1.5-1ubuntu0.1~esm2"
}
]
},
"package": {
"ecosystem": "Ubuntu:Pro:24.04:LTS",
"name": "opam",
"purl": "pkg:deb/ubuntu/opam@2.1.5-1ubuntu0.1~esm2?arch=source\u0026distro=esm-apps/noble"
},
"ranges": [
{
"events": [
{
"introduced": "0"
},
{
"fixed": "2.1.5-1ubuntu0.1~esm2"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"2.1.5-1"
]
},
{
"database_specific": {
"cves_map": {
"cves": [
{
"id": "CVE-2026-41082",
"severity": [
{
"score": "CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:L/I:H/A:L",
"type": "CVSS_V3"
},
{
"score": "CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:H",
"type": "CVSS_V3"
},
{
"score": "CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H",
"type": "CVSS_V3"
},
{
"score": "medium",
"type": "Ubuntu"
}
]
}
],
"ecosystem": "Ubuntu:25.10"
}
},
"ecosystem_specific": {
"availability": "No subscription required",
"binaries": [
{
"binary_name": "opam",
"binary_version": "2.3.0-1+deb13u1build0.25.10.1"
},
{
"binary_name": "opam-installer",
"binary_version": "2.3.0-1+deb13u1build0.25.10.1"
}
]
},
"package": {
"ecosystem": "Ubuntu:25.10",
"name": "opam",
"purl": "pkg:deb/ubuntu/opam@2.3.0-1+deb13u1build0.25.10.1?arch=source\u0026distro=questing"
},
"ranges": [
{
"events": [
{
"introduced": "0"
},
{
"fixed": "2.3.0-1+deb13u1build0.25.10.1"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"2.3.0-1"
]
},
{
"database_specific": {
"cves_map": {
"cves": [
{
"id": "CVE-2026-41082",
"severity": [
{
"score": "CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:L/I:H/A:L",
"type": "CVSS_V3"
},
{
"score": "CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:H",
"type": "CVSS_V3"
},
{
"score": "CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H",
"type": "CVSS_V3"
},
{
"score": "medium",
"type": "Ubuntu"
}
]
}
],
"ecosystem": "Ubuntu:Pro:26.04:LTS"
}
},
"ecosystem_specific": {
"availability": "Available with Ubuntu Pro: https://ubuntu.com/pro",
"binaries": [
{
"binary_name": "opam",
"binary_version": "2.5.0-1ubuntu0.1~esm1"
},
{
"binary_name": "opam-installer",
"binary_version": "2.5.0-1ubuntu0.1~esm1"
}
]
},
"package": {
"ecosystem": "Ubuntu:Pro:26.04:LTS",
"name": "opam",
"purl": "pkg:deb/ubuntu/opam@2.5.0-1ubuntu0.1~esm1?arch=source\u0026distro=esm-apps/resolute"
},
"ranges": [
{
"events": [
{
"introduced": "0"
},
{
"fixed": "2.5.0-1ubuntu0.1~esm1"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"2.3.0-1",
"2.4.1-1",
"2.5.0-1"
]
}
],
"aliases": [],
"details": "Andrew Nesbitt discovered that opam did not properly validate file\ndestination paths in package install files. An attacker could use this\nissue to bypass sandbox protections and write files to arbitrary locations,\npossibly leading to arbitrary code execution.",
"id": "USN-8256-1",
"modified": "2026-07-09T14:51:43Z",
"published": "2026-05-07T15:21:08Z",
"references": [
{
"type": "ADVISORY",
"url": "https://ubuntu.com/security/notices/USN-8256-1"
},
{
"type": "REPORT",
"url": "https://ubuntu.com/security/CVE-2026-41082"
}
],
"related": [],
"schema_version": "1.7.0",
"summary": "opam vulnerability",
"upstream": [
"UBUNTU-CVE-2026-41082"
]
}
Loading…
Loading…
Experimental. This forecast is provided for visualization only and may change without notice. Do not use it for operational decisions.
Forecast uses a logistic model when the trend is rising, or an exponential decay model when the trend is falling. Fitted via linearized least squares.
Sightings
| Author | Source | Type | Date | Other |
|---|
Nomenclature
- Seen: The vulnerability was mentioned, discussed, or observed by the user.
- Confirmed: The vulnerability has been validated from an analyst's perspective.
- Published Proof of Concept: A public proof of concept is available for this vulnerability.
- Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
- Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
- Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
- Not confirmed: The user expressed doubt about the validity of the vulnerability.
- Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.
Loading…
Loading…