Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.
Sources: National Vulnerability Database, CISA KEV, Exploit-DB
CVE-2026-113495 Overview
CVE-2026-113495 is an information disclosure vulnerability in cockpit-machines, the virtual machine management interface for the Cockpit web console. The flaw occurs when Red Hat Subscription Management (RHSM) authentication tokens are passed as command-line arguments to background helper processes during image retrieval operations. A local, unprivileged attacker on a system that permits cross-user process inspection can read these arguments while the helper process is running. Captured tokens grant unauthorized access to RHSM resources for the duration of the token's validity window. The weakness is tracked as [CWE-214] Invocation of Process Using Visible Sensitive Information.
Critical Impact
Local attackers can harvest RHSM authentication tokens from process arguments and reuse them to access subscription-protected resources until the tokens expire.
Affected Products
- Red Hat cockpit-machines package
- Red Hat Enterprise Linux systems running the Cockpit web console with virtual machine management
- Systems configured to allow cross-user visibility of process arguments through /proc
Discovery Timeline
- 2026-10-20 - CVE CVE-2026-113495 published to NVD
- 2026-10-20 - Last updated in NVD database
Technical Details for CVE-2026-113495
Vulnerability Analysis
The vulnerability resides in how cockpit-machines launches background helper processes during virtual machine image retrieval. When a user initiates an image download that requires RHSM authentication, the parent process invokes a helper and passes the bearer token as a command-line argument. On Linux systems, process arguments are exposed through /proc/<pid>/cmdline, which is world-readable by default. Any local user who can enumerate processes can therefore read the token while the helper runs.
The disclosed token is a valid RHSM credential. An attacker who captures it can impersonate the user against Red Hat subscription endpoints, download entitled content, or query subscription metadata within the token lifetime. The data is not persisted to disk by the vulnerable code path, so exploitation requires the attacker to observe the process while it is active.
Root Cause
The root cause is improper handling of sensitive information during process invocation [CWE-214]. Secrets should be delivered through channels that are not visible to other users, such as environment variables scoped to the child process, standard input pipes, or on-disk files protected by file-system permissions. Passing tokens on the command line places them in a globally observable location.
Attack Vector
Exploitation requires local access and low privileges. The attacker must have an interactive or shell session on the same host as the victim and must be able to list processes belonging to other users. On systems where /proc is mounted with hidepid=0 (the historical default), any unprivileged user can read /proc/<pid>/cmdline for processes owned by other users. User interaction is required because the attacker must wait for a legitimate user to trigger an RHSM-authenticated image retrieval through cockpit-machines.
The vulnerability affects confidentiality but does not permit modification or denial of service on its own. No public proof-of-concept has been published. Detailed technical information is available in the Red Hat CVE-2026-113495 Advisory and Red Hat Bug Report #2556057.
Detection Methods for CVE-2026-113495
Indicators of Compromise
- Unexpected ps, top, or direct /proc/<pid>/cmdline reads performed by non-root users targeting cockpit-machines helper processes
- RHSM audit log entries showing token reuse from unexpected source addresses or at unusual times
- Local processes polling /proc at high frequency while a Cockpit session is active
Detection Strategies
- Audit shell history and process accounting (auditd, psacct) for repeated inspection of /proc/*/cmdline paths by unprivileged accounts
- Correlate Cockpit image-retrieval events with downstream RHSM API calls to identify tokens used from unexpected hosts or user agents
- Alert on execution of cockpit-machines helper binaries when RHSM arguments appear in command-line telemetry collected from endpoints
Monitoring Recommendations
- Forward Linux process-execution telemetry (including command-line arguments) to a central analytics platform for retrospective hunting
- Monitor Cockpit web console session logs for authenticated image downloads and align them with Red Hat subscription access logs
- Track /proc mount options across the fleet to detect hosts configured without hidepid protections
How to Mitigate CVE-2026-113495
Immediate Actions Required
- Apply the vendor update for cockpit-machines as soon as it is available from Red Hat; track status in the Red Hat CVE-2026-113495 Advisory
- Rotate any RHSM tokens that may have been used by cockpit-machines on multi-user hosts prior to patching
- Restrict interactive access to systems running Cockpit with RHSM-authenticated workflows
Patch Information
Refer to the Red Hat CVE-2026-113495 Advisory for fixed package versions and errata identifiers. Red Hat typically delivers cockpit-machines updates through standard dnf or yum channels once an erratum is published.
Workarounds
- Remount /proc with hidepid=2 and a trusted gid so that non-privileged users cannot read other users' process arguments
- Avoid using cockpit-machines RHSM-authenticated image retrieval on hosts with multiple interactive users until the patch is deployed
- Limit Cockpit access to administrators and enforce short-lived RHSM tokens where configurable
# Harden /proc to prevent cross-user process argument disclosure
# Add to /etc/fstab, then remount
proc /proc proc defaults,hidepid=2,gid=proc 0 0
# Apply without reboot
sudo mount -o remount,hidepid=2,gid=proc /proc
# Update cockpit-machines once the vendor patch is released
sudo dnf update cockpit-machines
Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.
Sources: National Vulnerability Database, CISA KEV, Exploit-DB

