Vulnerabilities

CVE-2026-41082

High 7.8 CVSS 3.1

Description

In OCaml opam before 2.5.1, a .install field containing a destination filepath can use ../ to reach a parent directory.

Description as published by the source, in English.

Key facts

Published
2026-04-16
Last modified
2026-10-26
Assigned by
cve@mitre.org
CVSS vector
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Scored by
nvd@nist.gov (NVD Primary)
Probability of exploitation
0.2 % higher than 11 % of all known vulnerabilities
EPSS, next 30 days, model v2026.06.15
Fix available
Yes, see references

Affected products

Vendor Product Versions Status
Debian Debian Linux 11.0 Affected
Ocaml Opam < 2.5.1 Affected
Redhat Enterprise Linux 10.0 Affected

Weakness type

  • CWE-22: Improper Limitation of a Pathname to a Restricted Directory

    The product uses external input to construct a pathname that is intended to identify a file or directory that is located underneath a restricted parent directory, but the product does not properly neutralize special ele…

  • CWE-24: Path Traversal: '../filedir'

    The product uses external input to construct a pathname that should be within a restricted directory, but it does not properly neutralize "../" sequences that can resolve to a location that is outside of that directory.

References

Related at Berigo

Articles

Does this affect you?

A vulnerability matters only if you run the product, in an affected version, somewhere an attacker can reach.

Check your asset list Browse all vulnerabilities