CVE-2026-4631

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.
Configurations

No configuration.

History

26 Oct 2026, 21:10

Type Values Removed Values Added
Summary
  • (es) La función de inicio de sesión remoto de Cockpit pasa los nombres de host y nombres de usuario proporcionados por el usuario desde la interfaz web al cliente SSH sin validación ni saneamiento. Un atacante con acceso de red al servicio web de Cockpit puede elaborar una única solicitud HTTP al punto final de inicio de sesión que inyecta opciones SSH maliciosas o comandos de shell, logrando la ejecución de código en el host de Cockpit sin credenciales válidas. La inyección ocurre durante el flujo de autenticación antes de que se realice cualquier verificación de credenciales, lo que significa que no se requiere inicio de sesión para explotar la vulnerabilidad.

15 Oct 2026, 19:17

Type Values Removed Values Added
References
  • () https://access.redhat.com/errata/RHBA-2026:21387 -
  • () https://access.redhat.com/errata/RHBA-2026:21388 -

Information

Published : 2026-04-07 17:16

Updated : 2026-10-26 21:10


NVD link : CVE-2026-4631

Mitre link : CVE-2026-4631

CVE.ORG link : CVE-2026-4631


JSON object : View

Products Affected

No product.

CWE
CWE-78

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