CVE-2026-113496: Cockpit-machines: vnc console password disclosure through virt-xml command-line arguments

Published Oct 20, 2026
·
Updated

A flaw was found in cockpit-machines. Saving VNC console settings passes the configured password through virtXmlEdit() and runVirtXml() into a virt-xml --graphics command-line argument. A local unprivileged attacker on a host permitting cross-user process inspection can read the password while another user saves the settings. Because the dialog also submits an existing password when other settings are changed, changing only the console port can expose the credential again. A disclosed password may allow unauthorized access to a guest's VNC console when the console is active, reachable, and accepts that password. Loopback-only listening does not by itself prevent access by a local attacker.

Other sources

A flaw was found in cockpit-machines. When saving Virtual Network Computing (VNC) console settings, the configured password is passed directly as a command-line argument to an underlying system utility. A local unprivileged attacker on a host that allows cross-user process inspection could read the exposed password from the process list while another user modifies settings. This credential disclosure can allow unauthorized access to the guest virtual machine's graphical console.

— MITRE

Affected Software

1 affected component
Cockpit cockpit-machines

Event History

Oct 20, 2026
Data Sourced
via Red Hat·09:31 AM
DescriptionSeverityAffected Software
CVE Published
via MITRE·11:09 AM
Data Sourced
via MITRE·11:09 AM
DescriptionSeverityWeakness
Data Sourced
via NVD·12:17 PM
DescriptionSeverityWeakness

Frequently Asked Questions

1

Which systems are realistically exposed to this disclosure?

Hosts running cockpit-machines are exposed when they allow unprivileged users to inspect processes owned by other users. Exposure occurs while another user saves or modifies VNC console settings.

2

What does an attacker need to exploit the issue?

An attacker needs local unprivileged access to the host and the ability to inspect cross-user process information. They must observe the process list while VNC console settings are being modified.

3

What could an attacker obtain from the exposed command line?

The attacker could read the configured VNC console password. That password may allow unauthorized access to the affected guest virtual machine's graphical console.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203