CVE-2026-41082
- State
- Published
- Severity
- 7.3 High
- Published
- Apr 16, 2026
- Updated
- Jul 15, 2026
- Reserved
- Apr 16, 2026
Description
In OCaml opam before 2.5.1, a .install field containing a destination filepath can use ../ to reach a parent directory.
Scores
| CVSS | Score | Vector | Source |
|---|---|---|---|
| 3.1 | 7.3 High | CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:L/I:H/A:L | mitre |
| 3.1 | 7.1 High | CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:H | redhat-SADP |
Weaknesses
- CWE-24 Path Traversal: '../filedir'
Affected Products
| Product | Versions |
|---|---|
opamOCaml |
|
References
- https://github.com/ocaml/opam/releases/tag/2.5.1
- https://github.com/ocaml/opam/pull/6897
- https://osv.dev/vulnerability/OSEC-2026-03
- https://lists.debian.org/debian-lts-announce/2026/04/msg00021.html
- https://access.redhat.com/security/cve/CVE-2026-41082vdb-entry
- RHBZ#2459003issue-tracking
- https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-41082.json
Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.