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

EcosystemPackageFixed inAdvisory
Alpine:v3.23opam2.5.2-r0ALPINE-CVE-2026-57825
Alpine:v3.24opam2.5.2-r0ALPINE-CVE-2026-57825
Debian:12opam2.1.2-1+deb12u2DEBIAN-CVE-2026-57825
Debian:13opam2.3.0-1+deb13u2DEBIAN-CVE-2026-57825
Debian:14opam2.5.2-1DEBIAN-CVE-2026-57825
Ubuntu:22.04:LTSopamno fix listedUBUNTU-CVE-2026-57825
Ubuntu:26.10opamno fix listedUBUNTU-CVE-2026-57825

Affected products (as reported)

VendorProductVersions
OCaml opam 0 – before 2.5.2

Weakness: CWE-61 · Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:N/I:H/A:N

References