{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "extracted_events": [
              {
                "introduced": "1.3.4"
              },
              {
                "fixed": "1.4.0"
              }
            ],
            "source": [
              "AFFECTED_FIELD",
              "REFERENCES"
            ]
          },
          "events": [
            {
              "introduced": "aa8e994711b1debd485e8d2e06f5ff4ac3494a65"
            },
            {
              "fixed": "33be77b3ecd3b566ca117358dc18c58c964e627b"
            }
          ],
          "repo": "https://github.com/packagekit/packagekit",
          "type": "GIT"
        }
      ]
    }
  ],
  "aliases": [
    "GHSA-g5gf-h68q-gxc8"
  ],
  "database_specific": {
    "cna_assigner": "fedora",
    "cwe_ids": [
      "CWE-863"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/19xxx/CVE-2026-19816.json"
  },
  "details": "A flaw was found in PackageKit. PackageKit skips the polkit authorization check for transactions carrying the SIMULATE (dry-run) flag. In the dnf5 backend, the RepoRemove handler ignores that contract and always executes the real transaction because its guard is written as (role == REPO_REMOVE || !SIMULATE), which is always true for RepoRemove. An unprivileged local user can therefore perform a genuine package uninstall while claiming to simulate. This vulnerability only affects systems using PackageKit with the dnf5 backend.",
  "id": "CVE-2026-19816",
  "modified": "2026-09-17T03:30:20.958079801Z",
  "published": "2026-09-14T20:05:00.169Z",
  "references": [
    {
      "type": "WEB",
      "url": "https://access.redhat.com/downloads/content/package-browser/"
    },
    {
      "type": "WEB",
      "url": "https://bodhi.fedoraproject.org/updates/?packages=PackageKit"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/19xxx/CVE-2026-19816.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/PackageKit/PackageKit/security/advisories/GHSA-g5gf-h68q-gxc8"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-19816"
    },
    {
      "type": "REPORT",
      "url": "https://bugzilla.redhat.com/show_bug.cgi?id=2515940"
    },
    {
      "type": "FIX",
      "url": "https://github.com/PackageKit/PackageKit/commit/33be77b3ecd3b566ca117358dc18c58c964e627b"
    },
    {
      "type": "PACKAGE",
      "url": "https://github.com/PackageKit/PackageKit"
    }
  ],
  "schema_version": "1.9.0",
  "severity": [
    {
      "score": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H",
      "type": "CVSS_V3"
    }
  ],
  "summary": "PackageKit: dnf5 backend ignores SIMULATE on RepoRemove"
}