CVE-2026-118741 — Microsoft Microsoft.dotnet-scaffold
Research article
CVE-2026-118741: ASP.NET Core Improper Authentication Flaw Enabling Network Privilege Elevation
| CVE | CVE-2026-118741 |
|---|---|
| Vendor and product | Microsoft Microsoft.dotnet-scaffold; Microsoft Microsoft.dotnet-scaffold-aspnet; Microsoft Microsoft.DotNet.Web.ProjectTemplates.10.0 |
| Published | November 12, 2026 07:11 UTC |
| Research cut-off | November 12, 2026 05:50 UTC |
| Sources reviewed | 3: NVD record (last modified 2026-11-11); CISA KEV catalog; 1 vendor bulletin |
Executive summary
CVE-2026-118741 is a Microsoft-published flaw in ASP.NET Core in which an authentication weakness may let an unauthenticated network attacker gain elevated privileges [1, 3]. The record carries CVSS 3.1 base score 8.1 (High) with vector CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H, scored by secure@microsoft.com as a Secondary scorer, not by NIST [1]. The affected packages listed in the record are .NET scaffolding, project template and code-generation packages, with lower bounds ranging from 9.0.0 to 10.0.13 and fixed versions from 9.0.13 to 20.3.0 [1]. The record is still Awaiting Analysis, the root cause is not disclosed, and the reviewed sources do not establish whether the ASP.NET Core runtime packages are affected [1]. The CISA Known Exploited Vulnerabilities catalog did not list the CVE as of 2026-11-12, but that absence does not show that exploitation has not occurred [2]. The most important immediate action is to inventory every project and build environment that references the listed packages and upgrade them to the fixed versions published in the record [1].
Key points
- CVE-2026-118741 describes an improper authentication flaw in ASP.NET Core that the record says allows an unauthorized network attacker to elevate privileges [1, 3].
- CVSS 3.1 base score 8.1 (High), vector CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H, scored by a Secondary scorer [1].
- Listed affected packages are scaffolding, project template and code-generation packages; the ASP.NET Core runtime is not listed and its status is not established [1].
- Fixed versions are published for each listed package, including Microsoft.dotnet-scaffold at 20.3.0 and ProjectTemplates 10.0 at 10.0.15 [1].
- The CVE is not in the CISA KEV catalog as of 2026-11-12, but this does not show that exploitation has not occurred [2].
- Root cause, public proof of concept, indicators and complete affected ranges are not established by the reviewed sources [1, 2, 3].
Vulnerability identification
| Field | Value | Source |
|---|---|---|
| CVE ID | CVE-2026-118741 | [1] |
| Vendor / CVE Numbering Authority | Microsoft | [1, 3] |
| Product / component | ASP.NET Core; the affected packages listed are .NET scaffolding, project template and code-generation packages | [1] |
| Platform | Not established beyond the package names listed | [1] |
| Published | 2026-11-10T19:19:50 | [1] |
| Last modified | 2026-11-11T12:19:10 | [1] |
| Record status | Awaiting Analysis at the research cut-off | [1] |
| CWE classification | CWE-640 (weakness in password recovery for forgotten passwords) | [1] |
| CVSS 3.1 base score | 8.1, High | [1] |
| CVSS 3.1 vector | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H | [1] |
| Scorer | secure@microsoft.com (Secondary) | [1] |
| Other CVSS versions, NVD primary score, EPSS | Not present in the reviewed sources | [1] |
| Vendor advisory | Microsoft Security Response Center update guide entry for CVE-2026-118741, titled as an ASP.NET Core Elevation of Privilege Vulnerability | [3] |
| Related CVEs, GitHub advisories, KB or patch identifiers | Not established by the reviewed sources | [1, 2, 3] |
CWE classification: CWE-640 describes weaknesses in password recovery for forgotten passwords. The record's own description refers to improper authentication leading to privilege elevation [1]. Analyst assessment: the fit between the two is not obvious, and the mapping may change once NIST completes analysis, since the record is still Awaiting Analysis [1]. The reviewed sources do not explain the mapping.
The MSRC reference in the record carries no NVD tags [1]. The reviewed sources contain no further vendor detail beyond the title and summary [3].
Technical background
Authentication is the process of verifying who a caller is. Authorization decides what an authenticated caller may do. Privilege elevation occurs when a caller obtains rights beyond those it was granted [Analyst assessment, definitions; not from the pack].
ASP.NET Core is Microsoft's framework for building web applications and services [Background, not from the pack]. The packages listed in the record are different in role: Microsoft.dotnet-scaffold and Microsoft.dotnet-scaffold-aspnet are scaffolding tools, Microsoft.DotNet.Web.ProjectTemplates packages supply project templates, and Microsoft.VisualStudio.Web.CodeGeneration.Design and Microsoft.VisualStudio.Web.CodeGenerators.Mvc are code-generation components [1]. The reviewed sources do not describe how these packages run, whether they run on production servers, or what trust boundary they cross [1, 3].
Analyst assessment: because the listed components are generation and template tooling, the most likely place a trust boundary is crossed is a developer workstation, a build agent or a continuous integration environment, rather than a production request path. This is not established by the sources and must be verified against the packages' documented behaviour.
Vulnerability description
The record states that a flaw in ASP.NET Core authentication allows an attacker without authorization to raise their privileges over a network [1, 3]. The security property violated is the integrity of the authentication decision, which in turn affects authorization.
The record does not identify the specific function, class, endpoint or code path that is flawed [1, 3]. The affected packages suggest that the defect may sit in tooling rather than the runtime, but the reviewed sources do not state this.
What an attacker can cause or access, per the vector: the attack is network-reachable, requires no privileges, requires no user interaction, has high attack complexity, and carries high impact on confidentiality, integrity and availability if successful [1]. The vector alone does not show which data or functions are reachable.
Conditions that must exist for the flaw to matter are not established by the reviewed sources beyond the high attack complexity recorded in the vector [1]. The sources do not state what configuration, feature, or deployment type is needed.
What the vulnerability does not establish, based on the evidence: no source confirms successful exploitation, a proof of concept, or a specific attack chain [1, 2, 3].
Root cause analysis
Root cause: Not established by the reviewed sources. No source discloses the coding, design, protocol or configuration error [1, 3]. Confirmed root cause: none.
Analyst assessment: the description points to an authentication check that is absent, incomplete or bypassable in some request path. The CWE-640 mapping points toward a credential recovery or reset weakness [1]. These two readings are not necessarily consistent, and neither can be confirmed from the pack.
Why existing controls may fail: not established. What would settle this: the full MSRC advisory text, the fix commit or release notes for the listed package versions, and NIST's completed analysis of the record.
Technical mechanics
The following flow is Illustrative. It shows the general class of authentication failure described in the record and does not describe the confirmed mechanism, which is not established by the sources [1, 3].
- A caller sends a request to a component that is reachable over the network.
- The component should verify the caller's identity before performing any privileged action.
- Under the flaw described in the record, that identity verification is not applied correctly for some request or state [1, 3]. The precise condition is not established.
- The component performs the action under a higher privilege than the caller holds.
- Control that should have prevented this: a server-side authentication check followed by a separate authorization check at each trust boundary, enforced for every request path.
The record's CWE-640 mapping concerns password recovery [1], so any credential recovery path in the affected components is a candidate for review. Whether such a path is involved is not established.
Attack surface and exploitation prerequisites
| Dimension | Condition | Basis |
|---|---|---|
| Network access | Required, attack vector is Network | Vector AV:N [1]; description states network [1, 3] |
| Adjacent network | Not indicated by the vector | Vector AV:N [1] |
| Local or physical access | Not indicated by the vector | Vector AV:N [1] |
| Authentication required | None | Vector PR:N [1]; description refers to an unauthorized attacker [1] |
| Privilege level needed | None | Vector PR:N [1] |
| User interaction | None | Vector UI:N [1] |
| Attack complexity | High | Vector AC:H [1] |
| Required configuration or enabled feature | Not established by the reviewed sources | No source states it |
| Reachable interfaces | Not established by the reviewed sources | No source names an endpoint or interface |
| Dependencies and environmental conditions | Not established by the reviewed sources | No source states them |
The prerequisites above come from the CVSS vector and the description. They are not confirmed by a vendor test or a public analysis [1, 3]. The vector does not show whether the affected packages are present in a network-reachable production service.
Exploitation scenarios and attack lifecycle
Scenario A (Illustrative): an external party with network reach to a service that runs affected ASP.NET Core components obtains privileges they should not hold. This matches the record's description, but the reviewed sources do not confirm that any deployed service is reachable in this way [1, 3]. Defensive opportunities: restrict network reach to development and build components, review authentication and authorization decision logs on reachable services, and alert on privilege changes.
Scenario B (Illustrative): an attacker reaches a developer or build environment that uses affected scaffolding or template packages, and uses the flaw to obtain privileges on that host. Whether such an environment is affected is not established [1]. Defensive opportunities: separate build agents from untrusted networks, and monitor for unexpected privilege changes on build hosts.
No source documents a chain of exploitation, a post-exploitation outcome, or a lifecycle observed in the wild [1, 2, 3]. The attack lifecycle is therefore not established.
Impact analysis
| Area | Technically indicated by the record | Plausible downstream consequence (not demonstrated) |
|---|---|---|
| Confidentiality | High impact per vector C:H [1] | Disclosure of data reachable with elevated rights; scope not established |
| Integrity | High impact per vector I:H [1] | Modification of code, configuration or data; scope not established |
| Availability | High impact per vector A:H [1] | Disruption of services or build pipelines; scope not established |
| Authentication and authorization | Improper authentication, with privilege elevation [1, 3] | Access to administrative functions; not established |
| Privilege boundary | Crossed from unauthenticated to elevated rights [1, 3] | Lateral movement is not established by the sources |
| Data and privacy | Not established by the reviewed sources | Depends on data in reach; not established |
| Business operations | Not established by the reviewed sources | Not established |
| Regulatory or contractual obligations | Not established by the reviewed sources | Depends on the data and contracts involved; not established |
The CVSS impact metrics are the scoring authority's assessment, not a demonstration of impact [1].
Affected products and versions
| Package (vendor: Microsoft) | Affected range as published | Fixed version | Source and qualification |
|---|---|---|---|
| Microsoft.dotnet-scaffold | 10.0.0 or later, before 20.3.0 | 20.3.0 | [1]; as published by the CNA, not independently verified |
| Microsoft.dotnet-scaffold-aspnet | 9.0.0 or later, before 20.3.0 | 20.3.0 | [1]; as published by the CNA, not independently verified |
| Microsoft.DotNet.Web.ProjectTemplates.10.0 | 10.0.13 or later, before 10.0.15 | 10.0.15 | [1]; as published by the CNA |
| Microsoft.DotNet.Web.ProjectTemplates.8.0 | 8.0.32 or later, before 8.0.34 | 8.0.34 | [1]; as published by the CNA |
| Microsoft.DotNet.Web.ProjectTemplates.9.0 | 9.0.21 or later, before 9.0.23 | 9.0.23 | [1]; as published by the CNA |
| Microsoft.VisualStudio.Web.CodeGeneration.Design | Lower bound not yet published (NOT_YET_AVAILABLE), before 9.0.13 | 9.0.13 | [1]; range incomplete |
| Microsoft.VisualStudio.Web.CodeGenerators.Mvc | Lower bound not yet published (NOT_YET_AVAILABLE), before 9.0.13 | 9.0.13 | [1]; range incomplete |
Qualifications:
- The record gives no lower bound for the two Visual Studio packages, so the complete affected range is not established [1].
- The ProjectTemplates 10.0 range starts at 10.0.13, so earlier 10.0.x builds are not listed. Whether they are affected or safe is not established by the sources [1].
- Microsoft.dotnet-scaffold lists 20.3.0 as its fixed version while its affected lower bound is 10.0.0 [1]. This version numbering is as published and should be confirmed against the MSRC advisory before it is used in a compliance statement.
- The ASP.NET Core runtime packages are not listed in the record. Whether they are affected is not established by the reviewed sources [1, 3].
- No source describes configuration-specific exposure or known exclusions [1, 3].
Exploitation and threat intelligence status
- Confirmed exploitation in the wild: Not established by the reviewed sources [1, 2, 3].
- CISA KEV: Not listed as of 2026-11-12. This is not evidence that the CVE has not been exploited [2].
- Public proof of concept: Not established by the reviewed sources [1, 2, 3].
- Threat actors, campaigns and sectors: Not established by the reviewed sources.
- EPSS score: Not present in the pack [1].
- Reliability of evidence: the record is Awaiting Analysis [1], the vendor summary is dated 2026-11-10 and contains only a title and summary [3], and the KEV check is dated 2026-11-12 [2].
The absence of public evidence is not proof that exploitation has not occurred.
Indicators of compromise
No indicators of compromise are given by the reviewed sources. No file hashes, file names, domains, IP addresses, URLs, process names, command lines, log events or network patterns are established [1, 2, 3]. No indicator has been inferred. Any indicator obtained later must be validated for context and date before it is used for blocking, because indicators go stale.
Detection and exposure assessment
- Inventory affected components. Read-only: in each project and build workspace, inspect the project files and any lock files for package references to the seven package identifiers listed in the affected products table [1]. Expected result: package identifiers and versions. Limitation: the record does not state which project types are in scope.
- Resolved package versions. Read-only, using standard .NET SDK tooling: run the list-package command in each project directory with the transitive option, which shows direct and transitive package references and their resolved versions. Prerequisite: the .NET SDK is installed. Limitation: this does not show whether the package is reachable or exploitable [Analyst assessment; standard tooling, not from the pack].
- Vulnerability database check. The standard vulnerable-package report of the .NET SDK depends on advisory data that the reviewed sources do not show covers this CVE. A clean result is therefore not evidence of absence [Analyst assessment].
- Compare versions. For each resolved version, compare against the affected ranges and fixed versions in the affected products table [1]. A version match is not proof of exploitability, and a version outside the listed range is not proof of safety, because the Visual Studio ranges and the ProjectTemplates 10.0 lower range are incomplete [1].
- Authenticated scanner coverage. Confirm whether the scanner in use has a check for CVE-2026-118741. Whether any scanner covers it is not established by the reviewed sources.
- Network reachability. Determine whether any host containing an affected package is reachable from untrusted networks. Method: review firewall and load balancer rules and confirm from an authorized test position. Expected result: a documented list of reachable hosts. Limitation: no source identifies a specific reachable interface.
- Log review. The reviewed sources name no log source, event ID or field for this flaw [1, 2, 3]. Analyst assessment: review authentication and authorization decision logs on reachable hosts for privilege changes that do not match documented administrative activity. This must be tuned to the local logging setup.
Immediate mitigation
- Restrict network access to build agents, developer hosts and any non-production ASP.NET Core service. Protects against: network-based exploitation, since the record marks the attack as network-reachable [1]. Limitation: it does not fix the flaw. Side effects: may block remote developers or pipelines. Verification: confirm from an authorized test position that the restricted host no longer answers from the untrusted segment. Source: follows from the AV:N vector [1].
- Remove public exposure of any affected component that is not needed in production. Protects against: direct reach from outside the organization. Limitation: does not address internal misuse. Side effects: may break deployed tooling. Verification: external scan results of the affected hosts. Source: analyst assessment following from AV:N [1].
- Enforce least privilege for accounts that run builds, scaffolding and code generation. Protects against: the impact of a privilege gain on the build host. Limitation: does not prevent the flaw itself. Side effects: may affect build jobs that need broader rights. Verification: review of account group memberships and service account rights. Source: analyst assessment.
- Increase monitoring of authentication and privilege-change events on reachable hosts, as described in the detection steps. Protects against: undetected misuse. Limitation: no indicators are available. Side effects: log volume. Verification: confirm alert rules are active and tested. Source: analyst assessment.
- Do not rely on WAF or gateway rules for this CVE. No source documents a rule, signature or request pattern for it [1, 2, 3].
Permanent remediation
Vendor-published fixed versions [1]:
- Upgrade Microsoft.dotnet-scaffold to 20.3.0.
- Upgrade Microsoft.dotnet-scaffold-aspnet to 20.3.0.
- Upgrade Microsoft.DotNet.Web.ProjectTemplates.10.0 to 10.0.15.
- Upgrade Microsoft.DotNet.Web.ProjectTemplates.8.0 to 8.0.34.
- Upgrade Microsoft.DotNet.Web.ProjectTemplates.9.0 to 9.0.23.
- Upgrade Microsoft.VisualStudio.Web.CodeGeneration.Design to 9.0.13.
- Upgrade Microsoft.VisualStudio.Web.CodeGenerators.Mvc to 9.0.13.
Prerequisites, dependencies, restart requirements and rollback steps are not established by the reviewed sources. Standard practice applies: take a backup or source control snapshot, and record current package versions before upgrading [Analyst assessment].
Configuration changes after updating: none are documented by the reviewed sources [1, 3]. Verify that regenerated scaffolding and template output still builds and passes the project's existing authentication tests.
Recommended hardening, not vendor-confirmed: after upgrading, review any code scaffolded or generated with an affected version, especially authentication and password recovery code, and regenerate it with the fixed tooling where practical [Analyst assessment].
Whether newer runtime packages or other fixes exist is not established by the reviewed sources. The MSRC advisory should be checked for the complete fix guidance [3].
Workarounds and compensating controls
No workaround is documented by the reviewed sources [1, 3]. Restricting network access and privileges reduces exposure, as described in the immediate mitigation section, but it does not remove the flaw. Compensating controls are not equivalent to the vendor fix, and their residual risk remains until the fixed packages are deployed and verified.
Validation and verification
- Confirm the resolved version of each listed package in every project and build workspace against the fixed versions [1].
- Search every lock file and build output for any remaining listed package below its fixed version, and record the results.
- Confirm that scaffolded or template-generated code produced by the updated tools builds and passes the project's authentication tests.
- Re-run the organization's authenticated scanner, if it covers this CVE, and record whether it reports the CVE as resolved. Coverage is not established by the reviewed sources.
- Review authentication and privilege-change logs on previously reachable hosts for the period since the record was published (2026-11-10) [1].
- Confirm that network restrictions from the immediate mitigation section remain in place where still needed.
- Record evidence: the version output, the owner, the date, the exceptions and the approval for each host. A single check does not show the system is secure.
Incident response
Triage: if privilege-change logs on a reachable host show activity that does not match documented administrative work, treat the host as a potential incident. No indicator is established by the sources, so the trigger must come from local evidence [1, 2, 3].
Containment: restrict the affected host's network access and remove unneeded privileges, without powering off or wiping the host if that would destroy evidence.
Evidence preservation: copy the relevant logs, package lock files and build outputs before changes. Avoid destructive actions that could erase evidence, and follow the organization's incident response plan.
Investigation: review authentication and authorization events and the installed package versions. Analyst assessment: review any code generated with affected tools for unexpected authentication behaviour.
Credential rotation: rotate credentials that the evidence shows may have been exposed, and no more broadly than the evidence warrants.
Eradication and recovery: upgrade to the fixed versions listed in the record and verify as described above [1].
Notification and reporting: obligations depend on the data affected and the jurisdiction, and are not established by the reviewed sources.
Lessons learned: record which components were in scope and how long they remained at affected versions.
Security hardening and prevention
The following measures are defence-in-depth recommendations, labelled as analyst assessment because the sources do not prescribe them:
- Enforce authentication and authorization checks on the server side for every request path, and test that unauthenticated requests cannot reach privileged actions.
- Review password recovery and credential reset code for the weakness class in CWE-640 [1].
- Keep development and generation tools off untrusted networks, and run build agents with least privilege.
- Pin and review package versions through lock files, and alert when a listed package is below its fixed version.
- Add regression tests for authentication and privilege checks in any project generated by affected tools.
- Log authentication and authorization decisions with user, resource and outcome fields, so privilege changes can be reviewed.
Risk assessment
- Technical severity: High, CVSS 3.1 base 8.1 from a Secondary scorer [1].
- Exposure: Not established. The organization must inventory the listed packages and their hosts.
- Prerequisites: the vector indicates no privileges and no user interaction, but high attack complexity [1]. Whether these conditions are met in any real deployment is not established.
- Evidence of exploitation: none in the reviewed sources. The KEV check does not list the CVE as of 2026-11-12 [2].
- Potential business impact: not established by the reviewed sources.
- Existing controls and residual risk: not established.
- Recommended priority: high, pending the inventory. The reasoning is the High severity score, the network-reachable vector, the incomplete affected ranges and the record's Awaiting Analysis status [1]. This is an analyst assessment and is not the CVSS score. Its assumptions are that affected packages are present in the environment and that build or development hosts are reachable from untrusted networks, neither of which is established.
Conclusion
CVE-2026-118741 is an authentication weakness in ASP.NET Core that the record describes as allowing network-based privilege elevation without privileges or user interaction, with high attack complexity [1, 3]. Teams responsible for .NET development, build agents and code generation should act first. The most urgent mitigation is to restrict network reach to affected hosts and remove unneeded privileges. The permanent fix is to upgrade each listed package to its fixed version [1]. To close the issue, the organization needs the complete MSRC advisory, a verified inventory of affected packages, a version check on every host with the fixed versions, a decision on whether the ASP.NET Core runtime is affected, and logs reviewed for the period since publication.
Remediation checklist
- Inventory every project, build agent and developer host that references the seven listed package identifiers, using read-only inspection of project and lock files, and record each resolved version [1].
- Upgrade Microsoft.dotnet-scaffold and Microsoft.dotnet-scaffold-aspnet to 20.3.0 in each affected workspace, after taking a source control snapshot [1].
- Upgrade Microsoft.DotNet.Web.ProjectTemplates.10.0 to 10.0.15, the 8.0 package to 8.0.34 and the 9.0 package to 9.0.23 in each affected workspace [1].
- Upgrade Microsoft.VisualStudio.Web.CodeGeneration.Design and Microsoft.VisualStudio.Web.CodeGenerators.Mvc to 9.0.13 [1].
- Restrict network access to build agents, developer hosts and non-production ASP.NET Core services from untrusted segments, and verify from an authorized test position that the restriction is active [1].
- Confirm whether the ASP.NET Core runtime packages are in use and whether they are affected, by reviewing the MSRC advisory referenced in the record [3].
- After upgrading, rebuild projects and run existing authentication tests, and review code generated with affected tools for authentication and password recovery behaviour [Analyst assessment].
- Re-check resolved package versions in every workspace and record owner, date and exceptions; do not treat a single clean check as proof of security [1].
Evidence gaps
- Root cause of the flaw: the reviewed sources do not describe the coding or design error; the full MSRC advisory and fix commits would settle it [1, 3].
- Complete affected range for Microsoft.VisualStudio.Web.CodeGeneration.Design and Microsoft.VisualStudio.Web.CodeGenerators.Mvc: the record gives no lower bound (NOT_YET_AVAILABLE); the vendor's published range would settle it [1].
- Whether earlier ProjectTemplates 10.0 builds below 10.0.13 and earlier builds of other listed packages are affected: the record lists only specific ranges; the vendor's range would settle it [1].
- Whether the ASP.NET Core runtime packages are affected: they are not listed in the record; the MSRC advisory or vendor guidance would settle it [1, 3].
- Consistency of Microsoft.dotnet-scaffold version numbering (fixed in 20.3.0 with a 10.0.0 lower bound): confirmation from the MSRC advisory is needed [1].
- Required configuration, enabled features, reachable endpoints and deployment conditions: not stated by any source; the vendor advisory would settle them [1, 3].
- Mapping of CWE-640 to the described flaw: NIST's completed analysis would confirm or revise it [1].
- Exploitation in the wild, public proof of concept and threat actor attribution: no evidence in the pack; threat intelligence and the KEV catalog after the cut-off would settle it [2].
- EPSS score: not present in the pack; the FIRST EPSS value would give an exploitation likelihood estimate [1].
- Indicators of compromise and log events: none provided; vendor or threat intelligence reporting would be needed, and each indicator must be validated before use.
- Impact on data, business operations and regulatory obligations: depends on the organization's deployments and is not established by the sources [1].
References
- CVE-2026-118741 record. NIST National Vulnerability Database (NVD), 2026-11-11. https://nvd.nist.gov/vuln/detail/CVE-2026-118741. Accessed 2026-11-12.
- Known Exploited Vulnerabilities Catalog. Cybersecurity and Infrastructure Security Agency (CISA), 2026-11-12. https://www.cisa.gov/known-exploited-vulnerabilities-catalog. Accessed 2026-11-12.
- CVE-2026-118741 ASP.NET Core Elevation of Privilege Vulnerability. Microsoft MSRC, 2026-11-10. https://msrc.microsoft.com/update-guide/vulnerability/CVE-2026-118741. Accessed 2026-11-12.
Summary
Improper authentication in ASP.NET Core allows an unauthorized attacker to elevate privileges over a network.
Severity breakdown
High · 8.1
An attacker without an account can exploit this over the network, without any user action, but only under specific conditions.
- Attack from
- the network (remotely)
- Attack complexity
- high (only works under specific conditions)
- Login needed
- no
- User action needed
- no
- Scope
- stays within the vulnerable component
- Impact
- high on confidentiality, integrity and availability
Weakness
- CWE-640: Weak Password Recovery Mechanism for Forgotten Password
Affected and fixed versions
| Product | Affected versions | Fixed in |
|---|---|---|
| Microsoft Microsoft.dotnet-scaffold version 10.0 | ≥ 10.0.0, < 20.3.0 | 20.3.0 |
| Microsoft Microsoft.dotnet-scaffold version 20.x | ≥ 20.0.0-preview.1.26156.3, < 20.3.0 | 20.3.0 |
| Microsoft Microsoft.dotnet-scaffold-aspnet version 10.0.0-rc.1.25458.5 | ≥ 10.0.0-rc.1.25458.5, < 20.3.0 | 20.3.0 |
| Microsoft Microsoft.dotnet-scaffold-aspnet version 10.0.0-rc.1.25468.1 | ≥ 10.0.0-rc.1.25468.1, < 20.3.0 | 20.3.0 |
| Microsoft Microsoft.dotnet-scaffold-aspnet version 9.0 | ≥ 9.0.0, < 20.3.0 | 20.3.0 |
| Microsoft Microsoft.dotnet-scaffold-aspnet version 9.0.0-preview.8.24467.5 | ≥ 9.0.0-preview.8.24467.5, < 20.3.0 | 20.3.0 |
| Microsoft Microsoft.dotnet-scaffold-aspnet version 9.0.0-preview.9.24509.5 | ≥ 9.0.0-preview.9.24509.5, < 20.3.0 | 20.3.0 |
| Microsoft Microsoft.DotNet.Web.ProjectTemplates.10.0 | ≥ 10.0.13, < 10.0.15 | 10.0.15 |
| Microsoft Microsoft.DotNet.Web.ProjectTemplates.11.0 | ≥ 11.0.0-preview.1.26104.118, < 11.0.0 | 11.0.0 |
| Microsoft Microsoft.DotNet.Web.ProjectTemplates.8.0 | ≥ 8.0.32, < 8.0.34 | 8.0.34 |
| Microsoft Microsoft.DotNet.Web.ProjectTemplates.9.0 | ≥ 9.0.21, < 9.0.23 | 9.0.23 |
| Microsoft Microsoft.VisualStudio.Web.CodeGeneration.Design | ≥ NOT_YET_AVAILABLE, < 9.0.13 | 9.0.13 |
| Microsoft Microsoft.VisualStudio.Web.CodeGeneration.Design version 10.0 | ≥ 10.0.0-rc.1.25458.5, < 10.0.3 | 10.0.3 |
| Microsoft Microsoft.VisualStudio.Web.CodeGeneration.Design version 11.0.0-preview.1.26156.3 | ≥ 11.0.0-preview.1.26156.3, < publication | publication |
| Microsoft Microsoft.VisualStudio.Web.CodeGeneration.Design version 11.0.0-preview.1.26230.3 | ≥ 11.0.0-preview.1.26230.3, < publication | publication |
| Microsoft Microsoft.VisualStudio.Web.CodeGeneration.Design version 8.0 | ≥ 8.0.0-preview.1.23117.2, < 8.0.24 | 8.0.24 |
| Microsoft Microsoft.VisualStudio.Web.CodeGeneration.Design version 9.0 | ≥ 9.0.0-preview.1.24112.3, < 9.0.13 | 9.0.13 |
| Microsoft Microsoft.VisualStudio.Web.CodeGenerators.Mvc | ≥ NOT_YET_AVAILABLE, < 9.0.13 | 9.0.13 |
| Microsoft Microsoft.VisualStudio.Web.CodeGenerators.Mvc version 10.0 | ≥ 10.0.0-rc.1.25458.5, < 10.0.3 | 10.0.3 |
| Microsoft Microsoft.VisualStudio.Web.CodeGenerators.Mvc version 11.0.0-preview.1.26156.3 | ≥ 11.0.0-preview.1.26156.3, < publication | publication |
References by type
Other references
Affected
- Microsoft Microsoft.dotnet-scaffold
- Microsoft Microsoft.dotnet-scaffold-aspnet
- Microsoft Microsoft.DotNet.Web.ProjectTemplates.10.0
- Microsoft Microsoft.DotNet.Web.ProjectTemplates.8.0
- Microsoft Microsoft.DotNet.Web.ProjectTemplates.9.0
Frequently asked questions
What is CVE-2026-118741?
CVE-2026-118741 is a Microsoft-published flaw in ASP.NET Core in which an authentication weakness may let an unauthenticated network attacker gain elevated privileges. The record carries CVSS 3.1 base score 8.1 (High) with vector CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H, scored by secure@microsoft.com as a Secondary scorer, not by NIST. Weakness type: Weak Password Recovery Mechanism for Forgotten Password (CWE-640).
How severe is CVE-2026-118741?
CVE-2026-118741 has a CVSS 3.1 base score of 8.1 (high), from the CNA (microsoft.com). An attacker without an account can exploit this over the network, without any user action, but only under specific conditions.
Is CVE-2026-118741 being exploited?
Not as far as is known: CVE-2026-118741 is not in CISA's Known Exploited Vulnerabilities catalog as of November 26, 2026. EPSS estimates a 0.8% chance that it is exploited in the next 30 days.
Which versions are affected by CVE-2026-118741?
Microsoft Microsoft.dotnet-scaffold version 10.0 ≥ 10.0.0, < 20.3.0 (fixed in 20.3.0); Microsoft Microsoft.dotnet-scaffold version 20.x ≥ 20.0.0-preview.1.26156.3, < 20.3.0 (fixed in 20.3.0); Microsoft Microsoft.dotnet-scaffold-aspnet version 10.0.0-rc.1.25458.5 ≥ 10.0.0-rc.1.25458.5, < 20.3.0 (fixed in 20.3.0); Microsoft Microsoft.dotnet-scaffold-aspnet version 10.0.0-rc.1.25468.1 ≥ 10.0.0-rc.1.25468.1, < 20.3.0 (fixed in 20.3.0); and more, listed on this page.
How do I fix CVE-2026-118741?
Inventory every project, build agent and developer host that references the seven listed package identifiers, using read-only inspection of project and lock files, and record each resolved version. Upgrade Microsoft.dotnet-scaffold and Microsoft.dotnet-scaffold-aspnet to 20.3.0 in each affected workspace, after taking a source control snapshot. Upgrade Microsoft.DotNet.Web.ProjectTemplates.10.0 to 10.0.15, the 8.0 package to 8.0.34 and the 9.0 package to 9.0.23 in each affected workspace.
Timeline & sources
- Microsoft MSRC: CVE-2026-118741 ASP.NET Core Elevation of Privilege Vulnerability
- NVD: CVE-2026-118741 — Microsoft Microsoft.dotnet-scaffold
References
Related vulnerabilities & news
- CVE-2026-118750: Unauthenticated network denial-of-service flaw in ASP.NET Core WebUtilities
- ASP.NET Core and .NET 11 Inefficient Algorithmic Complexity Denial of Service (CVE-2026-118749)
- ASP.NET Core Denial-of-Service Flaw from Unbounded Resource Allocation (CVE-2026-118748)
- ASP.NET Core race condition CVE-2026-114157: local privilege escalation by low-privileged users
- ASP.NET Core Uncontrolled Resource Consumption Denial of Service in Microsoft .NET and Visual Studio (CVE-2026-114149)