{"id":"CVE-2026-41082","details":"In OCaml opam before 2.5.1, a .install field containing a destination filepath can use ../ to reach a parent directory.","aliases":["OSEC-2026-03"],"modified":"2026-05-18T11:54:43.755730098Z","published":"2026-04-16T17:32:40.068Z","related":["openSUSE-SU-2026:10568-1"],"database_specific":{"cwe_ids":["CWE-24"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/41xxx/CVE-2026-41082.json","cna_assigner":"mitre"},"references":[{"type":"WEB","url":"https://github.com/ocaml/opam/releases/tag/2.5.1"},{"type":"WEB","url":"https://lists.debian.org/debian-lts-announce/2026/04/msg00021.html"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/41xxx/CVE-2026-41082.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-41082"},{"type":"FIX","url":"https://github.com/ocaml/opam/pull/6897"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/ocaml/opam","events":[{"introduced":"0"},{"fixed":"6218d0c4c022106034a93c8ecb5b80fa213d7356"}]}],"versions":["2.5.0","2.5.0-rc1","2.5.0-beta1","2.5.0-alpha1","2.4.0-rc1","2.4.0-alpha2","2.4.0-beta1","2.4.0-alpha1","2.3.0-alpha1","2.2.0-rc1","2.2.0-beta3","2.2.0-beta2","2.2.0-beta1","2.2.0-alpha3","2.2.0-alpha2","2.2.0-alpha","2.1.0-rc","2.1.0-beta4","2.1.0-beta","2.1.0-alpha3","2.1.0-alpha2","2.1.0-alpha","2.0.0-rc4","2.0.0","2.0.0-rc3","2.0.0-rc","2.0.0-beta6","2.0.0-beta5","2.0.0-beta4","2.0.0-beta3.1","latest-test","2.0.0-beta3","2.0.0-beta2","2.0.0-beta","2.0-alpha5","2.0-alpha4","2.0-alpha","1.2.1-rc2","1.2.1","1.2.1-rc","1.2.1-beta3","1.2.1-beta2","1.2.1-beta","1.2.0-rc4","1.2.0","1.2.0-rc3","1.2.0-rc2","1.2.0-rc1","1.2.0-beta4","1.2.0-beta3","1.2.0-beta2","1.2.0-beta","1.1.0-RC","1.1.0-beta","1.0.0","0.9.6","0.9.5","0.9.4","0.9.3","0.9.2","0.9.1","0.9.0","0.8.1","0.8.0","0.7.7","0.7.6","0.7.5","0.7.4","0.7.3","0.7.2","0.6.0","0.5.0","0.4.0","0.3.1","0.3","0.2"],"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2026-41082.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:L/I:H/A:L"}]}