Skip to content
Fencer Vulns
medium 5.7

CVE-2026-57825 json

opam install sandbox escape using symlinks

published 2026-07-07 4 mo ago modified 2026-11-06 2 d ago also EUVD-2026-74594 , OSEC-2026-10

cvss
5.7
version 3.1, CNA
cisa kev
Not listed
not in CISA's catalog
epss
0.5%
EPSS 0.5% chance of exploitation in 30 days, percentile 41%
public exploits
0
none known

Summary

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.

Patch / fix

  • opam opam-devel 2.5.2
  • OCaml opam 2.5.2
  • opam Debian 12 2.1.2-1+deb12u2
  • opam Debian 13 2.3.0-1+deb13u2
  • opam Debian 14 2.5.2-1

debian advisories DEBIAN-CVE-2026-57825

  • opam openSUSE Leap 16.0 2.5.2-bp160.1.1
  • opam openSUSE Tumbleweed 2.5.2-1.2

opensuse advisories openSUSE-SU-2026:21380-1openSUSE-SU-2026:11296-1

  • opam Alpine 3.24, Alpine 3.23 2.5.2-r0

alpine advisories ALPINE-CVE-2026-57825

Alpine secdb © Alpine Linux, from https://secdb.alpinelinux.org via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0

Vendor advisories

What the vendors themselves say about their products: affected, fixed or not affected, and what to do.

red hat product security vex CVE-2026-57825 updated cvss 6.8

opam: opam: Sandbox escape due to mishandling of symlinks in .install files

  • Red Hat All currently supported Red Hat products
    not affected: vulnerable code not present

Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf

CISA SSVC

Exploitation
none
Automatable
no
Technical impact
partial
Assessed
55 d ago

Exploit prediction

0.47% chance of exploitation in the next 30 days, higher than 41% of all scored CVEs (FIRST EPSS, 2026-11-08).

CVSS scores

assigned by version score vector
CNA 3.1 5.7 CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:N/I:H/A:N
OSV 3.0 5.7 CVSS:3.0/AV:N/AC:L/PR:L/UI:R/S:U/C:N/I:H/A:N

Affected packages

ecosystem package affected fixed in
opam opam-devel
<2.5.2
2.5.2

Affected products

  • OCaml opam

Classification

Weakness
  • CWE-61 UNIX Symbolic Link (Symlink) Following

References

Sources

Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.