CVE-2026-118131: Gnupg GnuPG vulnerability

Published Oct 27, 2026
·
Updated

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 Software

1 affected component
gnupg GnuPG=2.5.21

Event History

Oct 27, 2026
CVE Published
via MITRE·05:23 PM
Data Sourced
via MITRE·05:23 PM
DescriptionWeakness
Data Sourced
via NVD·06:17 PM
Description

Frequently Asked Questions

1

Who can exploit this issue?

An attacker needs low-privilege access to the affected Windows system and membership in the BUILTIN\Users group. They can create directories under C:\ProgramData and place malicious files in the GnuPG configuration path.

2

Is a non-default Windows configuration required?

No. The issue is described as relying on default DACL inheritance on C:\ProgramData, which permits BUILTIN\Users members to create arbitrary subdirectories there.

3

What is required for code execution to occur?

The attacker must create the expected GnuPG configuration directory and inject malicious configuration files that are later consumed by GnuPG components. Code execution occurs in the security context of the victim user.

4

How can administrators identify systems exposed to this behavior?

Check whether GnuPG version 2.5.21 for Windows is installed and whether untrusted low-privilege users can create the expected GnuPG configuration directory beneath C:\ProgramData. Also review that location for unexpected directories or configuration files created by non-administrative users.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203