Логотип exploitDog
Консоль
Логотип exploitDog

exploitDog

redhat логотип

CVE-2026-41651

Опубликовано: 22 апр. 2026
Источник: redhat
CVSS3: 8.8
EPSS Низкий

Описание

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. RUNNINGWAITING_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.

    A flaw was found in PackageKit. A time-of-check time-of-use (TOCTOU) race condition on transaction flags allows unprivileged users to install packages as root, resulting in a local privilege escalation.

Отчет

To exploit this issue, an attacker needs local access to the system and basic permissions to install packages via PackageKit, limiting its exposure to authenticated users. As this flaw allows a local user to escalate its privileges, specifically gaining administrative permissions, this vulnerability has been rated with an important severity.

Меры по смягчению последствий

To mitigate this vulnerability, mask the PackageKit service. Note that graphical package managers, such as GNOME software, will not work as expected until the service is unmasked.

sudo systemctl stop packagekit.service sudo systemctl mask packagekit.service

Затронутые пакеты

ПлатформаПакетСостояниеРекомендацияРелиз
Red Hat Enterprise Linux 6PackageKitNot affected
Red Hat Enterprise Linux 7compat-PackageKit08Not affected
Red Hat Enterprise Linux 10PackageKitFixedRHSA-2026:1914119.05.2026
Red Hat Enterprise Linux 10.0 Extended Update SupportPackageKitFixedRHSA-2026:1960120.05.2026
Red Hat Enterprise Linux 7 Extended Lifecycle SupportPackageKitFixedRHSA-2026:2214601.06.2026
Red Hat Enterprise Linux 8PackageKitFixedRHSA-2026:1163529.04.2026
Red Hat Enterprise Linux 8.4 Advanced Mission Critical Update SupportPackageKitFixedRHSA-2026:1755814.05.2026
Red Hat Enterprise Linux 8.4 Extended Update Support Long-Life Add-OnPackageKitFixedRHSA-2026:1755814.05.2026
Red Hat Enterprise Linux 8.6 Advanced Mission Critical Update SupportPackageKitFixedRHSA-2026:1756114.05.2026
Red Hat Enterprise Linux 8.6 Telecommunications Update ServicePackageKitFixedRHSA-2026:1756114.05.2026

Показывать по

Дополнительная информация

Статус:

Important
Дефект:
CWE-367
https://bugzilla.redhat.com/show_bug.cgi?id=2460604PackageKit: race condition vulnerability leads to arbitrary package installation as root

EPSS

Процентиль: 37%
0.0046
Низкий

8.8 High

CVSS3

Связанные уязвимости

CVSS3: 8.8
ubuntu
3 месяца назад

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 ...

CVSS3: 8.8
nvd
3 месяца назад

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 ha

CVSS3: 8.8
debian
3 месяца назад

PackageKit is a a D-Bus abstraction layer that allows the user to mana ...

suse-cvrf
3 месяца назад

Security update for PackageKit

suse-cvrf
3 месяца назад

Security update for PackageKit

EPSS

Процентиль: 37%
0.0046
Низкий

8.8 High

CVSS3

Уязвимость CVE-2026-41651