Skip to main content

CoreWCF CVE-2026-54779

MEDIUM
Authentication Bypass by Capture-replay (CWE-294)
2026-06-19 https://github.com/CoreWCF/CoreWCF GHSA-9jr3-rj99-8jq3
5.9
CVSS 3.1 · Vendor: https://github.com/CoreWCF/CoreWCF
Share

Severity by source

Vendor (https://github.com/CoreWCF/CoreWCF) PRIMARY
5.9 MEDIUM
AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N
vuln.today AI
5.9 MEDIUM

AC:H reflects mandatory prior token capture; PR:N because the attacker presents a stolen credential without holding system privileges; I:H for full user impersonation; C:N as no data is directly disclosed by the replay itself.

3.1 AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N
4.0 AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N

Primary rating from Vendor (https://github.com/CoreWCF/CoreWCF).

CVSS VectorVendor: https://github.com/CoreWCF/CoreWCF

Attack Vector
Network
Attack Complexity
High
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
High
Availability
None

Lifecycle Timeline

2
Source Code Evidence Fetched
Jun 19, 2026 - 21:51 vuln.today
Analysis Generated
Jun 19, 2026 - 21:51 vuln.today

DescriptionCVE.org

Impact

When enabling DetectReplayedTokens, a token can be replayed and will be detected despite it being reused.

Patches

Fixed in CoreWCF v1.8.1 and v1.9.1

Workarounds

Provide your own implementation of ITokenReplayCache with the correct behavior.

AnalysisAI

SAML token replay protection in CoreWCF.Primitives is silently inoperative when DetectReplayedTokens is explicitly enabled, allowing replay attacks to succeed against WCF services using SAML-based federated authentication. Affected versions of the NuGet package CoreWCF.Primitives include all releases before 1.8.1 and the 1.9.0 release prior to 1.9.1. A network-accessible attacker in possession of a valid, unexpired SAML token can replay it to impersonate a legitimate user, defeating the only control operators may have believed was protecting against token theft - no public exploit code has been identified, and this is not listed in CISA KEV.

Technical ContextAI

CoreWCF is the open-source .NET port of Windows Communication Foundation, and CoreWCF.Primitives (pkg:nuget/corewcf.primitives) provides the foundational token-handling infrastructure including SAML security token validators. CWE-294 (Authentication Bypass by Capture-replay) identifies the root cause: the ITokenReplayCache abstraction, which is supposed to record and reject previously seen token identifiers within their validity window, does not function correctly in affected versions. When a service is configured to call DetectReplayedTokens, the broken cache implementation fails to flag re-presented token IDs as already seen, so the replayed token passes validation as if it were fresh. The flaw undermines a defense-in-depth control that organizations must explicitly opt into, meaning its failure is invisible without active monitoring of duplicate token submissions.

RemediationAI

Vendor-released patches are available: upgrade CoreWCF.Primitives to version 1.8.1 if on the 1.8.x release train, or to version 1.9.1 if on the 1.9.x release train, via NuGet. The advisory is at https://github.com/CoreWCF/CoreWCF/security/advisories/GHSA-9jr3-rj99-8jq3. If immediate patching is not possible, the vendor-endorsed workaround is to provide a custom implementation of the ITokenReplayCache interface with correct replay detection logic, which replaces the broken built-in cache while preserving the DetectReplayedTokens feature - this requires development effort but eliminates the flaw without upgrading. As a last resort, disabling DetectReplayedTokens removes the broken code path, but this entirely removes replay protection; if taken, operators should compensate by enforcing very short SAML token lifetimes (minutes rather than hours) and restricting service endpoints to trusted network segments to narrow the replay window.

Share

CVE-2026-54779 vulnerability details – vuln.today

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy