REDHAT-BUG-2556058: Medium severity Cockpit cockpit-machines vulnerability

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.

Affected Software

1 affected component
Cockpit cockpit-machines

Event History

Oct 20, 2026
Data Sourced
via Red Hat·09:31 AM
DescriptionSeverityAffected Software

Frequently Asked Questions

1

What access does an attacker need to capture the VNC password?

The attacker must have local unprivileged access to the host and be able to inspect processes owned by other users. They must observe the host while another user saves the VNC console settings.

2

Can the password be exposed when an administrator changes a setting other than the password?

Yes. The settings dialog submits the existing password even when another console setting, such as the console port, is changed, which can expose the credential again.

3

Does binding the VNC console to loopback prevent this issue?

No. Loopback-only listening does not prevent a local attacker from reading the password through cross-user process inspection.

4

When can a captured password be used to access a guest console?

It may permit unauthorized VNC console access when the guest console is active, reachable, and configured to accept that password.

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