p PatchFirst

CVE-2026-91151

CVE-2026-91151 · Cockpit: cockpit: local privilege escalation via insecure symlink handling in public key addition helper

CVSS 7.3 · High · EPSS 0.2% · Fix available

Compare with your installed version

Affected products and known fixed versions are public information. Compare them with your installed version.

Assess your server’s risks

The free check gives you a rating and a risk summary by technology stack, without signing up. It does not answer whether this particular vulnerability affects you.

Monitoring matches public information against your servers’ software. Detailed findings for your servers include the order of updates.

curl -fsSL https://patchfirst.dev/check.sh | sh
Check your server for free →

Channels carry general technology news; monitoring reports new findings on your servers in your dashboard, through browser notifications, in Telegram or via a webhook.

This page contains facts from public vulnerability sources. Check the original advisory before updating.

A flaw was found in Cockpit. A local authenticated user with control over a target account's home directory can exploit a privileged symlink dereference vulnerability in the `ssh-add-public-key.sh` helper. When this helper runs with elevated privileges, it can be tricked into following attacker-controlled symlinks within the `.ssh` or `authorized_keys` paths. This allows the attacker to arbitrarily change file ownership and modes, potentially leading to local privilege escalation and impacting the integrity, confidentiality, and availability of the system.

Published
Updated

Fixes in distributions

Stack: system

Affected products and versions

  • red hat enterprise linux 10

    Versions
    • ≥ 0:366.1.1-1.el10_3: Not affected (rpm)

    No fix published

  • red hat enterprise linux 10.2 extended update support

    Versions
    • ≥ 0:356.4.1-1.el10_2: Not affected (rpm)

    No fix published

  • red hat enterprise linux 8

    Versions
    • ≥ 0:310.10.2-1.el8_10: Not affected (rpm)

    No fix published

  • red hat enterprise linux 9

    Versions
    • ≥ 0:366.1.1-1.el9_9: Not affected (rpm)

    No fix published

  • red hat enterprise linux 9.8 extended update support

    Versions
    • ≥ 0:356.4.1-1.el9_8: Not affected (rpm)

    No fix published

  • red hat enterprise linux 7

    No fix published

  • red hat openshift dev spaces

    No fix published

  • cockpit Debian 12

    Versions
    • 287-1
    • 287.1-0+deb12u1
    • 287.1-0+deb12u2
    • 287.1-0+deb12u3
    • 288.1-1
    • 289-1
    All versions (136)
    • 290-1
    • 291-1
    • 292-1
    • 293-1
    • 294-1
    • 294.1-1
    • 295-1
    • 296-1
    • 297-1
    • 297-1~bpo12+1
    • 298-1
    • 299-1
    • 299-1~bpo12+1
    • 300-1
    • 300.1-1
    • 300.1-1~bpo12+1
    • 301-1
    • 301-1~bpo12+1
    • 302-1
    • 303-1
    • 303-1~bpo12+1
    • 304-1
    • 305-1
    • 305-1~bpo12+1
    • 306-1
    • 306-1~bpo12+1
    • 307-1
    • 307-1~bpo12+1
    • 308-1
    • 308-1~bpo12+1
    • 309-1
    • 309-1~bpo12+1
    • 310-1
    • 310.1-1
    • 310.1-1~bpo12+1
    • 311-1
    • 311-1~bpo12+1
    • 312-1
    • 313-1
    • 314-1
    • 316-1
    • 317-1
    • 317-2
    • 317-3
    • 317-4
    • 317-5
    • 318-1
    • 318-2
    • 318-3
    • 318-4
    • 318-4~bpo12+1
    • 319-1
    • 319-1~bpo12+1
    • 320-1
    • 320-1~bpo12+1
    • 321-1
    • 322-1
    • 322-1~bpo12+1
    • 323-1
    • 323-1~bpo12+1
    • 324-1
    • 324-1~bpo12+1
    • 325-1
    • 325-1~bpo12+1
    • 326-1
    • 327-1
    • 327-1~bpo12+1
    • 328-1
    • 329-1
    • 329-1~bpo12+1
    • 330-1
    • 330-2
    • 330-3
    • 330-4
    • 331-1
    • 331-1~bpo12+1
    • 332-1
    • 333-1
    • 333-1~bpo12+1
    • 334-1
    • 335-1
    • 335-2
    • 335-2~bpo12+1
    • 336-1
    • 337-1
    • 337-1~bpo12+1
    • 338-1
    • 339-1
    • 340-1
    • 341.1-1
    • 342-1
    • 343-1
    • 345-1
    • 345-1~bpo13+1
    • 346-1
    • 346-1~bpo13+1
    • 348-1
    • 348-1~bpo13+1
    • 350-1
    • 350-1~bpo13+1
    • 352-1
    • 352-1~bpo13+1
    • 353.1-1
    • 353.1-1~bpo13+1
    • 354-1
    • 354-1~bpo13+1
    • 355-1
    • 355-1~bpo13+1
    • 356-1
    • 356-1~bpo13+1
    • 358-1
    • 358-1~bpo13+1
    • 360-1
    • 360-1~bpo13+1
    • 362-1
    • 362-1~bpo13+1
    • 365-1
    • 365-1~bpo13+1
    • 366-1
    • 366-1~bpo13+1
    • 367-1
    • 367-1~bpo13+1
    • 368-1
    • 368-1~bpo13+1
    • 370-1
    • 370-1~bpo13+1
    • 371-1
    • 371-1~bpo13+1
    • 372-1
    • 372-1~bpo13+1
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • cockpit Debian 13

    Versions
    • 337-1
    • 337-1+deb13u1
    • 337-1+deb13u2
    • 338-1
    • 339-1
    • 340-1
    All versions (47)
    • 341.1-1
    • 342-1
    • 343-1
    • 345-1
    • 345-1~bpo13+1
    • 346-1
    • 346-1~bpo13+1
    • 348-1
    • 348-1~bpo13+1
    • 350-1
    • 350-1~bpo13+1
    • 352-1
    • 352-1~bpo13+1
    • 353.1-1
    • 353.1-1~bpo13+1
    • 354-1
    • 354-1~bpo13+1
    • 355-1
    • 355-1~bpo13+1
    • 356-1
    • 356-1~bpo13+1
    • 358-1
    • 358-1~bpo13+1
    • 360-1
    • 360-1~bpo13+1
    • 362-1
    • 362-1~bpo13+1
    • 365-1
    • 365-1~bpo13+1
    • 366-1
    • 366-1~bpo13+1
    • 367-1
    • 367-1~bpo13+1
    • 368-1
    • 368-1~bpo13+1
    • 370-1
    • 370-1~bpo13+1
    • 371-1
    • 371-1~bpo13+1
    • 372-1
    • 372-1~bpo13+1
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • cockpit Debian 14

    Versions
    • 337-1
    • 338-1
    • 339-1
    • 340-1
    • 341.1-1
    • 342-1
    All versions (44)
    • 343-1
    • 345-1
    • 345-1~bpo13+1
    • 346-1
    • 346-1~bpo13+1
    • 348-1
    • 348-1~bpo13+1
    • 350-1
    • 350-1~bpo13+1
    • 352-1
    • 352-1~bpo13+1
    • 353.1-1
    • 353.1-1~bpo13+1
    • 354-1
    • 354-1~bpo13+1
    • 355-1
    • 355-1~bpo13+1
    • 356-1
    • 356-1~bpo13+1
    • 358-1
    • 358-1~bpo13+1
    • 360-1
    • 360-1~bpo13+1
    • 362-1
    • 362-1~bpo13+1
    • 365-1
    • 365-1~bpo13+1
    • 366-1
    • 366-1~bpo13+1
    • 367-1
    • 367-1~bpo13+1
    • 368-1
    • 368-1~bpo13+1
    • 370-1
    • 370-1~bpo13+1
    • 371-1
    • 371-1~bpo13+1
    • 372-1~bpo13+1
    Affected ranges
    • ECOSYSTEM: < 372-1

    Update to 372-1

  • cockpit Ubuntu 18.04 LTS

    Versions
    • 151-1
    • 156-1
    • 157-1
    • 158-1
    • 160-1
    • 161-1
    All versions (9)
    • 162-1
    • 163-1
    • 164-1
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • cockpit Ubuntu 20.04 LTS

    Versions
    • 202.1-1
    • 204-1
    • 206-1
    • 207-1
    • 208-1
    • 210-1
    All versions (11)
    • 211-1
    • 212-1
    • 213-1
    • 214.1-1
    • 215-1
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • cockpit Ubuntu 22.04 LTS

    Versions
    • 252-1
    • 256-1
    • 257-1
    • 258-1
    • 259-1
    • 260-1
    All versions (11)
    • 261-1
    • 262-1
    • 263-1
    • 264-1
    • 264-1ubuntu0.22.04.1
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • cockpit Ubuntu 24.04 LTS

    Versions
    • 300.1-1
    • 303-1
    • 304-1
    • 305-1
    • 306-1
    • 307-1
    All versions (12)
    • 308-1
    • 309-1
    • 310.1-1
    • 311-1
    • 312-1build2
    • 314-1
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • cockpit Ubuntu 26.10

    Versions
    • 360-1
    • 362-1
    • 365-1
    • 367-1
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • cockpit Ubuntu 26.04 LTS

    Versions
    • 346-1
    • 348-1
    • 350-1
    • 352-1
    • 353.1-1
    • 354-1
    All versions (9)
    • 355-1
    • 356-1
    • 360-1
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

Original sources

Check your server →