CVE-2026-125672

NameCVE-2026-125672
DescriptionA 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.
SourceCVE (at NVD; CERT, ENISA, LWN, oss-sec, fulldisc, Debian ELTS, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more)

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
cockpit (PTS)bookworm287.1-0+deb12u3vulnerable
bookworm (security)287.1-0+deb12u2vulnerable
trixie (security), trixie337-1+deb13u2vulnerable
forky, sid373-1fixed

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
cockpitsource(unstable)373-1

Notes

[trixie] - cockpit <no-dsa> (Minor issue)
[bookworm] - cockpit <postponed> (Minor issue)
https://bugzilla.redhat.com/show_bug.cgi?id=2569357
Fixed by: https://github.com/cockpit-project/cockpit/commit/b12c02c4e54d28934129ab54ed687fafa232ac33 (373)

Search for package or bug name: Reporting problems