Live threats

All CVEs / GnuPG

CVE-2026-118131GnuPG

Arbitrary Code Execution via Configuration Injection in GnuPG for Windows

Critical 9.8 No auth needed

Priority
74
CVSS 3.1
9.8
EPSS
—
Auth required
No
Published
Oct 27, 2026
Updated
Nov 4, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-379, CWE-427, CWE-732
SSVC (CISA)
Exploitation: none · Automatable: yes · Technical impact: total
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

What happens

GnuPG version 2.5.21 on Windows allows low-privilege users to create arbitrary directories in C:\ProgramData due to insufficient DACL permissions. An attacker can inject malicious configuration files that will be consumed by GnuPG components, resulting in code execution within the victim user's security context.

Show the original NVD text

GnuPG (version 2.5.21) for Windows contains a vulnerability where default Discretionary Access Control List (DACL) inheritance on the C:\ProgramData directory allows members of the BUILTIN\Users group to create arbitrary subdirectories under this path. An attacker with low-privilege access can create the expected GnuPG configuration directory and inject malicious configuration files consumed by GnuPG components. This can result in code execution within the security context of the victim user.

Source text, unmodified. NVD.

What to do

No patch data

Review DACL permissions on C:\ProgramData directory and restrict access to unauthorized users. Contact GnuPG for a patch or update.

  1. Apply the vendor's security update for GnuPG.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected products

As reported by the CNA that published the CVE. NVD has not added CPEs with versions yet.

Official sources

References

Links published by the sources. Open them with care.