CVE-2026-125672Cockpit: cockpit-storaged: tang keyserver address from an untrusted luks header clevis…
A flaw was found in cockpit-storaged. A Tang keyserver address read from a clevis token in a LUKS header is concatenated into curl's argument vector without a "--" separator. An address beginning with "-" is parsed by curl as an option instead of a hostname, allowing an attacker who can attach a crafted LUKS/clevis block device (for example, a local unprivileged user with an active console or desktop login session) to have an administratively-privileged Cockpit user unknowingly trigger curl option injection when editing the device's Tang keyserver settings. This can lead to arbitrary file read or write as the Cockpit session user.
What to do
Debian, Red Hat, Ubuntu have not shipped a fix for every release yet.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Ubuntu 26.10 | cockpit | Fix pending | UBUNTU-CVE-2026-125672 | |
| Ubuntu 26.04 | cockpit | Under investigation | UBUNTU-CVE-2026-125672 | |
| Ubuntu 24.04 | cockpit | Under investigation | UBUNTU-CVE-2026-125672 | |
| Ubuntu 22.04 | cockpit | Under investigation | UBUNTU-CVE-2026-125672 | |
| Ubuntu 20.04 | cockpit | Fix pending | UBUNTU-CVE-2026-125672 | |
| Ubuntu 18.04 | cockpit | Fix pending | UBUNTU-CVE-2026-125672 | |
| Debian 14 | cockpit | Fix pending | DEBIAN-CVE-2026-125672 | |
| Debian 13 | cockpit | Fix pending | DEBIAN-CVE-2026-125672 | |
| Debian 12 | cockpit | Fix pending | DEBIAN-CVE-2026-125672 | |
| Red Hat Enterprise Linux 10 | cockpit | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 10 | cockpit-bridge | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 10 | cockpit-doc | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 10 | cockpit-packagekit | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 10 | cockpit-storaged | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 10 | cockpit-system | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 10 | cockpit-ws | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 10 | cockpit-ws-selinux | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 9 | cockpit | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 9 | cockpit-bridge | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 9 | cockpit-doc | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 9 | cockpit-packagekit | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 9 | cockpit-pcp | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 9 | cockpit-storaged | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 9 | cockpit-system | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 9 | cockpit-ws | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 9 | cockpit-ws-selinux | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 8 | cockpit | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 8 | cockpit-bridge | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 8 | cockpit-doc | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 8 | cockpit-system | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 8 | cockpit-ws | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 7 | cockpit | Will not fix Out of support scope | ||
| Red Hat Enterprise Linux 7 | cockpit-bridge | Will not fix Out of support scope | ||
| Red Hat Enterprise Linux 7 | cockpit-doc | Will not fix Out of support scope | ||
| Red Hat Enterprise Linux 7 | cockpit-machines-ovirt | Will not fix Out of support scope | ||
| Red Hat Enterprise Linux 7 | cockpit-system | Will not fix Out of support scope | ||
| Red Hat Enterprise Linux 7 | cockpit-ws | Will not fix Out of support scope | ||
| Red Hat Enterprise Linux 6 | cockpit | Will not fix Out of support scope |
What the vendor says
As published in the CVE record by redhat, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
- Red Hat Enterprise Linux 10
- Red Hat Enterprise Linux 6
- Red Hat Enterprise Linux 7
- Red Hat Enterprise Linux 8
- Red Hat Enterprise Linux 9
Workaround: There is no complete mitigation available without a code fix. As a partial mitigation, administrators can restrict local interactive console or desktop login access on hosts running Cockpit's Storage module to trusted users only, and should carefully verify the Keyserver address shown in the "Edit Tang keyserver" dialog before clicking Save -- a value that does not resemble a well-formed hostname (for example, one starting with a hyphen) should not be accepted.
References
- https://access.redhat.com/security/cve/CVE-2026-125672
- https://bugzilla.redhat.com/show_bug.cgi?id=2569357
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.