Mend.io Vulnerability Database
The largest open source vulnerability database
What is a Vulnerability ID?
New vulnerability? Tell us about it!
CVE-2026-118131
Published:October 27, 2026
Updated:November 04, 2026
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.
Affected Packages
https://github.com/gpg/gnupg.git (GITHUB):
Affected version(s) >=gnupg-2.1.0-beta751 <gnupg-2.5.22 || >=gnupg-2.2.0 <gnupg-2.5.22 || >=Beta-2.3.0-beta1598 <gnupg-2.5.22 || >=gnupg-2.3.0 <gnupg-2.5.22 || >=gnupg-2.4.0 <gnupg-2.5.22 || >=gnupg-2.5.0 <gnupg-2.5.22
Fix Suggestion:
Update to version gnupg-2.5.22
Do you need more information?
Contact Us
CVSS v4
Base Score:
9.3
Attack Vector
NETWORK
Attack Complexity
LOW
Attack Requirements
NONE
Privileges Required
NONE
User Interaction
NONE
Vulnerable System Confidentiality
HIGH
Vulnerable System Integrity
HIGH
Vulnerable System Availability
HIGH
Subsequent System Confidentiality
NONE
Subsequent System Integrity
NONE
Subsequent System Availability
NONE
CVSS v3
Base Score:
9.8
Attack Vector
NETWORK
Attack Complexity
LOW
Privileges Required
NONE
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
HIGH
Integrity
HIGH
Availability
HIGH
Weakness Type (CWE)
Uncontrolled Search Path Element
Incorrect Permission Assignment for Critical Resource
Creation of Temporary File in Directory with Insecure Permissions
EPSS
Base Score:
0.19