BSD Ports

ocaml-opam -- opam install sandbox escape using symlinks

· CVE-2026-57825 · VuXML entry

The OCaml Team reports: Installing files through .install files do not check symlinks resolution of the target path, and so can bypass sandboxing. Credits: Reporter: "Kate Deplaix" Remediation Developer: "Nathan Rebours" Remediation Reviewer: "Raja Boujbel" Coordinator: "Hannes Mehnert"

Affected versions

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.

SystemPortVersionStateFixed
FreeBSDdevel/ocaml-opam2.6.1 fixed
NetBSDmisc/ocaml-opam2.5.2 not listed
DragonFlydevel/ocaml-opam2.3.0 vulnerable since 2026-07-14