IdentityServer4 on .NET 8 and .NET 10: Community Forks vs Migrating
IdentityServer4 won't start on .NET 8 or 10 with its EF stores. We checked the community forks: who patches them, what they target, when a fork is enough.
If you search for “IdentityServer4 .NET 8”, you get NuGet listings for repackaged forks and not much else. Nobody says which of them are maintained, which carry security fixes, or whether running one is a better idea than migrating. This post tries to answer that, as of November 12, 2026.
The short version: stock IdentityServer4 stops at .NET 6. Several community forks run on newer runtimes, but most of them target runtimes that are now out of support themselves, and we couldn’t confirm that any of them carries the fix for the known open-redirect issue. A fork can buy you time. Whether it buys you safety depends on who patches it, and most of the forks have no published process for that.
Why stock IdentityServer4 stops at .NET 6
We tested this when we migrated the public IdentityServer4 quickstart to Duende and logged every failure. We retargeted the app to .NET 10 with IdentityServer4 4.1.2 left untouched. It compiled, then crashed at startup inside IS4’s EF store mappers with an AutoMapper constraint error. A control run on .NET 8 failed the same way. Of the runtimes we tried (6, 8 and 10), only .NET 6 worked.
The cause is a pin: IdentityServer4.EntityFramework.Storage 4.1.2 requires AutoMapper [10.0.0, 11.0.0). AutoMapper 10.1.1, the newest version allowed, fails on .NET 8 and 10. AutoMapper 12.0.1 fixes that error but breaks IS4’s compiled mapping profiles. If you use IS4’s EF stores, there is no supported runtime it starts on.
The NuGet audit in the .NET 10 SDK also flagged two open-redirect advisories against IdentityServer4 4.1.2, GHSA-ff4q-64jc-gx98 (CVE-2024-39694) and GHSA-55p7-v223-x366, with no patched IdentityServer4 version.
Three more facts complete the picture for the “just stay on .NET 6” option:
- .NET 6 left support on November 12, 2024. .NET 8 and .NET 9 followed on November 10, 2026. .NET 10 is the LTS release, supported to November 14, 2028, per Microsoft’s .NET support policy.
- The IdentityServer4 package is marked deprecated on nuget.org “as it is legacy and has critical bugs”, with Duende.IdentityServer as the suggested alternative. The archived repository says it “contains multiple known security vulnerabilities and bugs.”
- The AutoMapper range IS4 pins is itself under an advisory. GHSA-rvv3-g6hj-g44x (CVE-2026-32933, High, CVSS 7.5, denial of service through uncontrolled recursion) affects AutoMapper below 15.1.1 and 16.0.0 up to 16.1.0, which includes the whole 10.x range. The patched versions, 15.1.1 and 16.1.1, are available under RPL-1.5 or a commercial licence, and in our test IS4’s profiles had already broken at 12.0.1.
So the stay-put setup is an unsupported runtime, a deprecated package with two unpatched advisories, and a pinned dependency with a third.
The forks, as of November 12, 2026
These are the IdentityServer4 forks and repackages we found on NuGet and GitHub that target a runtime newer than .NET 6. Versions, dates and target frameworks come from NuGet’s package metadata.
The “open-redirect fix” column is about CVE-2024-39694, the issue behind both IdentityServer4 advisories. We could not confirm the fix for any fork from its source, release notes or commits. Some say they include security fixes in general terms, but none names this CVE. To check a fork yourself, compare its IsLocalUrl implementation with Duende’s fix commit.
| Package | Maintainer | Latest version | Targets | Open-redirect fix | Licence |
|---|---|---|---|---|---|
| Open.IdentityServer | Rock Solid Knowledge | 3.1.5, Nov 11, 2026 | net10.0 | Not confirmed | Apache-2.0 |
| Ourstudio.IdentityServer | Our Studio | Not confirmed on nuget.org; retargeted from net8.0 to net10.0 in Oct 2026 | net10.0 | Not confirmed | Apache-2.0 |
| Indice.IdentityServer4 | Indice | 4.1.9, Mar 23, 2026 | net8.0 (out of support since Nov 10, 2026) | No: it depends on the original IdentityServer4 (>= 4.1.2), so the vulnerable package is still restored | MIT (the package); IS4 underneath is Apache-2.0; AutoMapper 16 is RPL-1.5 or commercial |
| Cnblogs.IdentityServer4 | cnblogs | 4.3.0, May 2, 2025 | net9.0 (out of support since Nov 10, 2026) | Not confirmed | Apache-2.0 |
| Reborn.IdentityServer4 | iamshen | 9.0.0, Dec 12, 2024 | net9.0 (out of support since Nov 10, 2026) | Not confirmed | Apache-2.0 (repo) |
| HigginsSoft.IdentityServer8 | Alexander Higgins | 8.0.4, Feb 17, 2024 | net8.0 (out of support since Nov 10, 2026) | Not confirmed; the release predates the July 2024 advisory | Apache-2.0 (repo) |
| Dangl.IdentityServer4 | Georg Dangl | 4.2.1, Nov 13, 2022 | net7.0 | Not confirmed | Apache-2.0 |
Also on NuGet, not reviewed here and not endorsed: dn.IdentityServer4 10.0.0, IdentityServer4Plus 10.0.5, Mvp.IdentityServer 8.0.5 and OmarBaruzzo.IdentityServer10 10.0.1.
Two things stand out. First, of the forks we reviewed on nuget.org, only Open.IdentityServer targets a runtime that is still in support. The others target .NET 7, 8 or 9, and all three of those are now out of support. Second, Open.IdentityServer is the only one with a security policy written for the fork itself.
What the table doesn’t show: who tells you about the next issue
Advisories are filed against a package ID. GHSA-ff4q-64jc-gx98 and GHSA-55p7-v223-x366 name IdentityServer4. A fork rebuilt and published under a new ID inherits the code but not the advisory records, so NuGet audit and Dependabot show it as clean. We found no advisory entries for any fork ID. That silence tells you nothing about the code.
Indice is the exception. It depends on the original IdentityServer4 package, so the advisories do apply to your build, as a transitive dependency. Whether you see them depends on your target framework: for projects targeting .NET 10, NuGet audit reports transitive packages by default (NuGetAuditMode is all), while projects on earlier targets default to direct references only and need NuGetAuditMode=all set to see them (NuGet warnings NU1901–NU1904).
Then there’s the question of where to report a new issue. The SECURITY.MD files in the Cnblogs and Dangl repositories are carried over from upstream unchanged, so they still send security reports to the original IdentityServer4 contact address. That project is archived.
What a working audit posture looks like is a maintainer who owns security reports for their own package and files advisories against it. Open.IdentityServer has a SECURITY.MD of its own, expanded in October 2026 (PR #125). That is a description of the process, not an audit of the code, and we haven’t run one.
Even this fork isn’t a drop-in. Its migration guide from IdentityServer4 requires .NET 10, a namespace change from IdentityServer4 to Open.IdentityServer, and database schema changes it calls “not easily reversible.” It moves quickly: 3.0.0 shipped on October 14, 2026, followed by four more releases by November 2, and its roadmap says some features ship as separately licensed components. That’s roughly the shape of work we logged for Duende: a package and namespace swap, a schema migration, and a signing-key check.
The options side by side
| Option | Runtime | Who ships security fixes | What changes in your code | Licence cost | Fits when |
|---|---|---|---|---|---|
| Stay on IS4 4.1.2 + .NET 6 | .NET 6, out of support since Nov 2024 | Nobody | Nothing | Free | The server is being decommissioned within months and nothing external logs into it |
| Repackaged fork on .NET 7/8/9 (Cnblogs, Reborn, HigginsSoft, Dangl, Indice) | All out of support as of Nov 10, 2026 | The porter, if anyone; no fix for the IS4 advisories confirmed | Package swap, sometimes namespaces | Free (check AutoMapper’s licence) | A short bridge you’ve already dated |
| Maintained fork on .NET 10 (Open.IdentityServer) | .NET 10 LTS | Rock Solid Knowledge, under the fork’s own security policy | .NET 10, namespace swap, schema migration | Apache-2.0 core; paid support and components | You want an Apache-2.0 codebase and accept a young, single-vendor project |
| Duende IdentityServer | .NET 10 LTS | Duende | .NET 10, namespace swap, schema migration, key handling (logged here) | Paid licence, or the Community Edition if you qualify | You want IS4’s direct successor from its original authors |
| OpenIddict, Keycloak or a managed IdP | Varies | Their maintainers or the vendor | Rewrite the server layer or replace the server | Free to per-user pricing | You’d rather stop owning an IdentityServer-style codebase (compared here) |
How to decide
Go through these in order. The first “no” usually decides it.
- Is the runtime in support? Anything below .NET 10 is out as of November 10, 2026. If a fork targets .NET 8 or 9, you’re swapping one unsupported stack for another.
- Who ships the patch for the next advisory, and how will you hear about it? Look for a security policy written for the fork, advisories filed under its own package ID, a fix you can see in the source for the known issue, and releases after the last known issue. If the answer is “a volunteer, maybe,” then you are the security team for your token server.
- Is anyone outside your company asking? A security questionnaire that asks whether your token server is on a supported version has a short answer for stock IS4. A fork changes that answer only if it has a maintainer you can name.
- How much of the work is the same as migrating? If the fork needs .NET 10, a namespace change and a schema migration, then what separates it from Duende is the licence and the vendor, not the effort. Price both against the same scope, using what Duende actually costs, including whether you qualify for the free Community Edition.
- Do you use the EF stores? That’s the code path that breaks on .NET 8+ and pins AutoMapper. A custom or in-memory store setup has a different risk profile, though the open-redirect issue sits in the core and still applies.
- When does the bridge end? If you pick a fork to buy time, write the end date down. A stopgap without a date tends to become permanent.
What we would do
If the IdentityServer4 instance is being retired within a quarter, leave it on .NET 6, keep it off the public internet if you can, and do the inventory step of our migration checklist anyway, so the retirement plan is based on facts.
Otherwise, migrate, and treat the destination as a separate decision. For most commercial products that’s Duende, and our checklist plus the logged quickstart migration show what the work involves. If the licence is the sticking point, the alternatives comparison covers OpenIddict, Keycloak and managed IdPs, and our IdentityServer4 to OpenIddict mapping shows what that path involves. A fork is a legitimate destination only if it targets .NET 10, has an accountable maintainer, and handles security reports for its own package. Of the forks we reviewed, Open.IdentityServer is the only one that currently meets those three, and you should still confirm the CVE-2024-39694 fix in its source. That describes its process today, not the security of its code.
The repackaged forks on .NET 7, 8 and 9 bought teams a year or two. As of this month they put you back on an unsupported runtime, and we couldn’t confirm that any of them carries the one fix the IdentityServer4 advisories call for. They buy time, not safety.
If other projects in the same solution still run on .NET Framework, the runtime upgrade is its own project. Our .NET Framework to .NET 10 migration checklist covers that side. And if you’d rather have the IdentityServer4 move scoped and run for you, that’s our fixed-price IdentityServer migration sprint, from $9,600.
Related Posts
IdentityServer4 → Duende: What Actually Breaks (We Migrated the Quickstart and Logged It)
We migrated the public IdentityServer4 EF quickstart to Duende IdentityServer 8 on .NET 10 and logged every failure. Licensing, keys, grants, rollback.
Duende IdentityServer 8 Example: Server, API and MVC Client on .NET 10 (Real Code)
A working Duende IdentityServer 8 example on .NET 10: EF stores, an MVC code-flow client and a JWT-protected API, quoted from a public repo you can run.