p PatchFirst

CVE-2026-41651

CVE-2026-41651 · PackageKit vulnerable to TOCTOU Race on Transaction Flags leads to arbitrary package installation as root

CVSS 8.8 · Hoch · EPSS 0,2% · Öffentlicher Exploit · Korrektur verfügbar

Vergleichen Sie mit Ihrer installierten Version

Betroffene Produkte und bekannte korrigierte Versionen sind öffentlich. Vergleichen Sie diese mit Ihrer installierten Version.

  • packagekitKeine Korrektur veröffentlicht
  • packagekit Debian 12Auf 1.2.6-5+deb12u1 aktualisieren
  • packagekit Debian 13Auf 1.3.1-1+deb13u1 aktualisieren
  • packagekit Debian 14Auf 1.3.5-1 aktualisieren
  • und 7 weitere

Installierte Version prüfen:

dpkg-query -W -f='${source:Package} ${binary:Package} ${Version}\n' | awk '$1=="packagekit"'

Bewerten Sie die Risiken Ihres Servers

Die kostenlose Prüfung liefert ohne Registrierung eine Bewertung und eine Risikoübersicht nach Technologie-Stacks. Sie beantwortet nicht, ob diese einzelne Schwachstelle Sie betrifft.

Die Überwachung gleicht öffentliche Informationen mit der Software Ihrer Server ab. Sie erhalten detaillierte Funde und eine Reihenfolge für Updates.

curl -fsSL https://patchfirst.dev/check.sh | sh
Server kostenlos prüfen →

Kanäle bieten allgemeine Nachrichten zu Technologien; neue Funde auf Ihren Servern meldet die Überwachung im Dashboard, per Browser-Benachrichtigung, in Telegram oder über einen Webhook.

Diese Seite enthält Fakten aus öffentlichen Sicherheitsquellen. Lesen Sie vor dem Aktualisieren die Originalmeldung.

PackageKit is a a D-Bus abstraction layer that allows the user to manage packages in a secure way using a cross-distro, cross-architecture API. PackageKit between and including versions 1.0.2 and 1.3.4 is vulnerable to a time-of-check time-of-use (TOCTOU) race condition on transaction flags that allows unprivileged users to install packages as root and thus leads to a local privilege escalation. This is patched in version 1.3.5.

A local unprivileged user can install arbitrary RPM packages as root, including executing RPM scriptlets, without authentication. The vulnerability is a TOCTOU race condition on `transaction->cached_transaction_flags` combined with a silent state-machine guard that discards illegal backward transitions while leaving corrupted flags in place. Three bugs exist in `src/pk-transaction.c`: 1. Unconditional flag overwrite (line 4036): `InstallFiles()` writes caller-supplied flags to `transaction->cached_transaction_flags` without checking whether the transaction has already been authorized/started. A second call blindly overwrites the flags even while the transaction is RUNNING. 2. Silent state-transition rejection (lines 873–882): `pk_transaction_set_state()` silently discards backward state transitions (e.g. `RUNNING` → `WAITING_FOR_AUTH`) but the flag overwrite at step 1 already happened. The transaction continues running with corrupted flags. 3. Late flag read at execution time (lines 2273–2277): The scheduler's idle callback reads cached_transaction_flags at dispatch time, not at authorization time. If flags were overwritten between authorization and execution, the backend sees the attacker's flags.

Veröffentlicht
Aktualisiert

Korrekturen in Distributionen

  • SUSE-SU-2026:5144-1 · SUSE Linux Enterprise High Performance Computing 15 SP5-ESPOS, SUSE Linux Enterprise High Performance Computing 15 SP5-LTSS, SUSE Linux Enterprise Server 15 SP5-LTSS, SUSE Linux Enterprise Server for SAP Applications 15 SP5 ·
  • RHSA-2026:22146 · Red Hat rhel els 7 ·
  • RLSA-2026:19141 · Rocky Linux 10 ·
  • RHSA-2026:19601 · Red Hat enterprise linux eus 10.0 ·
  • RHSA-2026:19454 · Red Hat rhel eus 9.4 appstream, Red Hat rhel eus 9.4 crb ·
  • RHSA-2026:19354 · Red Hat Enterprise Linux 9 appstream, Red Hat Enterprise Linux 9 crb ·
  • RHSA-2026:19141 · Red Hat Enterprise Linux 10.2 ·
  • RLSA-2026:19354 · Rocky Linux 9 ·
  • RHSA-2026:18036 · Red Hat rhel e4s 9.2 appstream ·
  • RHSA-2026:18031 · Red Hat rhel eus 9.6 appstream, Red Hat rhel eus 9.6 crb ·
  • ALSA-2026:19141 · AlmaLinux 10 ·
  • ALSA-2026:19354 · AlmaLinux 9 ·
  • RHSA-2026:18024 · Red Hat rhel e4s 9.0 appstream ·
  • RHSA-2026:17561 · Red Hat rhel aus 8.6 appstream, Red Hat rhel e4s 8.6 appstream, Red Hat rhel tus 8.6 appstream ·
  • RHSA-2026:17558 · Red Hat rhel aus 8.4 appstream, Red Hat rhel eus long life 8.4 appstream ·
  • RHSA-2026:17560 · Red Hat rhel e4s 8.8 appstream, Red Hat rhel tus 8.8 appstream ·
  • RLSA-2026:11635 · Rocky Linux 8 ·
  • RLSA-2026:11504 · Rocky Linux 9 ·
  • RHSA-2026:11635 · Red Hat Enterprise Linux 8 appstream, Red Hat Enterprise Linux 8 crb ·
  • RHSA-2026:11504 · Red Hat Enterprise Linux 9 appstream, Red Hat Enterprise Linux 9 crb ·
  • USN-8195-3 · Ubuntu Pro 16.04 LTS, Ubuntu Pro 18.04 LTS, Ubuntu Pro 20.04 LTS ·
  • ALSA-2026:11504 · AlmaLinux 9 ·
  • ALSA-2026:11635 · AlmaLinux 8 ·
  • openSUSE-SU-2026:10629-1 · openSUSE Tumbleweed ·
  • USN-8195-2 · Ubuntu 26.04 LTS ·
  • USN-8195-1 · Ubuntu 22.04 LTS, Ubuntu 24.04 LTS, Ubuntu 25.10 ·
  • DLA-4545-1 · Debian 11 ·
  • DSA-6226-1 · Debian 12, Debian 13 ·

Technologie-Stack: system

Betroffene Produkte und Versionen

  • packagekit

    Softwareversionen
    • >= 1.0.2, <= 1.3.4: Betroffen

    Keine Korrektur veröffentlicht

  • packagekit Debian 12

    Softwareversionen
    • 1.2.6-5
    Betroffene Versionsbereiche
    • ECOSYSTEM: < 1.2.6-5+deb12u1

    Auf 1.2.6-5+deb12u1 aktualisieren

  • packagekit Debian 13

    Softwareversionen
    • 1.3.1-1
    Betroffene Versionsbereiche
    • ECOSYSTEM: < 1.3.1-1+deb13u1

    Auf 1.3.1-1+deb13u1 aktualisieren

  • packagekit Debian 14

    Softwareversionen
    • 1.3.1-1
    • 1.3.2-1
    • 1.3.3-1
    • 1.3.4-1
    • 1.3.4-3
    Betroffene Versionsbereiche
    • ECOSYSTEM: < 1.3.5-1

    Auf 1.3.5-1 aktualisieren

  • packagekit Ubuntu Pro 16.04 LTS

    Softwareversionen
    • 0.8.17-4ubuntu6~gcc5.3
    • 0.8.17-4ubuntu6~gcc5.4ubuntu1
    • 0.8.17-4ubuntu6~gcc5.4ubuntu1.1
    • 0.8.17-4ubuntu6~gcc5.4ubuntu1.2
    • 0.8.17-4ubuntu6~gcc5.4ubuntu1.3
    • 0.8.17-4ubuntu6~gcc5.4ubuntu1.4
    Alle Versionen (7)
    • 0.8.17-4ubuntu6~gcc5.4ubuntu1.5
    Betroffene Versionsbereiche
    • ECOSYSTEM: < 0.8.17-4ubuntu6~gcc5.4ubuntu1.5+esm1

    Auf 0.8.17-4ubuntu6~gcc5.4ubuntu1.5+esm1 aktualisieren

  • packagekit Ubuntu Pro 18.04 LTS

    Softwareversionen
    • 1.1.7-1
    • 1.1.9-1
    • 1.1.9-1ubuntu1
    • 1.1.9-1ubuntu2
    • 1.1.9-1ubuntu2.18.04.1
    • 1.1.9-1ubuntu2.18.04.3
    Alle Versionen (9)
    • 1.1.9-1ubuntu2.18.04.4
    • 1.1.9-1ubuntu2.18.04.5
    • 1.1.9-1ubuntu2.18.04.6
    Betroffene Versionsbereiche
    • ECOSYSTEM: < 1.1.9-1ubuntu2.18.04.6+esm1

    Auf 1.1.9-1ubuntu2.18.04.6+esm1 aktualisieren

  • packagekit Ubuntu Pro 20.04 LTS

    Softwareversionen
    • 1.1.12-5ubuntu4
    • 1.1.13-1
    • 1.1.13-2
    • 1.1.13-2build1
    • 1.1.13-2ubuntu1
    • 1.1.13-2ubuntu1.1
    Betroffene Versionsbereiche
    • ECOSYSTEM: < 1.1.13-2ubuntu1.1+esm1

    Auf 1.1.13-2ubuntu1.1+esm1 aktualisieren

  • packagekit Ubuntu 22.04 LTS

    Softwareversionen
    • 1.2.2-2ubuntu3
    • 1.2.4-1ubuntu1
    • 1.2.4-1ubuntu2
    • 1.2.5-1ubuntu1
    • 1.2.5-2ubuntu1
    • 1.2.5-2ubuntu2
    Alle Versionen (7)
    • 1.2.5-2ubuntu3
    Betroffene Versionsbereiche
    • ECOSYSTEM: < 1.2.5-2ubuntu3.1

    Auf 1.2.5-2ubuntu3.1 aktualisieren

  • packagekit Ubuntu 24.04 LTS

    Softwareversionen
    • 1.2.7-1
    • 1.2.8-1
    • 1.2.8-1build1
    • 1.2.8-2
    • 1.2.8-2build2
    • 1.2.8-2build3
    Alle Versionen (10)
    • 1.2.8-2ubuntu1
    • 1.2.8-2ubuntu1.1
    • 1.2.8-2ubuntu1.2
    • 1.2.8-2ubuntu1.4
    Betroffene Versionsbereiche
    • ECOSYSTEM: < 1.2.8-2ubuntu1.5

    Auf 1.2.8-2ubuntu1.5 aktualisieren

  • packagekit Ubuntu 25.10

    Softwareversionen
    • 1.3.0-3build1
    • 1.3.1-1
    • 1.3.1-1ubuntu1
    Betroffene Versionsbereiche
    • ECOSYSTEM: < 1.3.1-1ubuntu1.1

    Auf 1.3.1-1ubuntu1.1 aktualisieren

  • packagekit Ubuntu 26.04 LTS

    Softwareversionen
    • 1.3.1-1
    • 1.3.2-1
    • 1.3.3-1
    • 1.3.4-1
    • 1.3.4-3
    Betroffene Versionsbereiche
    • ECOSYSTEM: < 1.3.4-3ubuntu1

    Auf 1.3.4-3ubuntu1 aktualisieren

Originalquellen

Prüfen Sie Ihren Server →