Skip to content

Commit 96feec6

Browse files
committed
Add the announce for opam 2.5.2
1 parent 2b9b762 commit 96feec6

1 file changed

Lines changed: 61 additions & 0 deletions

File tree

Lines changed: 61 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,61 @@
1+
---
2+
title: "opam 2.5.2"
3+
authors: [
4+
"Raja Boujbel",
5+
"Kate Deplaix",
6+
"Nathan Rebours",
7+
"David Allsopp",
8+
]
9+
versions: ["2.5.2"]
10+
tags: [opam, platform]
11+
github_release_tags: [2.5.2]
12+
---
13+
14+
_Feedback on this post is welcomed on [Discuss](https://discuss.ocaml.org/t/ann-opam-2-5-2/18338)!_
15+
16+
We are pleased to announce the release of opam 2.5.2 fixing a security issue ([OSEC-2026-10](https://github.com/ocaml/security-advisories/blob/main/advisories/2026/OSEC-2026-10.md)) and other minor things.
17+
18+
We advise everyone to upgrade. Please read on for installation and upgrade instructions.
19+
20+
21+
## Security fix
22+
23+
24+
* [OSEC-2026-10](https://osv.dev/vulnerability/OSEC-2026-10) / CVE-2026-57825: Fix a bug that allowed a package to install files anywhere on the system using a symlink to an external directory without warning the user and asking for their permission ([#7005](https://github.com/ocaml/opam/pull/7005))
25+
26+
Distributions maintainers that have not already done so, are invited to either upgrade their opam package to 2.5.2 or backport the fix. For any questions please send an email to the authors of this here blog post as listed above.
27+
28+
29+
## Other changes
30+
31+
* Re-allow `..` in `.install` files, partially reverting 2.5.1's [#6898](https://github.com/ocaml/opam/pull/6898) ([#7009](https://github.com/ocaml/opam/pull/7009), [ocaml/dune#14393](https://github.com/ocaml/dune/issues/14393))
32+
33+
34+
## Try it!
35+
36+
The upgrade instructions are unchanged:
37+
38+
1. Either from binaries: run
39+
40+
For Unix systems
41+
```
42+
bash -c "sh <(curl -fsSL https://opam.ocaml.org/install.sh) --version 2.5.2"
43+
```
44+
or from PowerShell for Windows systems
45+
```
46+
Invoke-Expression "& { $(Invoke-RestMethod https://opam.ocaml.org/install.ps1) } -Version 2.5.2"
47+
```
48+
or download manually from [the Github "Releases" page](https://github.com/ocaml/opam/releases/tag/2.5.2) to your PATH.
49+
50+
2. Or from source, manually: see the instructions in the [README](https://github.com/ocaml/opam/tree/2.5.2#compiling-this-repo).
51+
52+
53+
You should then run:
54+
```
55+
opam init --reinit -ni
56+
```
57+
58+
59+
Please report any issues to [the bug-tracker](https://github.com/ocaml/opam/issues).
60+
61+
Happy hacking!

0 commit comments

Comments
 (0)