CVE-2026-41082
7.3
CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:L/I:H/A:L
Summary
In OCaml opam before 2.5.1, a .install field containing a destination filepath can use ../ to reach a parent directory.
Affected Software
| Vendor | Product | Version Range | Status |
|---|---|---|---|
| OCaml | opam | 0 < 2.5.1 | affected |
Weaknesses
- CWE-24: CWE-24 Path Traversal: '../filedir'
ADP Enrichment
CISA ADP Vulnrichment
- SSVC:
- Exploitation: poc
- Automatable: no
- Technical Impact: partial
Additional References
CVE Program Container
Additional References
ocaml-opam: path traversal via the .install field
Additional References
- https://access.redhat.com/security/cve/CVE-2026-41082
- https://bugzilla.redhat.com/show_bug.cgi?id=2459003
- https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-41082.json
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
Feedback
Was this page helpful?
Glad to hear it! Please tell us how we can improve.
Sorry to hear that. Please tell us how we can improve.