Advisory

USN-8256-1

Also known as: CVE-2026-41082

Summary

opam vulnerability

Details

Andrew Nesbitt discovered that opam did not properly validate file
destination paths in package install files. An attacker could use this
issue to bypass sandbox protections and write files to arbitrary locations,
possibly leading to arbitrary code execution.

Severity

Not rated by the source.

Dates

Published
2026-05-07 15:21 UTC
Modified
2026-07-09 17:15 UTC

Affected packages and fixes

opam

Debian packages (deb) · Ubuntu 22.04

Affected

  • introduced 0, fixed 2.1.2-1+deb12u1build0.22.04.1 (ecosystem)

Fixed versions

2.1.2-1+deb12u1build0.22.04.1

Fix

  • Fixed version 2.1.2-1+deb12u1build0.22.04.1
    sudo apt-get update && sudo apt-get upgrade

This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.

opam

Debian packages (deb) · Ubuntu 25.10

Affected

  • introduced 0, fixed 2.3.0-1+deb13u1build0.25.10.1 (ecosystem)

Fixed versions

2.3.0-1+deb13u1build0.25.10.1

Fix

  • Fixed version 2.3.0-1+deb13u1build0.25.10.1
    sudo apt-get update && sudo apt-get upgrade

This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: Ubuntu Security Notices · CC BY-SA 4.0

Sources & licences