{"id":"CVE-2026-41082","title":"In OCaml opam before 2.5.1, a .install field containing a destination filepath can use ../ to reach a parent directory.","summary":"In OCaml opam before 2.5.1, a .install field containing a destination filepath can use ../ to reach a parent directory.","severity":"high","cvss":7.3,"cvssVector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:L/I:H/A:L","cwe":["CWE-24","CWE-22","CWE-24"],"vendor":"ocaml","product":"opam","affected":["opam < 2.5.1","debian_linux = 11.0","enterprise_linux = 10.0"],"patched":["opam 2.5.1"],"published":"2026-04-16","updated":"2026-07-08","source":"NVD","sourceUrl":"https://nvd.nist.gov/vuln/detail/CVE-2026-41082","references":[{"url":"https://github.com/ocaml/opam/pull/6897","label":"cve@mitre.org"},{"url":"https://github.com/ocaml/opam/releases/tag/2.5.1","label":"cve@mitre.org"},{"url":"https://osv.dev/vulnerability/OSEC-2026-03","label":"cve@mitre.org"},{"url":"https://lists.debian.org/debian-lts-announce/2026/04/msg00021.html","label":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"https://access.redhat.com/security/cve/CVE-2026-41082","label":"0b0ca135-0b70-47e7-9f44-1890c2a1c46c"},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=2459003","label":"0b0ca135-0b70-47e7-9f44-1890c2a1c46c"},{"url":"https://osv.dev/vulnerability/OSEC-2026-03","label":"134c704f-9b21-4f2e-91b3-4a467353bcc0"},{"url":"https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-41082.json","label":"0b0ca135-0b70-47e7-9f44-1890c2a1c46c"}],"tags":["nvd"],"epss":0.00205,"epssPercentile":0.1083,"ingestedAt":"2026-07-08T03:46:38.650Z","slug":"CVE-2026-41082","body":"## Overview\n\nIn OCaml opam before 2.5.1, a .install field containing a destination filepath can use ../ to reach a parent directory.\n\n## Affected\n\n- `opam < 2.5.1`\n- `debian_linux = 11.0`\n- `enterprise_linux = 10.0`\n\n## Remediation\n\nUpgrade past the affected range:\n\n- `opam 2.5.1`","depth":"twilight","depthScore":40,"depthScoreParts":{"impact":40.2,"likelihood":0,"exploitation":0,"ransomware":0},"changes":[]}