CVE-2021-4034: listed in the CISA KEV catalog

CVE-2021-4034 · CVSS 7.8 HIGH · EPSS 95% · KEV 2022-06-27

A local privilege escalation vulnerability was found on polkit's pkexec utility. The pkexec application is a setuid tool designed to allow unprivileged users to run commands as privileged users according predefined policies. The current version of pkexec doesn't handle the calling parameters count correctly and ends trying to execute environment variables as commands. An attacker can leverage this by crafting environment variables in such a way it'll induce pkexec to execute arbitrary code. When successfully executed the attack can cause a local privilege escalation given unprivileged users administrative rights on the target machine.

Is CVE-2021-4034 exploited?

Which products and versions are affected?

No affected package list recorded here yet.

Is there a patch?

No patch identifier recorded here yet.

What PlainSec published about CVE-2021-4034

Primary sources

What this record does not say

KEV and EPSS are re-checked daily. Record last updated 2026-08-15.