Insufficient Session Expiration Affecting corewcf.primitives package, versions [1.0.0-preview1,1.8.1)[1.9.0,1.9.1)


Severity

Recommended
0.0
high
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

Social Trends

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-DOTNET-COREWCFPRIMITIVES-17391909
  • published21 Jun 2026
  • disclosed19 Jun 2026
  • creditUnknown

Introduced: 19 Jun 2026

NewCVE-2026-54779  (opens in a new tab)
CWE-294  (opens in a new tab)
CWE-613  (opens in a new tab)

How to fix?

Upgrade CoreWCF.Primitives to version 1.8.1, 1.9.1 or higher.

Overview

CoreWCF.Primitives is a port of the service side of Windows Communication Foundation (WCF) to .NET Core. The goal of this project is to enable existing WCF services to move to .NET Core.

Affected versions of this package are vulnerable to Insufficient Session Expiration due to the TryAdd implementation in DefaultTokenReplayCache. An attacker can bypass replay detection by resubmitting the same SAML token, causing the cache to accept duplicate entries and letting replayed assertions be processed as fresh. This allows repeated use of a captured token to impersonate a user or reuse an authenticated session, undermining the protection expected from replay checking.

CVSS Base Scores

version 4.0
version 3.1