Description
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.
Weaknesses
- — CWE-732 Incorrect Permission Assignment for Critical Resource
- — CWE-379 Creation of Temporary File in Directory with Insecure Permissions
- — CWE-427 Uncontrolled Search Path Element
Affected products
| Vendor | Product | Versions |
|---|---|---|
| GnuPG | GnuPG | 2.5.21 [affected] |
References
Assess this vulnerability
Compare your deployed product and version with the source record. Review vendor references for fixes and workarounds. A CVSS score describes technical severity; it does not establish that your systems are affected or that exploitation has occurred.
Browse all CVE security advisories · Symaro cybersecurity services
Generated from the official CVE List on 28 Oct 2026 07:01 UTC.