CVE-2026-118131GnuPG
Arbitrary Code Execution via Configuration Injection in GnuPG for Windows
Critical 9.8 No auth needed
Follow: this CVE · GnuPG · GnuPG We alert you by email or Slack (account required).
- Priority
- 74
- CVSS 3.1
- 9.8
- EPSS
- —
- Auth required
- No
- Published
- Oct 27, 2026
- Updated
- Nov 4, 2026
- Category
- Application · Cross-platform
- 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.
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.
- Apply the vendor's security update for GnuPG.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected products
- GnuPG · GnuPG
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.