CVE-2021-42278: Active Directory sAMAccountName Spoofing (noPac)
- Vendor
- Microsoft Corporation
CVE-2021-42278 is an account-name validation vulnerability in Microsoft Active Directory Domain Services. Insufficient validation permits a computer account's sAMAccountName to omit the normally required trailing dollar sign, allowing an attacker-controlled account to resemble a domain controller account. When chained with the Kerberos account-resolution vulnerability CVE-2021-42287, this enables the noPac attack, through which an authenticated, low-privileged domain user can obtain domain administrator privileges. CVE-2021-42278 supplies the account-spoofing primitive; full domain escalation depends on the accompanying Kerberos vulnerability.
Impact, mitigation & remediation
What it means and what to do now: patch path, interim mitigations, and the assume-compromise checklist.
Impact
What an attacker gets, and what they’ve been doing with it.
The vulnerability undermines computer-account identity validation. Combined with CVE-2021-42287, it can enable complete Active Directory domain compromise, including privileged service access, domain credential extraction through DCSync, permission changes, persistent privileged-account creation, and domain-wide malware or ransomware deployment.
Mitigation
If you can’t patch tonight, do this now.
Restrict ordinary users' ability to join computers to the domain, including setting ms-DS-MachineAccountQuota to zero where operationally appropriate and limiting delegated computer-account creation and modification permissions. Review permissions on existing computer accounts, since blocking new account creation does not prevent abuse of an account an attacker already controls. These restrictions reduce exposure but do not replace patching domain controllers.
Remediation
Patch, then assume compromise.
Apply Microsoft's security updates addressing CVE-2021-42278 and CVE-2021-42287 to every domain controller. These fixes were initially released in November 2021; use current supported cumulative updates that supersede them. Follow Microsoft's Active Directory SAM hardening guidance and applicable Kerberos PAC deployment and enforcement guidance for CVE-2021-42287. Verify coverage across all domain controllers rather than updating only selected controllers.
Exploits
7 exploits validated by Mallory's analysis. Hidden: 5 rejected by Mallory's analysis as not a working exploit.
Affected products & vendors
Products and vendors Mallory has correlated with this vulnerability. Open in Mallory to drill down to specific CPE configurations and version ranges.
References
Frequently asked questions
- Is CVE-2021-42278 exploited in the wild?
- Yes. As of Nov 28, 2026, Mallory has reports of exploitation in the wild, and CISA added it to KEV on Apr 11, 2022.
- Is there a public exploit for CVE-2021-42278?
- Yes. Mallory tracks 7 public exploits or proofs of concept for CVE-2021-42278, the earliest disclosed Dec 11, 2021.
- Is there a patch for CVE-2021-42278?
- Apply Microsoft's security updates addressing CVE-2021-42278 and CVE-2021-42287 to every domain controller. These fixes were initially released in November 2021; use current supported cumulative updates that supersede them.
- What products are affected by CVE-2021-42278?
- Microsoft Corporation Windows Server 2004, Microsoft Corporation Windows Server 2008, Microsoft Corporation Windows Server 2008 R2, Microsoft Corporation Windows Server 2008 Sp2, Microsoft Corporation Windows Server 2012, and 5 more.
- How severe is CVE-2021-42278?
- CVE-2021-42278 has a CVSS v3.1 score of 7.5 (High) and an EPSS score of 73.3% (100th percentile) as of Nov 28, 2026.
Recent activity
30 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.