CVE-2026-40306: DNN Same HostGUID For All New Vulnerability
MODERATECVE-2026-40306 is a MODERATE (CVSS 6.5) same hostguid for all new vulnerability (CWE-330: Use of Insufficiently Random Values) affecting DNN libraries in the NuGet ecosystem. The issue involves same hostguid for all new installs. Remediation is available by upgrading affected packages to version 10.2.2.
CVE-2026-40306 at a Glance
Security Impact
CVSS: 6.5
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N).
How to Fix CVE-2026-40306
To remediate this vulnerability, upgrade all affected DNN dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
Upgrade DotNetNuke.Core to 10.2.2
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
inspect dependencies for DotNetNuke.Core
How to Check if You Are Affected
To determine whether your application is affected by CVE-2026-40306, inspect your project dependencies for DNN:
inspect dependencies for DotNetNuke.Core
Analyze the terminal output to locate any version of DNN in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 10.2.2), your application is affected.
Note: Verify declared build manifests and deployed runtime container environments.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under CWE-330: Use of Insufficiently Random Values, where the product uses insufficiently random numbers or values in a security context that depends on unpredictable numbers. In DNN, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.
Source Advisory Statement
CVE-2026-40306 Affected DNN Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
DotNetNuke.Core
|
NuGet |
≥ 10.0.0
< 10.2.2
|
10.2.2
|
References
Frequently Asked Questions
What is CVE-2026-40306?
Which DNN versions are affected?
What version fixes CVE-2026-40306?
Is DotNetNuke.Core affected?
What is the CVSS score of CVE-2026-40306?
What CWE is associated with CVE-2026-40306?
How can I check NuGet dependencies for CVE-2026-40306?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-2rhw-gw3f-477j",
"modified" : "2026-04-24T20:50:16Z",
"published" : "2026-04-10T21:07:13Z",
"aliases" : [ "CVE-2026-40306" ],
"summary" : "DNN: Same HostGUID for all new installs",
"details" : "DNN (formerly DotNetNuke) is an open-source web content management platform (CMS) in the Microsoft ecosystem. All new installations of DNN 10.x.x - 10.2.1 have the same Host GUID. This does not affect upgrades from 9.x.x. Version 10.2.2 patches the issue.",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N"
}, {
"type" : "CVSS_V4",
"score" : "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "NuGet",
"name" : "DotNetNuke.Core"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "10.0.0"
}, {
"fixed" : "10.2.2"
} ]
} ]
} ],
"references" : [ {
"type" : "WEB",
"url" : "https://github.com/dnnsoftware/Dnn.Platform/security/advisories/GHSA-2rhw-gw3f-477j"
}, {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2026-40306"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/dnnsoftware/Dnn.Platform"
}, {
"type" : "WEB",
"url" : "https://github.com/dnnsoftware/Dnn.Platform/releases/tag/v10.2.2"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-330" ],
"severity" : "MODERATE",
"github_reviewed" : true,
"github_reviewed_at" : "2026-04-10T21:07:13Z",
"nvd_published_at" : "2026-04-17T22:16:32Z"
}
}