CVE-2026-41082
What it is
In OCaml opam before 2.5.1, a .install field containing a destination filepath can use ../ to reach a parent directory.
At a glance
- Exploitability
- Can be exploited locally on the machine without logging in. High risk of data tampering.
- Exploit odds
- 0.2% chance of exploitation in the next 30 days (EPSS).
- Fix
- A patch, advisory or fixed version is referenced. Upgrade or apply it.
Timeline
- PublishedDisclosed publicly on CVE.org and NVD
- Last updatedMost recent change to the record
Why it ranks here
- Exploited in the wild: no, CISA does not list it.
- Exploit odds: 0.2% in the next 30 days (EPSS).
- Severity: 7.3 HIGH (CVSS).
- Fix: a patch or advisory is linked.
Details
- Published
- Last modified
- Exploit probability
- 0.2% · EPSS, next 30 days
- Weakness
- CWE-24
- Record status
- Analyzed
Affected
- Ocaml Opam < 2.5.1
- Debian Linux 11.0
- Redhat Enterprise Linux 10.0
Attack profile CVSS 3.1 · 7.3
- Attack vector
- Local
- Complexity
- Low
- Privileges needed
- None
- User interaction
- None
- Scope
- Unchanged
- Confidentiality
- Low
- Integrity
- High
- Availability
- Low
Raw vector
CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:L/I:H/A:L
Is it in your code?
Hand this to your coding agent. It searches your project for the affected products and checks versions. Nothing leaves your machine.
Read https://cve-list.com/agent/cve/CVE-2026-41082.md and follow it. Check whether this project is affected by CVE-2026-41082. Read only. Don't change anything and don't upload my code. Tell me yes, no or not sure, with the file as proof.
Fix and advisories
References
- https://github.com/ocaml/opam/pull/6897
- https://github.com/ocaml/opam/releases/tag/2.5.1
- https://osv.dev/vulnerability/OSEC-2026-03
- https://lists.debian.org/debian-lts-announce/2026/04/msg00021.html
- https://access.redhat.com/security/cve/CVE-2026-41082
- https://bugzilla.redhat.com/show_bug.cgi?id=2459003
- https://osv.dev/vulnerability/OSEC-2026-03
- https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-41082.json