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.
Published: 2026-10-27
Score: n/a
EPSS: n/a
KEV: No
Impact: Code Execution in User Context
Action: Apply Patch
AI Analysis

Impact

A flaw in GnuPG version 2.5.21 for Windows allows a local user who is a member of BUILTIN\Users to create arbitrary subdirectories under C:\ProgramData due to default DACL inheritance. An attacker can construct the expected GnuPG configuration directory and place malicious configuration files that the application automatically consumes, bypassing security checks. This injects and executes arbitrary code within the victim user's security context. The weakness is an improper access control that permits unauthorized configuration injection.

Affected Systems

The vulnerability affects the GnuPG software version 2.5.21 running on Windows operating systems where the default permissions on C:\ProgramData allow directory creation by member users. The sole relevant vendor is GnuPG; no other products are listed.

Risk and Exploitability

The absence of an assigned CVSS score does not reduce the severity; the issue enables code execution in the victim’s security context, a high‑impact outcome. EPSS is not available, so the exact likelihood of exploitation is unknown, but the vulnerability is active and has not been listed in the CISA KEV catalog. An attacker would only need local user privileges and the ability to write to C:\ProgramData. The configuration files are loaded automatically by GnuPG, so once an attacker writes a malicious file the exploitation chain is complete. The combination of local access and automatic processing makes the risk high for any network or endpoint hosting the impacted GnuPG installation.

Generated by OpenCVE AI on October 27, 2026 at 18:48 UTC.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Update GnuPG to the latest release that includes the fix for the improper DACL inheritance and configuration injection flaw
  • Remove default DACL inheritance on the C:\ProgramData directory or explicitly deny write permissions to the BUILTIN\Users group for the GnuPG configuration paths
  • Deploy file integrity monitoring on GnuPG configuration files to detect unauthorized modifications or new files

Generated by OpenCVE AI on October 27, 2026 at 18:48 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Tue, 27 Oct 2026 19:30:00 +0000

Type Values Removed Values Added
First Time appeared Gnupg
Gnupg gnupg
Vendors & Products Gnupg
Gnupg gnupg

Tue, 27 Oct 2026 19:15:00 +0000

Type Values Removed Values Added
Weaknesses CWE-284

Tue, 27 Oct 2026 17:30:00 +0000

Type Values Removed Values Added
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.
Title CVE-2026-118131
References

cve-icon MITRE

Status: PUBLISHED

Assigner: certcc

Published:

Updated: 2026-10-27T17:23:46.474Z

Reserved: 2026-10-27T17:21:42.310Z

Link: CVE-2026-118131

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-10-27T18:17:36.700

Modified: 2026-10-27T18:17:36.700

Link: CVE-2026-118131

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-10-27T19:15:07Z

Weaknesses