{
  "id": "CVE-2026-41082",
  "url": "https://poc.griffinguard.io/cve/CVE-2026-41082",
  "published_at": "2026-04-16T17:32:40.068Z",
  "vendor": "OCaml",
  "product": "opam",
  "cvss": {
    "score": 7.8,
    "source": "nvd",
    "vector": "CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H"
  },
  "kev": {
    "in_kev": false,
    "added_at": null,
    "days_after_publication": null
  },
  "first_poc": null,
  "poc_repo_count": 0,
  "exploit_count": 0,
  "suspicious_repo_count": 0,
  "edge_device": null,
  "description": "In OCaml opam before 2.5.1, a .install field containing a destination filepath can use ../ to reach a parent directory.",
  "cwe": "CWE-24",
  "cpes": [
    "cpe:2.3:a:ocaml:opam:*:*:*:*:*:*:*:*",
    "cpe:2.3:o:debian:debian_linux:11.0:*:*:*:*:*:*:*",
    "cpe:2.3:o:redhat:enterprise_linux:10.0:*:*:*:*:*:*:*"
  ],
  "cvss_by_source": {
    "cna": 7.3,
    "nvd": 7.8
  },
  "repos": [],
  "remediation": {
    "affected": [
      {
        "vendor": "OCaml",
        "product": "opam",
        "ranges": [
          "\u003c 2.5.1"
        ],
        "fixed_in": [
          "2.5.1"
        ]
      }
    ],
    "upgrade": [
      "Upgrade opam to 2.5.1 or later."
    ],
    "references": [
      {
        "kind": "Release notes",
        "url": "https://github.com/ocaml/opam/releases/tag/2.5.1"
      },
      {
        "kind": "Patch",
        "url": "https://github.com/ocaml/opam/pull/6897"
      }
    ]
  },
  "exploit_refs": [],
  "hunt_profile": [],
  "rules": []
}
