Bug 2459324 - CVE-2026-41082 opam: path traversal via the .install field [fedora-all]
Summary: CVE-2026-41082 opam: path traversal via the .install field [fedora-all]
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: opam
Version: rawhide
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: ---
Assignee: Jerry James
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: {"flaws": ["1b0957b2-7d7b-42a6-8d36-a...
Depends On:
Blocks: CVE-2026-41082
TreeView+ depends on / blocked
 
Reported: 2026-04-17 21:23 UTC by Guilherme de Almeida Suckevicz
Modified: 2026-05-01 20:14 UTC (History)
2 users (show)

Fixed In Version: opam-2.5.1-1.fc45
Clone Of:
Environment:
Last Closed: 2026-05-01 20:14:19 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Guilherme de Almeida Suckevicz 2026-04-17 21:23:23 UTC
Disclaimer: Community trackers are created by Red Hat Product Security team on a best effort basis. Package maintainers are required to ascertain if the flaw indeed affects their package, before starting the update process.

Comment 1 Jerry James 2026-04-20 14:39:23 UTC
This bug was filed against the wrong component.  CVE-2026-41082 is a flaw in opam, not dune.

Comment 2 Jerry James 2026-04-20 14:40:49 UTC
By the time this bug was filed, I had already built opam 2.5.1, with the fix for this issue, in Fedora 42, 43, 44 and Rawhide, and the update had been pushed to the testing repositories.  I don't want to edit the updates now to add this bug, because I'm not sure if that restarts the 7 day testing timer or not.

Comment 3 Jerry James 2026-05-01 20:13:04 UTC
@gsuckevi , you filed this bug against the wrong component.  I fixed it, and then you made it wrong again.  CVE-2026-41082 is NOT A BUG IN DUNE, it is is a BUG IN OPAM.  Read the CVE.  Start from the top and read every word, all the way to the end: https://access.redhat.com/security/cve/cve-2026-41082.

Quiz time!
Problem 1: Is dune mentioned anywhere in the CVE text? (Hint: only in the title of the RedHat bug, not in the description.)
Problem 2: Is opam mentioned anywhere in the CVE text? (Hint: yes)

Also see the upstream opam discussion of this bug:
- https://github.com/ocaml/security-advisories/pull/20
- https://github.com/ocaml/opam/pull/6897
- https://github.com/ocaml/opam/pull/6898

Comment 4 Jerry James 2026-05-01 20:14:19 UTC
Version 2.5.1 of opam, which has the fix for this bug, is now stable in Fedora 42, 43, 44, and Rawhide.


Note You need to log in before you can comment on or make changes to this bug.