CVE-2026-125672

Cockpit: cockpit-storaged: tang keyserver address from an untrusted luks header clevis token reaches curl's argument vector as an option

Medium published · updated

6.6
CVSS score out of 10 · NVD (redhat.com)

Description

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 products and versions

Product / packageEcosystem / vendorVersionsFixed inSource
red hat enterprise linux 10 red hat —— CVE.org
red hat enterprise linux 6 red hat —— CVE.org
red hat enterprise linux 7 red hat —— CVE.org
red hat enterprise linux 8 red hat —— CVE.org
red hat enterprise linux 9 red hat —— CVE.org

References