CVE-2026-118131

CVE-2026-118131

Published Oct 27, 2026 CVSS 3.1 · 9.8 Critical EPSS < 1% KEV · Not listed
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.

Analysis

AI-generated

Technical 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 CVSS score of 9.8 indicates critical severity; the issue enables code execution within the victim user’s security context, a high‑impact outcome. The EPSS score is less than 1%, indicating a very low but nonzero exploitation probability at the time of this analysis. The vulnerability is not listed in the CISA KEV catalog. An attacker requires only local user privileges and write access to C:\ProgramData. By creating the expected GnuPG configuration directory and injecting malicious configuration files that GnuPG automatically consumes, the attacker can execute arbitrary code in the victim’s context. The combination of local access, automatic loading of configuration files, and the vulnerability’s high severity makes this risk significant for any endpoint running the affected GnuPG installation.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Check for vendor updates that address the DACL inheritance flaw
  • Remove default DACL inheritance on C:\\ProgramData or explicitly deny write permissions to BUILTIN\\Users for the GnuPG configuration directories
  • Deploy file integrity monitoring on GnuPG configuration files to detect unauthorized changes

Generated by OpenCVE AI on November 4, 2026 at 22:13 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
Weaknesses CWE-284
Type Values Removed Values Added
Weaknesses CWE-379
CWE-427
CWE-732
Metrics cvssV3_1

{'score': 9.8, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H'}

ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'none', 'Technical Impact': 'total'}, 'version': '2.0.3'}

Type Values Removed Values Added
First Time appeared Gnupg
Gnupg gnupg
Vendors & Products Gnupg
Gnupg gnupg
Type Values Removed Values Added
Weaknesses CWE-284
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
Weaknesses
  • CWE-379

    Creation of Temporary File in Directory with Insecure Permissions

  • CWE-427

    Uncontrolled Search Path Element

  • CWE-732

    Incorrect Permission Assignment for Critical Resource

Sources

Status
PUBLISHED
Assigner
certcc
Published
Updated
Nov 4, 2026, 5:44 PM
Reserved
Oct 27, 2026, 5:21 PM
Status
Awaiting Analysis
Published
Oct 27, 2026, 6:17 PM
Modified
Nov 4, 2026, 6:17 PM