Medium severity · published Sep 9, 2026
CVE-2026-57825
In the opam package before 2.5.2 for OCaml, the sandbox protection mechanism can be bypassed because symlinks are mishandled during use of .install files
5.7
CVSS
0.5%
EPSS
No
On KEV
Description
In the opam package before 2.5.2 for OCaml, the sandbox protection mechanism can be bypassed because symlinks are mishandled during use of .install files.
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:N/I:H/A:N
Attack vector
Network
Complexity
Low
Privileges
Low
User interaction
Required
Confidentiality
None
Integrity
High
Availability
None
Scope
Unchanged
Exploitation
Is it being used?
Exploit prediction (EPSS)0.5% · higher than 41% of CVEs
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
OP
opam · OCaml
before 2.5.2 · source: vendor
References
NVD
https://nvd.nist.gov/vuln/detail/CVE-2026-57825
CVE.org
https://www.cve.org/CVERecord?id=CVE-2026-57825
github.com
https://github.com/ocaml/opam/releases
osv.dev
https://osv.dev/vulnerability/OSEC-2026-10
lists.debian.org
https://lists.debian.org/debian-lts-announce/2026/07/msg00026.html
More from opam
7.8
CVE-2026-41082
In OCaml opam before 2.5.1, a .install field containing a destination filepath can use ../ to reach a parent directory
