CVE-2026-118131
CVE-2026-118131
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.
Attack profile
How easy it is to exploit
- Attack vector
- Network
- Complexity
- Low
- Privileges needed
- None
- User interaction
- None
What an attacker can affect
- Confidentiality
- High
- Integrity
- High
- Availability
- High
Exploit likelihood
What each source reports
CVE List Score used
9.8
CVE-2026-118131
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.
- Record
CVE-2026-118131- CVSS 3.1
- 9.8 Critical
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H - Weakness
- CWE-732, CWE-379, CWE-427
- Updated
- 2026-11-04
EUVDEUVD-2026-111235
9.8
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.
- Record
EUVD-2026-111235- CVSS 3.1
- 9.8 Critical
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H - Updated
- 2026-11-04
GitHub AdvisoriesGHSA-c8cg-36rg-65fq
9.8
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.
- Record
GHSA-c8cg-36rg-65fq- CVSS 3.1
- 9.8 Critical
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H - Weakness
- CWE-379
- Updated
- 2026-11-04
NVD
9.8
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.
- Record
CVE-2026-118131- CVSS 3.1
- 9.8 Critical
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H - Weakness
- CWE-379, CWE-427, CWE-732
- Updated
- 2026-11-04
OSVUBUNTU-CVE-2026-118131
9.8
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.
- Record
UBUNTU-CVE-2026-118131- CVSS 3.1
- 9.8 Critical
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H - Updated
- 2026-11-06
OSVAZL-111956 No score
CVE-2026-118131 affecting package gnupg2 2.4.9-3
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.
- Record
AZL-111956- Updated
- 2026-11-05
Affected products
Affected packages
| Package | Affected | Fixed |
|---|---|---|
gnupg2Azure Linux:3 |
through 2.4.9-3 | None known |
gnupg2Ubuntu:Pro:16.04:LTS |
All versions, plus listed versions 2.0.28-3ubuntu12.0.28-3ubuntu22.1.11-6ubuntu12.1.11-6ubuntu22.1.11-6ubuntu2.12.1.11-6ubuntu2.1+esm12.1.11-6ubuntu2.1+esm22.1.11-6ubuntu2.1+esm3 |
None known |
gnupg2Ubuntu:Pro:18.04:LTS |
All versions, plus listed versions 2.1.15-1ubuntu82.2.4-1ubuntu12.2.4-1ubuntu1.12.2.4-1ubuntu1.22.2.4-1ubuntu1.3 Show 5 moreShow less2.2.4-1ubuntu1.42.2.4-1ubuntu1.52.2.4-1ubuntu1.62.2.4-1ubuntu1.6+esm12.2.4-1ubuntu1.6+esm2 |
None known |
gnupg2Ubuntu:Pro:20.04:LTS |
All versions, plus listed versions 2.2.12-1ubuntu32.2.17-3ubuntu12.2.19-3ubuntu22.2.19-3ubuntu2.12.2.19-3ubuntu2.22.2.19-3ubuntu2.42.2.19-3ubuntu2.52.2.19-3ubuntu2.5+esm1 |
None known |
gnupg2Ubuntu:22.04:LTS |
All versions, plus listed versions 2.2.20-1ubuntu42.2.27-2ubuntu12.2.27-3ubuntu12.2.27-3ubuntu22.2.27-3ubuntu2.12.2.27-3ubuntu2.32.2.27-3ubuntu2.42.2.27-3ubuntu2.5 |
None known |
gnupg2Ubuntu:24.04:LTS |
All versions, plus listed versions 2.2.40-1.1ubuntu12.4.4-2ubuntu72.4.4-2ubuntu152.4.4-2ubuntu162.4.4-2ubuntu17 Show 4 moreShow less2.4.4-2ubuntu17.22.4.4-2ubuntu17.32.4.4-2ubuntu17.42.4.4-2ubuntu17.6 |
None known |
gnupg2Ubuntu:26.10 |
All versions, plus listed versions 2.4.8-4ubuntu32.4.9-4ubuntu12.4.9-4ubuntu22.4.9-4ubuntu3 |
None known |
gnupg2Ubuntu:26.04:LTS |
All versions, plus listed versions 2.4.8-2ubuntu22.4.8-4ubuntu12.4.8-4ubuntu22.4.8-4ubuntu32.4.8-4ubuntu3.1 |
None known |
History
| Recorded | Changed | Sources |
|---|---|---|
| cwes, severity | CVE List | |
| cwes, facts, severity | GitHub Advisories | |
| first indexed | CVE List, EUVD, GitHub Advisories, NVD, OSV |
Dates are when Every CVE recorded each change. Upstream dates may differ.
In short
CVE-2026-118131 is a critical vulnerability (CVSS 9.8) in Gnupg, published October 27, 2026. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 0.43%, the 37th percentile. No source names a fixed version.