nday
CVE-2026-41651 GHSA-f55j-vvr9-69xv

PackageKit vulnerable to TOCTOU Race on Transaction Flags leads to arbitrary package installation as root

PackageKit / PackageKit

Apareció una PoC pública 1 día después de la divulgación. nday aún no tiene constancia de una corrección; eso no significa que no exista parche. La recoge 1 de las 4 fuentes de PoC: github. No figura en el KEV de CISA.

tags weakness typerace condition accesslocalno user interaction
why these tags

nday derives these tags by fixed rules from the facts below; NVD, the CNA and other sources do not assign them. Vocabulary and rules: ~/tags.

race condition
CWE-367, stated by the CNA GitHub_M, the ADP redhat-SADP, NVD, republishing 0b0ca135-0b70-47e7-9f44-1890c2a1c46c y NVD, republishing [email protected]
local
AV:L in CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H (CVSS 3.1) from the CNA GitHub_M
no user interaction
UI:N in CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H (CVSS 3.1) from the CNA GitHub_M
etapa
POC
divulgación
divulgación → PoC
T+1d POC: solo fecha
cvss
8.8 HIGH v3.1

Ciclo de vida

Eje x en UTC; punto = minuto exacto, barra ancha = solo fecha, hueco = desconocida o inferida.
fecha desconocida
DISdivulgada
04-22T13:11Z
PATparcheada
sin registro aún
ANAanalizada
sin registro aún
POCPoC
04-23, solo fecha
ITWexplotada
sin registro aún
KEVen KEV
sin registro aún

Descripción

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.

Original text of the CVE record (cvelist), shown as published.

Exploit conditions

What an attack needs, read from the CVSS vector.
Attack vector AV:L
Local: needs a local or SSH session, or a user tricked into acting on the machine
Attack complexity AC:L
Low: no special conditions; the attacker can expect repeatable success
Privileges required PR:L
Low: ordinary user privileges
User interaction UI:N
None: no action by anyone other than the attacker

CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H

CVSS 3.1 vector from the CVE record, scored by the CNA GitHub_M.

Registro de eventos

+DISdivulgación

GitHub_M publicó el registro CVE. CVSS 8.8, severidad alta.

fuente cvelist · nday , importación masiva · en bruto
{
  "id": 422930,
  "type": "disclosed",
  "source": "cvelist",
  "url": "https://www.cve.org/CVERecord?id=CVE-2026-41651",
  "occurred_at": "2026-04-22T13:11:40.174Z",
  "observed_at": "2026-11-13T05:39:48.221185Z",
  "is_backfill": true,
  "dedupe_key": "",
  "detail": {
    "cvss": {
      "source": "cna",
      "vector": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H",
      "version": "3.1",
      "base_score": 8.8,
      "base_severity": "HIGH"
    },
    "ssvc": {
      "timestamp": "2026-05-05T00:00:00+00:00",
      "automatable": "no",
      "exploitation": "none",
      "technical_impact": "total"
    },
    "state": "PUBLISHED",
    "date_published": "2026-04-22T13:11:40.174Z",
    "assigner_short_name": "GitHub_M"
  }
}
2026-04-23solo fecha, según la fuente
+POCPoC pública

Repositorio de PoC en GitHub: Vozec/CVE-2026-41651. La fecha es el día de creación del repositorio.

fuente github 1218830559 · nday , importación masiva · en bruto
{
  "id": 554604,
  "type": "poc_published",
  "source": "github",
  "url": "https://github.com/Vozec/CVE-2026-41651",
  "occurred_at": "2026-04-23T08:57:29Z",
  "observed_at": "2026-11-26T00:00:00Z",
  "is_backfill": true,
  "dedupe_key": "1218830559",
  "detail": {
    "url": "https://github.com/Vozec/CVE-2026-41651",
    "title": "Vozec/CVE-2026-41651",
    "precision": "day"
  }
}

Report an error

report an error or omission

Something on this page wrong or missing? Tell the editors; if they accept it, this page's revision log says so publicly. Upstream data is not changed.

Debate de investigadores

0 investigadores lo mencionaron en los últimos 7 días

Publicaciones en X de investigadores de la lista de nday que mencionan este CVE, tal como se publicaron. nday no las verifica.

nday aún no ha recopilado publicaciones en X de investigadores de su lista sobre este CVE.

Discussion

0 comments

No comments yet.