Skip to main content

cockpit-storaged CVE-2026-125672

| EUVDEUVD-2026-120869 MEDIUM
Improper Neutralization of Argument Delimiters in a Command ('Argument Injection') (CWE-88)
2026-11-10 redhat GHSA-7vw6-56j5-6r97
6.6
CVSS 3.1 · Vendor: redhat
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Obtain local console/desktop login
  2. Delivery
    Attach crafted LUKS/clevis device with '-'-prefixed Tang address
  3. Exploit
    Admin edits device Tang settings in Cockpit
  4. Execution
    curl parses address as option (injection)
  5. Impact
    Arbitrary file read/write as Cockpit session user

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Argument sanitization
Exploitation Conditions

Concrete prerequisites: (1) the attacker must be able to attach a crafted LUKS/clevis block device to the system - the description's example is a local unprivileged user with an active console or desktop login session; (2) that device's clevis token must contain a Tang keyserver address beginning with '-' so curl parses it as an option; and (3) an administratively-privileged Cockpit user must subsequently open that device and edit its Tang keyserver settings in cockpit-storaged, which is what invokes the vulnerable curl call. Limiting factors that reduce realistic risk: exploitation is local only (not remote/network), it requires the attacker to already have an interactive login to attach the device, and it hinges entirely on administrator interaction (UI:R) - the admin must choose to edit the malicious device's Tang settings. Impact (arbitrary file read/write) is bounded by the Cockpit session user's privileges.

Impact

This is a moderate-severity, local, multi-precondition issue rather than a drop-everything emergency. The CVSS 3.1 vector (AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:N, base 6.6) shows exploitation requires local access, some existing privilege, and user interaction, which caps real-world urgency. The vuln.today priority is this_month (not act_now/emergency), consistent with the CVSS. No KEV listing is present, so there is no confirmed active exploitation, and no EPSS score was supplied in the input, so probabilistic exploitation likelihood cannot be quantified here - this is a data gap, not evidence of low likelihood. No public PoC or exploit reference is included. The signals are internally consistent: a credible but conditional privilege-escalation-style argument-injection flaw (CWE-88) that depends on an attacker luring an administratively-privileged Cockpit user into interacting with a device the attacker controls. Treat it as a genuine-but-bounded priority: patch within a normal cycle, prioritize multi-user systems (shared workstations, kiosks, systems with console/desktop logins for non-admins) where the social/physical preconditions are realistic. No special configuration beyond use of the cockpit-storaged Tang/clevis workflow is required for an admin to trigger it.

Exploit ScenarioDerived

A local unprivileged user with an active console or desktop login attaches a crafted LUKS block device whose clevis token stores a Tang keyserver address beginning with '-'. When an administrator later opens that device in the Cockpit storage UI and edits its Tang keyserver settings, cockpit-storaged passes the attacker-controlled string into curl's argument vector without a '--' separator, so curl interprets it as an option (e.g. causing a file read or write) executed with the Cockpit session user's privileges. No public exploit code is identified at time of analysis, so this scenario is derived from the vulnerability description, not a demonstrated attack.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
No patch listed yet 0.2% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Nov 10, 2026

Cockpit-storaged on Red Hat Enterprise Linux 6 through 10 mishandles a Tang keyserver address read from a clevis token in a LUKS header: because the value is concatenated into curl's argument vector without a -- separator, an address beginning with - is parsed by curl as an option rather than a hostname. A local attacker who can attach a crafted LUKS/clevis block device can cause an administrative Cockpit user who edits that device's Tang keyserver settings to trigger curl option injection, resulting in arbitrary file read or write with the Cockpit session user's privileges. Exploitation is local, requires low privileges and administrator interaction, and no public exploit was identified at time of analysis.

RemediationAI

No vendor-released patch or fixed cockpit-storaged version is identified in the provided data; monitor the Red Hat CVE page and Bugzilla for updated packages across RHEL 6 through 10. The supplied sources do not document a vendor workaround. Because the vulnerable curl call is reached only when an administrator edits the Tang keyserver settings of a crafted LUKS/clevis device, a temporary operational control is to avoid editing Tang settings on untrusted or removable LUKS devices and to limit Cockpit administrative access to trusted users; this reduces exposure to the required administrator interaction but does not fix the underlying argument injection and may prevent legitimate Tang management on such devices.

Affects your stack

Find out whether the stacks and servers you run are on an affected version.

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

This is CWE-88 argument injection in the interaction between cockpit-storaged, LUKS/clevis metadata, and curl. A Tang keyserver address stored in a clevis token inside a LUKS header is passed into curl's command line without a -- end-of-options separator, so a value starting with - is interpreted as a curl option. The CVSS vector AV:L/AC:L/PR:L/UI:R confirms local access, low privileges, and required user interaction; scope is unchanged, with high confidentiality and integrity impact and no availability impact. The trigger is specific: the attacker must attach a crafted LUKS/clevis block device, its token must contain a leading-dash Tang address, and an administrative Cockpit user must then open the device and edit its Tang keyserver settings, which invokes the vulnerable curl call. The provided CPE data lists Red Hat Enterprise Linux 6, 7, 8, 9, and 10 as affected.

Know when Cockpit gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (redhat) PRIMARY 6.6 MEDIUM
AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:N
vuln.today AI 6.6 MEDIUM

Attacker needs a local login to attach the device (AV:L, PR:L) and an admin must edit Tang settings (UI:R); curl option injection yields arbitrary file read/write (C:H/I:H) but no availability impact.

3.1 AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:N
4.0 AV:L/AC:L/AT:N/PR:L/UI:A/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N
Red Hat 6.6 MEDIUM

Primary rating from Vendor (redhat).

CVSS VectorVendor: redhat

Attack Vector
Local
Attack Complexity
Low
Privileges Required
Low
User Interaction
Required
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
None

DescriptionCVE.org

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.

Threat Intelligence Overview

EPSS Score
0.2%
Top 92% exploitable
Prevalence
Medium
Cockpit console common on RHEL, but Tang/clevis LUKS storage workflow is specialized
Social Media
1
Sightings
Data Quality
6 sources
Confidence: High

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC No
EPSS 0.2%
Patch available No
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Defer
Exploitation
None
System Exposure· derived
Small
Automatable
No
Human Impact· derived
Medium
Technical Impact
Total

Priority Score

33
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +33
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Code Injection CRITICAL

Code injection occurs when an application accepts user input and passes it directly into a language interpreter or evaluator without proper sanitization.

Affected Products (CPE)CVE.org

cpe:2.3:a:red_hat:red_hat_enterprise_linux_10:*:*:*:*:*:*:*:*
cpe:2.3:a:red_hat:red_hat_enterprise_linux_6:*:*:*:*:*:*:*:*
cpe:2.3:a:red_hat:red_hat_enterprise_linux_7:*:*:*:*:*:*:*:*
cpe:2.3:a:red_hat:red_hat_enterprise_linux_8:*:*:*:*:*:*:*:*
cpe:2.3:a:red_hat:red_hat_enterprise_linux_9:*:*:*:*:*:*:*:*
CVE-2020-35847 CRITICAL POC
9.8 Dec 30

Agentejo Cockpit before 0.11.2 allows NoSQL injection via the Controller/Auth.php resetpassword function. Rated critical

CVE-2020-35846 CRITICAL POC
9.8 Dec 30

Agentejo Cockpit before 0.11.2 allows NoSQL injection via the Controller/Auth.php check function. Rated critical severit

CVE-2022-2713 CRITICAL POC
9.8 Aug 08

Insufficient Session Expiration in GitHub repository cockpit-hq/cockpit prior to 2.2.0. Rated critical severity (CVSS 9.

CVE-2020-35848 CRITICAL POC
9.8 Dec 30

Agentejo Cockpit before 0.11.2 allows NoSQL injection via the Controller/Auth.php newpassword function. Rated critical s

CVE-2018-15540 CRITICAL POC
9.8 Oct 15

Agentejo Cockpit performs actions on files without appropriate validation and therefore allows an attacker to traverse t

CVE-2018-9302 CRITICAL POC
9.1 May 02

SSRF (Server Side Request Forgery) in /assets/lib/fuc.js.php in Cockpit 0.4.4 through 0.5.5 allows remote attackers to r

CVE-2023-4195 HIGH POC
8.8 Aug 06

PHP Remote File Inclusion in GitHub repository cockpit-hq/cockpit prior to 2.6.3. Rated high severity (CVSS 8.8), this v

CVE-2023-37650 HIGH POC
8.8 Jul 20

A Cross-Site Request Forgery (CSRF) in the Admin portal of Cockpit CMS v2.5.2 allows attackers to execute arbitrary Admi

CVE-2023-1313 HIGH POC
8.8 Mar 10

Unrestricted Upload of File with Dangerous Type in GitHub repository cockpit-hq/cockpit prior to 2.4.1. Rated high sever

CVE-2023-0759 HIGH POC
8.8 Feb 09

Privilege Chaining in GitHub repository cockpit-hq/cockpit prior to 2.3.8. Rated high severity (CVSS 8.8), this vulnerab

CVE-2022-2818 HIGH POC
8.8 Aug 15

Improper Removal of Sensitive Information Before Storage or Transfer in GitHub repository cockpit-hq/cockpit prior to 2.

CVE-2026-34965 HIGH POC
8.7 Apr 29

Authenticated remote code execution in Cockpit CMS lets attackers holding collection-management privileges inject arbitr

Vendor StatusVendor

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy