devel/ocaml-opam -- CWE-24 Path Traversal: '../filedir'
· CVE-2026-41082 · VuXML entry
https://github.com/ocaml/opam/releases/tag/2.5.1 reports: In OCaml opam before 2.5.1, a .install field containing a destination filepath can use ../ to reach a parent directory. Reported by Andrew Nesbitt <[email protected]>.
Affected versions
- ocaml-opam < 2.5.1
By system
1 still vulnerable, 1 fixed. Where VuXML applies (FreeBSD, DragonFly, FreeBSD's derivatives) a port is vulnerable while its version is in a range; pkgsrc says itself whether it lists a CVE of this advisory; OpenBSD and MidnightBSD keep no list this site reads, so their row is only an estimate: FreeBSD's ranges applied to upstream's version.
| System | Port | Version | State | Fixed |
|---|---|---|---|---|
| FreeBSD | devel/ocaml-opam | 2.6.1 | fixed | (70 days after) |
| NetBSD | misc/ocaml-opam | 2.5.2 | not listed | |
| DragonFly | devel/ocaml-opam | 2.3.0 | vulnerable since 2026-05-05 |