cybersecurity Request an audit

Actively exploited vulnerability / CVE-2021-4034

Polkit on Linux: an ordinary user can gain administrator rights

This flaw in the Polkit component (the pkexec utility) lets an attacker who already has an ordinary account on a Linux computer or server take administrator rights. With those rights they can fully control the system, read or change company data and install unwanted software. It is on the lists of vulnerabilities used in real attacks kept by CISA (the US cybersecurity agency) and by ENISA (the EU cybersecurity agency).

Identifier
CVE-2021-4034 · EUVD-2021-33934
Severity
High (7.8/10)
On the CISA list (US)
yes, since 27 June 2022
Deadline given to US federal agencies
18 July 2022
On the ENISA list (EU)
yes
Probability of exploitation (EPSS)
94.9% (FIRST's estimate for the next 30 days)

Does it concern you?

Polkit is a system component included in most Linux distributions, such as Red Hat, so it is likely present on any Linux server or workstation you run. Some Siemens industrial devices, SINUMERIK Edge and SCALANCE LPE9403, are also affected.

Ask your IT administrator or provider to check the polkit package version on your Linux systems; versions before 121 are affected. For Siemens devices, the firmware version is shown in the management interface: SINUMERIK Edge before 3.3.0 and SCALANCE LPE9403 before 2.0 are affected.

Affected products and versions

  • Red Hat Polkit
  • polkit: before 121
  • sinumerik edge: before 3.3.0
  • scalance lpe9403 firmware: before 2.0

What to do

Install the security update from your Linux distribution vendor, bringing polkit to 121 or a patched release. For Siemens devices, update to SINUMERIK Edge 3.3.0 or SCALANCE LPE9403 firmware 2.0, following the vendor's instructions.

Versions that contain the fix: 121, 2.0, 3.3.0.

The official description

The text below is the description from the public database.

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.

Sources

Data from the public CVE and NVD databases, the CISA KEV and ENISA EU KEV lists and FIRST's EPSS score. The explanations are ours, written from that data. Last updated: 29 November 2026.

Other exploited vulnerabilities in Red Hat Polkit

What you can do next

Request an audit

Find out what you expose, before someone else does.

Tell us who you are, confirm by email, and we will call you. Nothing is checked until you agree.

  1. You confirm by email, then we call you within two working days to understand your company and what should be checked.
  2. You get a fixed quote and a permission form that says exactly what we may test, and when.
  3. We do the work in the window you chose, and keep you posted.
  4. You get the report and a walkthrough call, then one retest of its findings within 30 days.

Only systems you own or may have checked / written permission first

Request an audit

No passwords or access details here. We ask for what we need after you sign the permission form.

After you send this, we email you a link to confirm it. We contact you only after you confirm.