{"id":"CVE-2026-19816","state":"PUBLISHED","title":"PackageKit: dnf5 backend ignores SIMULATE on RepoRemove","description":"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.","publishedAt":"2026-09-14T20:05:00.169Z","updatedAt":"2026-09-15T18:04:51.167Z","severity":{"score":7.1,"label":"High","version":"3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H","source":"fedora"},"assigner":"fedora","products":["PackageKit","Fedora Fedora","Red Hat Red Hat Enterprise Linux 9","Red Hat Red Hat Enterprise Linux 10","Red Hat Red Hat Enterprise Linux 6","Red Hat Red Hat Enterprise Linux 7","Red Hat Red Hat Enterprise Linux 8"],"affected":[{"packageName":"PackageKit","defaultStatus":"unaffected","versions":[{"version":"1.3.4","status":"affected","lessThan":"1.4.0","versionType":"semver"}],"collectionURL":"https://github.com/PackageKit/PackageKit","modules":["dnf5 backend"],"programFiles":["backends/dnf5/dnf5-backend-thread.cpp","src/pk-transaction.c"]},{"vendor":"Fedora","product":"Fedora","packageName":"PackageKit","defaultStatus":"unaffected","versions":[{"version":"1.3.4","status":"affected","lessThan":"1.4.0","versionType":"semver"}],"collectionURL":"https://bodhi.fedoraproject.org/updates/?packages=PackageKit","modules":["dnf5 backend"]},{"vendor":"Red Hat","product":"Red Hat Enterprise Linux 9","packageName":"PackageKit","defaultStatus":"unaffected","collectionURL":"https://access.redhat.com/downloads/content/package-browser/","cpes":["cpe:/o:redhat:enterprise_linux:9"]},{"vendor":"Red Hat","product":"Red Hat Enterprise Linux 10","packageName":"PackageKit","defaultStatus":"unaffected","collectionURL":"https://access.redhat.com/downloads/content/package-browser/","cpes":["cpe:/o:redhat:enterprise_linux:10"]},{"vendor":"Red Hat","product":"Red Hat Enterprise Linux 6","packageName":"PackageKit","defaultStatus":"unaffected","collectionURL":"https://access.redhat.com/downloads/content/package-browser/","cpes":["cpe:/o:redhat:enterprise_linux:6"]},{"vendor":"Red Hat","product":"Red Hat Enterprise Linux 7","packageName":"PackageKit","defaultStatus":"unaffected","collectionURL":"https://access.redhat.com/downloads/content/package-browser/","cpes":["cpe:/o:redhat:enterprise_linux:7"]},{"vendor":"Red Hat","product":"Red Hat Enterprise Linux 7","packageName":"compat-PackageKit08","defaultStatus":"unaffected","collectionURL":"https://access.redhat.com/downloads/content/package-browser/","cpes":["cpe:/o:redhat:enterprise_linux:7"]},{"vendor":"Red Hat","product":"Red Hat Enterprise Linux 8","packageName":"PackageKit","defaultStatus":"unaffected","collectionURL":"https://access.redhat.com/downloads/content/package-browser/","cpes":["cpe:/o:redhat:enterprise_linux:8"]}],"references":["https://github.com/PackageKit/PackageKit/commit/33be77b3ecd3b566ca117358dc18c58c964e627b","https://github.com/PackageKit/PackageKit/security/advisories/GHSA-g5gf-h68q-gxc8","https://bugzilla.redhat.com/show_bug.cgi?id=2515940"],"weaknesses":["CWE-863"],"ingestedAt":"2026-10-29T20:11:10.572Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/19xxx/CVE-2026-19816.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-19816","state":"PUBLISHED","datePublished":"2026-09-14T20:05:00.169Z","dateUpdated":"2026-09-15T18:04:51.167Z","assignerShortName":"fedora","assignerOrgId":"92fb86c3-55a5-4fb5-9c3f-4757b9e96dc5","dateReserved":"2026-08-14T02:40:21.336Z"},"containers":{"cna":{"title":"PackageKit: dnf5 backend ignores SIMULATE on RepoRemove","descriptions":[{"lang":"en","value":"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."}],"affected":[{"packageName":"PackageKit","defaultStatus":"unaffected","versions":[{"version":"1.3.4","status":"affected","lessThan":"1.4.0","versionType":"semver"}],"collectionURL":"https://github.com/PackageKit/PackageKit","modules":["dnf5 backend"],"programFiles":["backends/dnf5/dnf5-backend-thread.cpp","src/pk-transaction.c"]},{"vendor":"Fedora","product":"Fedora","packageName":"PackageKit","defaultStatus":"unaffected","versions":[{"version":"1.3.4","status":"affected","lessThan":"1.4.0","versionType":"semver"}],"collectionURL":"https://bodhi.fedoraproject.org/updates/?packages=PackageKit","modules":["dnf5 backend"]},{"vendor":"Red Hat","product":"Red Hat Enterprise Linux 9","packageName":"PackageKit","defaultStatus":"unaffected","collectionURL":"https://access.redhat.com/downloads/content/package-browser/","cpes":["cpe:/o:redhat:enterprise_linux:9"]},{"vendor":"Red Hat","product":"Red Hat Enterprise Linux 10","packageName":"PackageKit","defaultStatus":"unaffected","collectionURL":"https://access.redhat.com/downloads/content/package-browser/","cpes":["cpe:/o:redhat:enterprise_linux:10"]},{"vendor":"Red Hat","product":"Red Hat Enterprise Linux 6","packageName":"PackageKit","defaultStatus":"unaffected","collectionURL":"https://access.redhat.com/downloads/content/package-browser/","cpes":["cpe:/o:redhat:enterprise_linux:6"]},{"vendor":"Red Hat","product":"Red Hat Enterprise Linux 7","packageName":"PackageKit","defaultStatus":"unaffected","collectionURL":"https://access.redhat.com/downloads/content/package-browser/","cpes":["cpe:/o:redhat:enterprise_linux:7"]},{"vendor":"Red Hat","product":"Red Hat Enterprise Linux 7","packageName":"compat-PackageKit08","defaultStatus":"unaffected","collectionURL":"https://access.redhat.com/downloads/content/package-browser/","cpes":["cpe:/o:redhat:enterprise_linux:7"]},{"vendor":"Red Hat","product":"Red Hat Enterprise Linux 8","packageName":"PackageKit","defaultStatus":"unaffected","collectionURL":"https://access.redhat.com/downloads/content/package-browser/","cpes":["cpe:/o:redhat:enterprise_linux:8"]}],"references":[{"url":"https://github.com/PackageKit/PackageKit/commit/33be77b3ecd3b566ca117358dc18c58c964e627b","tags":["patch"]},{"url":"https://github.com/PackageKit/PackageKit/security/advisories/GHSA-g5gf-h68q-gxc8","tags":["vendor-advisory"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=2515940","tags":["issue-tracking"]}],"metrics":[{"other":{"content":{"value":"Important","namespace":"https://access.redhat.com/security/updates/classification/"},"type":"Red Hat severity rating"}},{"format":"CVSS","cvssV3_1":{"version":"3.1","vectorString":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H","baseScore":7.1,"baseSeverity":"HIGH","attackVector":"LOCAL","attackComplexity":"LOW","privilegesRequired":"LOW","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"NONE","integrityImpact":"HIGH","availabilityImpact":"HIGH"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-863","lang":"en","type":"CWE","description":"Incorrect Authorization"}]}],"providerMetadata":{"shortName":"fedora","orgId":"92fb86c3-55a5-4fb5-9c3f-4757b9e96dc5","dateUpdated":"2026-09-14T20:05:00.169Z"},"credits":[{"lang":"en","value":"Vivek Parikh (BreachX Zero Day Labs)"}],"datePublic":"2026-09-09T19:16:02.000Z","x_generator":{"engine":"cvelib 1.8.0"}},"adp":[{"title":"CISA ADP Vulnrichment","metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2026-09-15T17:38:41.601204Z","id":"CVE-2026-19816","options":[{"Exploitation":"none"},{"Automatable":"no"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2026-09-15T18:04:51.167Z"}}]}}}