UBUNTU-CVE-2026-125672: Medium severity ubuntu/cockpit vulnerability
A flaw was found in cockpit-storaged. A Tang keyserver address read from a clevis token in a LUKS header is concatenated into curl's argument vector without a "--" separator. An address beginning with "-" is parsed by curl as an option instead of a hostname, allowing an attacker who can attach a crafted LUKS/clevis block device (for example, a local unprivileged user with an active console or desktop login session) to have an administratively-privileged Cockpit user unknowingly trigger curl option injection when editing the device's Tang keyserver settings. This can lead to arbitrary file read or write as the Cockpit session user.
Affected Software
Event History
Frequently Asked Questions
Who is realistically exposed to this issue?
Systems are exposed when Cockpit's storage interface is used by an administratively privileged user and an attacker can attach a crafted LUKS device containing a malicious clevis token. An example attacker position is a local unprivileged user with an active console or desktop login session.
What action triggers exploitation?
The privileged Cockpit user must edit the affected device's Tang keyserver settings. During that operation, a Tang address beginning with a hyphen can be interpreted as a curl option.
What could an attacker achieve?
Successful exploitation can result in arbitrary file reads or writes with the privileges of the Cockpit session user.