OESA-2026-2140 (CVE-2026-41651)

Vulnerability from osv_openeuler – Published: 2026-05-03 11:11 – Updated: 2026-08-06 11:11 – Source website
VLAI
Summary
PackageKit security update
Details

PackageKit is a D-Bus abstraction layer that allows the session user to manage packages in a secure way using a cross-distro, cross-architecture API.

Security Fix(es):

PackageKit is 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.(CVE-2026-41651)


{
  "affected": [
    {
      "ecosystem_specific": {
        "aarch64": [
          "PackageKit-1.1.12-11.oe2203sp4.aarch64.rpm",
          "PackageKit-command-not-found-1.1.12-11.oe2203sp4.aarch64.rpm",
          "PackageKit-debuginfo-1.1.12-11.oe2203sp4.aarch64.rpm",
          "PackageKit-debugsource-1.1.12-11.oe2203sp4.aarch64.rpm",
          "PackageKit-devel-1.1.12-11.oe2203sp4.aarch64.rpm"
        ],
        "noarch": [
          "PackageKit-help-1.1.12-11.oe2203sp4.noarch.rpm"
        ],
        "src": [
          "PackageKit-1.1.12-11.oe2203sp4.src.rpm"
        ],
        "x86_64": [
          "PackageKit-1.1.12-11.oe2203sp4.x86_64.rpm",
          "PackageKit-command-not-found-1.1.12-11.oe2203sp4.x86_64.rpm",
          "PackageKit-debuginfo-1.1.12-11.oe2203sp4.x86_64.rpm",
          "PackageKit-debugsource-1.1.12-11.oe2203sp4.x86_64.rpm",
          "PackageKit-devel-1.1.12-11.oe2203sp4.x86_64.rpm"
        ]
      },
      "package": {
        "ecosystem": "openEuler:22.03-LTS-SP4",
        "name": "PackageKit",
        "purl": "pkg:rpm/openEuler/PackageKit\u0026distro=openEuler-22.03-LTS-SP4"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "1.1.12-11.oe2203sp4"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ]
    },
    {
      "ecosystem_specific": {
        "aarch64": [
          "PackageKit-1.2.8-5.oe2403.aarch64.rpm",
          "PackageKit-command-not-found-1.2.8-5.oe2403.aarch64.rpm",
          "PackageKit-debuginfo-1.2.8-5.oe2403.aarch64.rpm",
          "PackageKit-debugsource-1.2.8-5.oe2403.aarch64.rpm",
          "PackageKit-devel-1.2.8-5.oe2403.aarch64.rpm",
          "PackageKit-gtk3-module-1.2.8-5.oe2403.aarch64.rpm",
          "PackageKit-1.2.8-5.oe2403sp1.aarch64.rpm",
          "PackageKit-command-not-found-1.2.8-5.oe2403sp1.aarch64.rpm",
          "PackageKit-debuginfo-1.2.8-5.oe2403sp1.aarch64.rpm",
          "PackageKit-debugsource-1.2.8-5.oe2403sp1.aarch64.rpm",
          "PackageKit-devel-1.2.8-5.oe2403sp1.aarch64.rpm",
          "PackageKit-gtk3-module-1.2.8-5.oe2403sp1.aarch64.rpm",
          "PackageKit-1.2.8-5.oe2403sp3.aarch64.rpm",
          "PackageKit-command-not-found-1.2.8-5.oe2403sp3.aarch64.rpm",
          "PackageKit-debuginfo-1.2.8-5.oe2403sp3.aarch64.rpm",
          "PackageKit-debugsource-1.2.8-5.oe2403sp3.aarch64.rpm",
          "PackageKit-devel-1.2.8-5.oe2403sp3.aarch64.rpm",
          "PackageKit-gtk3-module-1.2.8-5.oe2403sp3.aarch64.rpm"
        ],
        "noarch": [
          "PackageKit-help-1.2.8-5.oe2403.noarch.rpm",
          "PackageKit-help-1.2.8-5.oe2403sp1.noarch.rpm",
          "PackageKit-help-1.2.8-5.oe2403sp3.noarch.rpm"
        ],
        "src": [
          "PackageKit-1.2.8-5.oe2403.src.rpm",
          "PackageKit-1.2.8-5.oe2403sp1.src.rpm",
          "PackageKit-1.2.8-5.oe2403sp3.src.rpm"
        ],
        "x86_64": [
          "PackageKit-1.2.8-5.oe2403.x86_64.rpm",
          "PackageKit-command-not-found-1.2.8-5.oe2403.x86_64.rpm",
          "PackageKit-debuginfo-1.2.8-5.oe2403.x86_64.rpm",
          "PackageKit-debugsource-1.2.8-5.oe2403.x86_64.rpm",
          "PackageKit-devel-1.2.8-5.oe2403.x86_64.rpm",
          "PackageKit-gtk3-module-1.2.8-5.oe2403.x86_64.rpm",
          "PackageKit-1.2.8-5.oe2403sp1.x86_64.rpm",
          "PackageKit-command-not-found-1.2.8-5.oe2403sp1.x86_64.rpm",
          "PackageKit-debuginfo-1.2.8-5.oe2403sp1.x86_64.rpm",
          "PackageKit-debugsource-1.2.8-5.oe2403sp1.x86_64.rpm",
          "PackageKit-devel-1.2.8-5.oe2403sp1.x86_64.rpm",
          "PackageKit-gtk3-module-1.2.8-5.oe2403sp1.x86_64.rpm",
          "PackageKit-1.2.8-5.oe2403sp3.x86_64.rpm",
          "PackageKit-command-not-found-1.2.8-5.oe2403sp3.x86_64.rpm",
          "PackageKit-debuginfo-1.2.8-5.oe2403sp3.x86_64.rpm",
          "PackageKit-debugsource-1.2.8-5.oe2403sp3.x86_64.rpm",
          "PackageKit-devel-1.2.8-5.oe2403sp3.x86_64.rpm",
          "PackageKit-gtk3-module-1.2.8-5.oe2403sp3.x86_64.rpm"
        ]
      },
      "package": {
        "ecosystem": "openEuler:24.03-LTS",
        "name": "PackageKit",
        "purl": "pkg:rpm/openEuler/PackageKit\u0026distro=openEuler-24.03-LTS"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "1.2.8-5.oe2403sp3"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ]
    },
    {
      "ecosystem_specific": {
        "aarch64": [
          "PackageKit-1.2.8-5.oe2403sp1.aarch64.rpm",
          "PackageKit-command-not-found-1.2.8-5.oe2403sp1.aarch64.rpm",
          "PackageKit-debuginfo-1.2.8-5.oe2403sp1.aarch64.rpm",
          "PackageKit-debugsource-1.2.8-5.oe2403sp1.aarch64.rpm",
          "PackageKit-devel-1.2.8-5.oe2403sp1.aarch64.rpm",
          "PackageKit-gtk3-module-1.2.8-5.oe2403sp1.aarch64.rpm"
        ],
        "noarch": [
          "PackageKit-help-1.2.8-5.oe2403sp1.noarch.rpm"
        ],
        "src": [
          "PackageKit-1.2.8-5.oe2403sp1.src.rpm"
        ],
        "x86_64": [
          "PackageKit-1.2.8-5.oe2403sp1.x86_64.rpm",
          "PackageKit-command-not-found-1.2.8-5.oe2403sp1.x86_64.rpm",
          "PackageKit-debuginfo-1.2.8-5.oe2403sp1.x86_64.rpm",
          "PackageKit-debugsource-1.2.8-5.oe2403sp1.x86_64.rpm",
          "PackageKit-devel-1.2.8-5.oe2403sp1.x86_64.rpm",
          "PackageKit-gtk3-module-1.2.8-5.oe2403sp1.x86_64.rpm"
        ]
      },
      "package": {
        "ecosystem": "openEuler:24.03-LTS-SP1",
        "name": "PackageKit",
        "purl": "pkg:rpm/openEuler/PackageKit\u0026distro=openEuler-24.03-LTS-SP1"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "1.2.8-5.oe2403sp1"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ]
    },
    {
      "ecosystem_specific": {
        "aarch64": [
          "PackageKit-1.2.8-5.oe2403sp3.aarch64.rpm",
          "PackageKit-command-not-found-1.2.8-5.oe2403sp3.aarch64.rpm",
          "PackageKit-debuginfo-1.2.8-5.oe2403sp3.aarch64.rpm",
          "PackageKit-debugsource-1.2.8-5.oe2403sp3.aarch64.rpm",
          "PackageKit-devel-1.2.8-5.oe2403sp3.aarch64.rpm",
          "PackageKit-gtk3-module-1.2.8-5.oe2403sp3.aarch64.rpm"
        ],
        "noarch": [
          "PackageKit-help-1.2.8-5.oe2403sp3.noarch.rpm"
        ],
        "src": [
          "PackageKit-1.2.8-5.oe2403sp3.src.rpm"
        ],
        "x86_64": [
          "PackageKit-1.2.8-5.oe2403sp3.x86_64.rpm",
          "PackageKit-command-not-found-1.2.8-5.oe2403sp3.x86_64.rpm",
          "PackageKit-debuginfo-1.2.8-5.oe2403sp3.x86_64.rpm",
          "PackageKit-debugsource-1.2.8-5.oe2403sp3.x86_64.rpm",
          "PackageKit-devel-1.2.8-5.oe2403sp3.x86_64.rpm",
          "PackageKit-gtk3-module-1.2.8-5.oe2403sp3.x86_64.rpm"
        ]
      },
      "package": {
        "ecosystem": "openEuler:24.03-LTS-SP3",
        "name": "PackageKit",
        "purl": "pkg:rpm/openEuler/PackageKit\u0026distro=openEuler-24.03-LTS-SP3"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "1.2.8-5.oe2403sp3"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ]
    },
    {
      "ecosystem_specific": {
        "aarch64": [
          "PackageKit-1.1.12-11.oe2003sp4.aarch64.rpm",
          "PackageKit-command-not-found-1.1.12-11.oe2003sp4.aarch64.rpm",
          "PackageKit-debuginfo-1.1.12-11.oe2003sp4.aarch64.rpm",
          "PackageKit-debugsource-1.1.12-11.oe2003sp4.aarch64.rpm",
          "PackageKit-devel-1.1.12-11.oe2003sp4.aarch64.rpm"
        ],
        "noarch": [
          "PackageKit-help-1.1.12-11.oe2003sp4.noarch.rpm"
        ],
        "src": [
          "PackageKit-1.1.12-11.oe2003sp4.src.rpm"
        ],
        "x86_64": [
          "PackageKit-1.1.12-11.oe2003sp4.x86_64.rpm",
          "PackageKit-command-not-found-1.1.12-11.oe2003sp4.x86_64.rpm",
          "PackageKit-debuginfo-1.1.12-11.oe2003sp4.x86_64.rpm",
          "PackageKit-debugsource-1.1.12-11.oe2003sp4.x86_64.rpm",
          "PackageKit-devel-1.1.12-11.oe2003sp4.x86_64.rpm"
        ]
      },
      "package": {
        "ecosystem": "openEuler:20.03-LTS-SP4",
        "name": "PackageKit",
        "purl": "pkg:rpm/openEuler/PackageKit\u0026distro=openEuler-20.03-LTS-SP4"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "1.1.12-11.oe2003sp4"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ]
    }
  ],
  "database_specific": {
    "severity": "High"
  },
  "details": "PackageKit is a D-Bus abstraction layer that allows the session user to manage packages in a secure way using a cross-distro, cross-architecture API.\r\n\r\nSecurity Fix(es):\n\nPackageKit is 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.\n\nA 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-\u0026gt;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`:\n1. Unconditional flag overwrite (line 4036): `InstallFiles()` writes caller-supplied flags to `transaction-\u0026gt;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.\n2. Silent state-transition rejection (lines 873\u2013882): `pk_transaction_set_state()` silently discards backward state transitions (e.g. `RUNNING` \u2192 `WAITING_FOR_AUTH`) but the flag overwrite at step 1 already happened. The transaction continues running with corrupted flags.\n3. Late flag read at execution time (lines 2273\u20132277): The scheduler\u0026apos;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\u0026apos;s flags.(CVE-2026-41651)",
  "id": "OESA-2026-2140",
  "modified": "2026-08-06T11:11:07Z",
  "published": "2026-05-03T11:11:07Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://www.openeuler.org/zh/security/security-bulletins/detail/?id=openEuler-SA-2026-2140"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-41651"
    }
  ],
  "schema_version": "1.7.2",
  "severity": [
    {
      "score": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H",
      "type": "CVSS_V3"
    }
  ],
  "summary": "PackageKit security update",
  "upstream": [
    "CVE-2026-41651"
  ]
}



Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Drag nodes to arrange them. Double-click a related vulnerability to open it, or a source to visit its link. The Physics button on the left tunes the layout and the simulation; the legend at the bottom left hides or shows nodes by kind and by sighting type.

Forecast uses a logistic model when the trend is rising, or an exponential decay model when the trend is falling. Fitted via linearized least squares.

Sightings

Author Source Type Date Other

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or observed by the user.
  • Confirmed: The vulnerability has been validated from an analyst's perspective.
  • Published Proof of Concept: A public proof of concept is available for this vulnerability.
  • Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
  • Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
  • Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
  • Not confirmed: The user expressed doubt about the validity of the vulnerability.
  • Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.
Vulnerability timeline

Sightings and recorded dates, grouped by day · UTC

JSON
How durations are calculated

Following the VTEM framework (Black Hat USA 2015), time to patch starts when the vendor or a coordinator was informed, total time to patch at discovery, and disclosure to patch at public disclosure; vendor response time runs from the report to its acknowledgement. Time to exploit and time unpatched start at the earliest discovery or report, falling back to public disclosure. Unpatched time ends at the first recorded patch, or the calculation time when no patch is recorded. Exploitation to patch shows the interval between those two events; a published proof of concept is a public exploit, not exploitation.

Each result shows its source dates. A negative interval means the end event came first; when date-only inputs leave the order open, the result says so. Date-only inputs are approximate. The earliest evidence wins: KEV report dates and sightings are labelled as such. Records describing another vulnerability are listed but never calculated from, and a PoC alone does not establish exploitation. Missing patch evidence does not prove that no patch exists. Filters below change the event list only.

Events included in the timeline

Loading timeline…


    Loading…

    Loading…

    Loading…

    Related by attack behaviour

    Vulnerabilities whose description is nearest to this one in the vector space of the CIRCL/vulnerability-attack-technique-biencoder model. This is a similarity search over the bi-encoder space (plain cosine), not a classification, and it has no measured accuracy.