Vulnerability · Published Sep 9, 2026 · Assigned by mitre
CVE-2026-57825
Medium 5.7
In plain English
A medium-severity security flaw in opam from OCaml. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.5% (higher than 41% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Severity (CVSS 3.1)5.7Medium
Exploit odds (30 days)0.5%top 59.0% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known
Official 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.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Alpine:v3.23 | opam | 2.5.2-r0 | ALPINE-CVE-2026-57825 |
| Alpine:v3.24 | opam | 2.5.2-r0 | ALPINE-CVE-2026-57825 |
| Debian:12 | opam | 2.1.2-1+deb12u2 | DEBIAN-CVE-2026-57825 |
| Debian:13 | opam | 2.3.0-1+deb13u2 | DEBIAN-CVE-2026-57825 |
| Debian:14 | opam | 2.5.2-1 | DEBIAN-CVE-2026-57825 |
| Ubuntu:22.04:LTS | opam | no fix listed | UBUNTU-CVE-2026-57825 |
| Ubuntu:26.10 | opam | no fix listed | UBUNTU-CVE-2026-57825 |
Affected products (as reported)
Weakness: CWE-61 · Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:N/I:H/A:N