---
id: CVE-2026-49179
title: >-
  Improper neutralization of special elements used in a command ('command
  injection') in Windows Active Directory allows an unauthorized attacker to
  execute code over a network.
summary: >-
  Improper neutralization of special elements used in a command ('command
  injection') in Windows Active Directory allows an unauthorized attacker to
  execute code over a network.
severity: high
cvss: 8.8
cvssVector: 'CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H'
cwe:
  - CWE-77
vendor: microsoft
product: windows_10_1607
affected:
  - windows_10_1607 < 10.0.14393.9418
  - windows_10_1809 < 10.0.17763.9115
  - windows_10_21h2 < 10.0.19044.7663
  - windows_10_22h2 < 10.0.19045.7663
  - windows_11_23h2 < 10.0.22631.7517
  - windows_11_24h2 < 10.0.26100.9106
  - windows_11_25h2 < 10.0.26200.9106
  - windows_11_26h1 < 10.0.28000.2704
  - windows_server_2012
  - windows_server_2012 = r2
  - windows_server_2016 < 10.0.14393.9418
  - windows_server_2019 < 10.0.17763.9115
  - windows_server_2022 < 10.0.20348.5440
  - windows_server_2025 < 10.0.26100.33222
patched:
  - windows_10_1607 10.0.14393.9418
  - windows_10_1809 10.0.17763.9115
  - windows_10_21h2 10.0.19044.7663
  - windows_10_22h2 10.0.19045.7663
  - windows_11_23h2 10.0.22631.7517
  - windows_11_24h2 10.0.26100.9106
  - windows_11_25h2 10.0.26200.9106
  - windows_11_26h1 10.0.28000.2704
  - windows_server_2016 10.0.14393.9418
  - windows_server_2019 10.0.17763.9115
  - windows_server_2022 10.0.20348.5440
  - windows_server_2025 10.0.26100.33222
published: '2026-08-11'
updated: '2026-08-16'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2026-49179'
references:
  - url: 'https://msrc.microsoft.com/update-guide/vulnerability/CVE-2026-49179'
    label: secure@microsoft.com
tags:
  - nvd
  - cve.org
  - exploit-available
epss: 0.00863
epssPercentile: 0.56864
ingestedAt: '2026-08-16T19:41:32.505Z'
ssvc:
  exploitation: none
  automatable: 'no'
  technicalImpact: total
  timestamp: '2026-08-10T00:00:00+00:00'
exploits:
  github: 1
  githubRepos:
    - >-
      https://github.com/overgrowncarrot1/CVE-2026-49179-Active-Directory-WriteSPNScript-Command-Injection
  checkedAt: '2026-09-26T09:05:46.568Z'
exploitAvailable: true
---

## Overview

Improper neutralization of special elements used in a command ('command injection') in Windows Active Directory allows an unauthorized attacker to execute code over a network.

## Affected

- `windows_10_1607 < 10.0.14393.9418`
- `windows_10_1809 < 10.0.17763.9115`
- `windows_10_21h2 < 10.0.19044.7663`
- `windows_10_22h2 < 10.0.19045.7663`
- `windows_11_23h2 < 10.0.22631.7517`
- `windows_11_24h2 < 10.0.26100.9106`
- `windows_11_25h2 < 10.0.26200.9106`
- `windows_11_26h1 < 10.0.28000.2704`
- `windows_server_2012`
- `windows_server_2012 = r2`
- `windows_server_2016 < 10.0.14393.9418`
- `windows_server_2019 < 10.0.17763.9115`
- `windows_server_2022 < 10.0.20348.5440`
- `windows_server_2025 < 10.0.26100.33222`

## Remediation

Upgrade past the affected range:

- `windows_10_1607 10.0.14393.9418`
- `windows_10_1809 10.0.17763.9115`
- `windows_10_21h2 10.0.19044.7663`
- `windows_10_22h2 10.0.19045.7663`
- `windows_11_23h2 10.0.22631.7517`
- `windows_11_24h2 10.0.26100.9106`
- `windows_11_25h2 10.0.26200.9106`
- `windows_11_26h1 10.0.28000.2704`
- `windows_server_2016 10.0.14393.9418`
- `windows_server_2019 10.0.17763.9115`
- `windows_server_2022 10.0.20348.5440`
- `windows_server_2025 10.0.26100.33222`
