LiveActive security incident?Get immediate response
CVE Record

CVE-2026-4631: Cockpit: cockpit: unauthenticated remote code execution due to ssh command-line argument injection

Cockpit's remote login feature passes user-supplied hostnames and usernames from the web interface to the SSH client without validation or sanitization. An attacker with network access to the Cockpit web service can craft a single HTTP request to the login endpoint that injects malicious SSH options or shell commands, achieving code execution on the Cockpit host without valid credentials. The injection occurs during the authentication flow before any credential verification takes place, meaning no login is required to exploit the vulnerability.

CriticalCVSS 9.8Not KEV-listedUpdated
Glexia's TakeAutomated analysiscritical

Security readout for executives and security teams

Plain-English summary

CVE-2026-4631 is a critical Cockpit flaw where the web login path can pass untrusted host or user input into SSH. A network attacker may achieve code execution on the Cockpit host before authentication. Treat exposed Cockpit management interfaces as urgent.

Executive priority

Prioritize same-day assessment and remediation for exposed Cockpit hosts. This is unauthenticated remote code execution against an administrative service, so compromise could lead directly to server control.

Technical view

The issue is CWE-78 command injection in Cockpit remote login. Unsanitized hostname and username values from the web interface are passed to the SSH client, allowing SSH option or command-line argument injection during authentication flow. Sources rate it CVSS 9.8 with network, low-complexity, no-credential exploitation.

Likely exposure

Exposure is most likely where Cockpit web service is reachable on affected Red Hat Enterprise Linux 9, 9.6 EUS, 10, or 10.0 EUS systems. The bundle marks RHEL 7 and 8 as unaffected.

Exploitation context

The bundle says exploitation requires only network access to Cockpit and no valid credentials. KEV is false, and the provided sources do not establish active exploitation in the wild.

Researcher notes

Evidence supports unauthenticated command injection before credential verification. The source bundle does not include exploit samples, fixed package versions, or proof of active exploitation, so validation should focus on affected product inventory and vendor advisory status.

Mitigation direction

  • Apply Red Hat updates from RHSA-2026:7381 through RHSA-2026:7384 where applicable.
  • Check Red Hat CVE guidance for corrected cockpit package details before rollout.
  • Restrict Cockpit web access to trusted administrative networks only.
  • Disable or isolate Cockpit where it is not operationally required.

Validation and detection

  • Inventory systems running the cockpit package on RHEL 9, 9.6 EUS, 10, or 10.0 EUS.
  • Confirm installed cockpit versions against Red Hat advisory guidance.
  • Verify Cockpit web endpoints are not broadly internet-accessible.
  • Review authentication and web service logs for suspicious pre-login requests.
Prepared
Confidence
high
Sources
9

Generated from the cited source records. This long-tail analysis has not been individually reviewed by a named human.

Potential ATT&CK relevance

Conservative CVE-to-ATT&CK context

These mappings and lookup hints may be relevant to the vulnerability behavior, CWE, affected product, or exposure path. Glexia-inferred context is not an official MITRE, ATT&CK, CWE, or CVE Program mapping.

ATT&CK lookup starting points

Use these exact CWE pages and searches to review the Glexia ATT&CK library from this CVE's weakness and description context.

cwe · medium confidence lookup

CWE-78: Command execution behavior lookup

Command injection weaknesses can lead defenders to review execution techniques and command interpreter telemetry. Open the exact CWE lookup page first, then review the ATT&CK searches from that MITRE weakness context. This is a Glexia lookup hint, not an official ATT&CK mapping.

Open ATT&CK lookup
description · low confidence lookup

Execution behavior lookup

The CVE wording references code or command execution, so execution technique review may help defensive triage. This is a Glexia inferred lookup path, not an official MITRE, ATT&CK, or CVE Program mapping.

Open ATT&CK lookup
description · low confidence lookup

Credential and access behavior lookup

The CVE wording references authentication or credential exposure, so valid-account and credential-access review may help. This is a Glexia inferred lookup path, not an official MITRE, ATT&CK, or CVE Program mapping.

Open ATT&CK lookup
cve · low confidence lookup

CVE-2026-4631 mapping review

Open the CVE-to-ATT&CK bridge for reviewed, inferred, or future official mappings tied to this CVE.

Open ATT&CK lookup
Vulnerability profileCVE Program record
Severity
Critical
CVSS
9.8 (3.1)
Known Exploited
No
Published

Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Official CVE source material

CNA and ADP enrichment extracted from CVE v5

These fields come from the CVE record and ADP containers, not from Glexia's Take. They preserve time-varying source decisions such as CISA SSVC, KEV status, CVSS metrics, and provider references.

2CVSS vectors
7Timeline events
3ADP providers
8Source links

SSVC decision data

CISA-ADPCISA Coordinator
Timestamp
Version
2.0.3
Exploitation: noneAutomatable: noTechnical Impact: total

CVSS vector scores

2 official scores

We collect every scored CVSS vector available in the official CNA and ADP containers. When more than one version is present, the table keeps the source vectors side by side instead of collapsing them into the highest score.

ScoreVersionSeverityVectorExploitImpactSource
9.8CVSS 3.1CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H3.95.9redhat
9.8CVSS 3.1CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H3.95.9redhat-SADP

Vulnerability scoring details

Base CVSS 3.1 score

9.8Critical
CVSS 3.1 vector shape for CVE-2026-4631Attack VectorAttack ComplexityPrivileges RequiredUser InteractionScopeConfidentiality ImpactIntegrity ImpactAvailability Impact

Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Attack Vector
NetworkAdjacentLocalPhysical
Attack Complexity
LowHigh
Privileges Required
NoneLowHigh
User Interaction
NoneRequired
Scope
ChangedUnchanged
Confidentiality Impact
HighLowNone
Integrity Impact
HighLowNone
Availability Impact
HighLowNone

Vulnerability timeline

Timeline events are normalized from CVE metadata, CNA source timelines, ADP timelines, and KEV metadata when present.

  1. ADP timelineredhat-SADP

    Reported to Red Hat.

  2. Source timelineredhat

    Reported to Red Hat.

  3. CVE reservedCVE Program

    The CVE ID was reserved by the assigning CNA.

  4. ADP timelineredhat-SADP

    Made public.

  5. Source timelineredhat

    Made public.

  6. CVE publishedCVE Program

    The CVE record was published.

  7. CVE updatedCVE Program

    The CVE record metadata indicates this as the latest update time.

ADP provider summaries

CISA-ADPCISA ADP Vulnrichment
other:ssvc
CVECVE Program Container
redhat-SADPcockpit: Cockpit: Unauthenticated remote code execution due to SSH command-line argument injection
other:Red Hat severity ratingcvssV3_1
  • 2026-03-23T08:22:37.323Z: Reported to Red Hat.
  • 2026-04-07T15:52:00.000Z: Made public.

Source materials

Affected products

Products and packages named in the record

VendorProductVersion / packageStatus
Red HatRed Hat Enterprise Linux 10cockpit, 0:344-3.el10_1affected
Red HatRed Hat Enterprise Linux 10.0 Extended Update Supportcockpit, 0:334.1-3.el10_0affected
Red HatRed Hat Enterprise Linux 9cockpit, 0:344-2.el9_7affected
Red HatRed Hat Enterprise Linux 9cockpit, 0:344-2.el9_7affected
Red HatRed Hat Enterprise Linux 9.6 Extended Update Supportcockpit, 0:334.2-2.el9_6affected
Red HatRed Hat Enterprise Linux 7cockpitunaffected
Red HatRed Hat Enterprise Linux 8cockpitunaffected
Weakness

CWE details

CWE links open Glexia weakness intelligence pages with official CWE context, developer remediation guidance, and related CVE mappings.

CWE-78 · source CWE mapping

Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')

Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection') represents a recurring weakness pattern that can create exploitable paths when design, validation, or implementation controls are missing.