CVE-2026-125672

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

Published Nov 10, 2026 CVSS 3.1 · 6.6 Medium EPSS < 1% KEV · Not listed
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.

Analysis

AI-generated

Technical impact

A flaw in cockpit‑storaged concatenates a Tang keyserver address obtained from a Clevis token inside a LUKS header directly into curl’s argument vector without a leading "--" separator. Because an address beginning with a dash is interpreted by curl as an option, an attacker who can supply a crafted LUKS block (for example, a local unprivileged user with console or desktop access) can cause the Cockpit session to execute arbitrary curl options that read or overwrite files as the Cockpit user. This flaw is an instance of CWE‑88, which concerns improper concatenation of command‑line arguments.

Affected Systems

The issue impacts Red Hat Enterprise Linux 6 through 10, as well as RHEL ELS 6 and 7. It affects the Cockpit package that manages storage devices and relies on the cockpit‑storaged service.

Risk and Exploitability

The CVSS score of 6.6 indicates moderate severity. The EPSS score of less than 1% reflects a very low probability of exploitation at this time, and the vulnerability is not listed in the CISA KEV catalog. Exploitation requires a local malicious block device and the ability to edit the Tang keyserver settings through a Cockpit user session. Therefore, the attack vector is local and constrained to hosts where a user can login or otherwise interact with the console. While the flaw permits file read/write as the Cockpit user, privilege escalation beyond that level would require additional vulnerabilities or misconfigurations.

Remediation

Vendor Workaround

There is no complete mitigation available without a code fix. As a partial mitigation, administrators can restrict local interactive console or desktop login access on hosts running Cockpit's Storage module to trusted users only, and should carefully verify the Keyserver address shown in the "Edit Tang keyserver" dialog before clicking Save -- a value that does not resemble a well-formed hostname (for example, one starting with a hyphen) should not be accepted.


OpenCVE Recommended Actions

  • Restrict interactive console or desktop login to trusted users on hosts running Cockpit Storage
  • Verify that any Tang keyserver address entered in the “Edit Tang keyserver” dialog is a well‑formed hostname and does not start with a hyphen before saving
  • Avoid using Tang keyserver addresses that originate from untrusted or user‑controlled LUKS headers until a code fix becomes available

Generated by OpenCVE AI on November 15, 2026 at 07:00 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
CPEs cpe:/a:redhat:enterprise_linux:10
cpe:/a:redhat:enterprise_linux:8
cpe:/a:redhat:enterprise_linux:9
cpe:/o:redhat:enterprise_linux:10
cpe:/o:redhat:enterprise_linux:8
cpe:/o:redhat:enterprise_linux:9
Type Values Removed Values Added
First Time appeared Red Hat
Red Hat enterprise Linux
Vendors & Products Red Hat
Red Hat enterprise Linux
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'total'}, 'version': '2.0.3'}

Type Values Removed Values Added
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.
Title Cockpit: cockpit-storaged: tang keyserver address from an untrusted luks header clevis token reaches curl's argument vector as an option
First Time appeared Redhat
Redhat enterprise Linux
Redhat rhel Els
Weaknesses CWE-88
CPEs cpe:/a:redhat:enterprise_linux:10
cpe:/a:redhat:enterprise_linux:8
cpe:/a:redhat:enterprise_linux:9
cpe:/o:redhat:rhel_els:6
cpe:/o:redhat:rhel_els:7
Vendors & Products Redhat
Redhat enterprise Linux
Redhat rhel Els
References
Metrics cvssV3_1

{'score': 6.6, 'vector': 'CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:N'}

Weaknesses
  • CWE-88

    Improper Neutralization of Argument Delimiters in a Command ('Argument Injection')

Sources

Status
PUBLISHED
Assigner
redhat
Published
Updated
Nov 24, 2026, 11:34 AM
Reserved
Nov 10, 2026, 9:32 AM
Status
Awaiting Analysis
Published
Nov 10, 2026, 11:16 AM
Modified
Nov 24, 2026, 12:17 PM
Severity
Moderate
Public date
Nov 10, 2026, 9:18 AM