JLSEC-2026-2368: GnuPG (version 2.5.21) for Windows contains a vulnerability where default Discretionary Access...
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
Event History
Child vulnerabilities
Contains the following vulnerabilities.
Frequently Asked Questions
Who can exploit this issue?
A local attacker with low-privilege access who is a member of the BUILTIN\Users group can exploit the inherited permissions on C:\ProgramData. Exploitation also requires a victim to run affected GnuPG components that consume the attacker-controlled configuration files.
What must an attacker do to achieve code execution?
The attacker must create the expected GnuPG configuration directory beneath C:\ProgramData and place malicious configuration files there. When a victim user's GnuPG components consume those files, code can execute in that victim's security context.
Is the default Windows configuration relevant?
Yes. The issue is specifically caused by default DACL inheritance on C:\ProgramData, which permits BUILTIN\Users members to create arbitrary subdirectories under that path.