Nixpkgs security tracker

Login with GitHub

Details of issue NIXPKGS-2026-1001

NIXPKGS-2026-1001
published on
Permalink CVE-2026-4631
9.8 CRITICAL
  • CVSS version: 3.1
  • Attack vector (AV): NETWORK
  • Attack complexity (AC): LOW
  • Privileges required (PR): NONE
  • User interaction (UI): NONE
  • Scope (S): UNCHANGED
  • Confidentiality impact (C): HIGH
  • Integrity impact (I): HIGH
  • Availability impact (A): HIGH
updated 3 weeks ago by @LeSuisse Activity log
  • Created suggestion
  • @LeSuisse ignored
    4 packages
    • cockpit-zfs
    • cockpit-files
    • cockpit-podman
    • cockpit-machines
  • @LeSuisse accepted
  • @LeSuisse published on GitHub
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.

References

Ignored references (1)

Affected products

cockpit

Matching in nixpkgs

pkgs.cockpit

Web-based graphical interface for servers

  • nixos-unstable 359
    • nixpkgs-unstable 359
    • nixos-unstable-small 359
  • nixos-25.11 351
    • nixos-25.11-small 351
    • nixpkgs-25.11-darwin 351
Ignored packages (4)

pkgs.cockpit-files

Featureful file browser for Cockpit

  • nixos-unstable 39
    • nixpkgs-unstable 39
    • nixos-unstable-small 39

pkgs.cockpit-podman

Cockpit UI for podman containers

  • nixos-unstable 124
    • nixpkgs-unstable 124
    • nixos-unstable-small 124

Package maintainers