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

State
Published
Severity
6.6 Medium
Published
Nov 10, 2026
Updated
Nov 24, 2026
Reserved
Nov 10, 2026

Read the record on cve.org

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.

ProductVersions
Red Hat Enterprise Linux 10 Red Hat
Red Hat Enterprise Linux 6 Red Hat
Red Hat Enterprise Linux 7 Red Hat
Red Hat Enterprise Linux 8 Red Hat
Red Hat Enterprise Linux 9 Red Hat

Weaknesses

  • CWE-88 Improper Neutralization of Argument Delimiters in a Command

References

Every record here comes from the CVE Program's CVE List. © 1999-2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.

© 2026 NVIDIA, the NVIDIA logo, and NVIDIA Inception are trademarks and/or registered trademarks of NVIDIA Corporation in the U.S. and other countries.