HIGH 7.4

CVE-2026-54784: CoreWCF SPNEGO Proof Key Exposure and Session Hijacking

CoreWCF version 1.9.0 contains a flaw in its SPNEGO-based security token negotiation that leaks the proof key used to establish secure sessions. When a Windows client authenticates using TransportWithMessageCredential mode and negotiates a session, the proof key becomes visible to network observers. This allows an attacker with network access to impersonate the authenticated Windows user and gain the ability to decrypt, read, and forge encrypted WS-SecureConversation messages—effectively hijacking authenticated sessions.

Source data · NVD / CISA · public domain

CVSS
3.1 · 7.4 HIGH · CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N
Weaknesses (CWE)
CWE-311, CWE-523
Affected products
0 configuration(s)
Published / Modified
2026-07-08 / 2026-07-10

NVD description (verbatim)

CoreWCF is a port of the service side of Windows Communication Foundation (WCF) to .NET Core. In version 1.9.0, CoreWCF SPNEGO SecurityContextToken negotiation can expose the proof key recovered from the RSTR when TransportWithMessageCredential with Windows client credentials and session establishment are used, allowing an observer to impersonate the authenticated Windows principal and decrypt or forge WS-SecureConversation traffic. This issue is fixed in version 1.9.1.

4 reference(s) · View on NVD →

SEC.co analysis · AI-assisted, reviewed against source

Technical summary

The vulnerability exists in CoreWCF's implementation of SPNEGO SecurityContextToken negotiation when TransportWithMessageCredential is combined with Windows client credentials and session establishment. The proof key material derived from the RequestSecurityTokenResponse (RSTR) is not properly protected during the negotiation handshake, exposing it to passive network observation. An attacker capable of observing network traffic can extract this key and use it to decrypt subsequent WS-SecureConversation traffic and forge messages as the authenticated principal. The issue is rooted in improper cryptographic material handling (CWE-311) and exposure of sensitive information in log files or debug data (CWE-523).

Business impact

Organizations relying on CoreWCF 1.9.0 for Windows-authenticated service-to-service communication face a critical session hijacking risk. An attacker with network-level visibility (internal network, compromised ISP, cloud provider positioning, or man-in-the-middle capability) can impersonate legitimate authenticated principals, leading to unauthorized data access, modification of transactions, and potential lateral movement within service architectures. The impact is particularly severe in line-of-business applications handling sensitive transactions or accessing restricted data, and in multi-tenant cloud scenarios where tenants should be isolated.

Affected systems

CoreWCF version 1.9.0 is affected. Version 1.9.1 and later contain the fix. Any .NET Core or .NET 5+ application using CoreWCF for Windows-authenticated WCF services with TransportWithMessageCredential binding and session management is vulnerable. This includes legacy WCF services being modernized to .NET Core, enterprise service buses, and API gateway implementations relying on CoreWCF for Windows authentication and message-level security.

Exploitability

Exploitation requires network-level access to observe the SPNEGO negotiation traffic (CVSS Attack Vector: Network, but with High complexity due to the need for a specific configuration pattern and session context). The attacker must be able to capture the RSTR message during session establishment and extract the proof key. Once obtained, exploiting the compromise is straightforward—decrypting and forging subsequent messages requires no interaction and no privileges. The configuration requirement (TransportWithMessageCredential + Windows credentials + session) limits the scope but remains common in enterprise environments.

Remediation

Upgrade CoreWCF to version 1.9.1 or later immediately. If immediate patching is not feasible, restrict network access to CoreWCF service endpoints to trusted internal networks only, isolate services behind network segmentation, and consider using alternative authentication mechanisms (e.g., certificate-based, mutual TLS) that do not rely on SPNEGO negotiation. Monitor for indicators of proof key extraction or unusual session activity on affected services.

Patch guidance

Apply the upgrade to CoreWCF 1.9.1 as published by the project maintainers. Verify compatibility with your application's .NET Core/.NET version before deployment. The fix is isolated to the security token negotiation layer and should not require application code changes. Test the upgrade in a non-production environment to confirm service stability before rolling out to production. For large deployments, plan a phased rollout to minimize service interruption.

Detection guidance

Search for CoreWCF package references in your codebase and dependency manifests; identify any usage with TransportWithMessageCredential binding and Windows authentication. Monitor runtime logs for SPNEGO negotiation activity and session establishment patterns. Network-based detection is difficult without decrypting SPNEGO traffic; focus on identifying outdated CoreWCF versions in your environment via package scanning, software inventory tools, and SCA (Software Composition Analysis) platforms. Track for unusual session persistence or forged message signatures that deviate from expected authentication patterns.

Why prioritize this

This is a HIGH severity vulnerability affecting authentication and confidentiality of secure service communication. The proof key exposure allows complete session hijacking and message forgery, violating both confidentiality (C:H) and integrity (I:H) in the CVSS vector. While the attack vector is Network, the requirement for session-based configuration and network positioning raises the attack complexity. However, the combination of high impact and the likelihood that many enterprises use CoreWCF for Windows-authenticated services makes this a priority for rapid patching. The absence from the KEV catalog does not diminish the need for prompt remediation—it reflects early-stage disclosure rather than lack of risk.

Risk score, explained

The CVSS 3.1 score of 7.4 (HIGH) reflects high impact on confidentiality and integrity of encrypted communications, network-based attack vector, and no authentication requirement. The attack complexity is rated high because the vulnerability requires a specific binding configuration (TransportWithMessageCredential with Windows credentials and session establishment), limiting the scope of vulnerable instances. The score appropriately penalizes the lack of availability impact (session hijacking does not cause denial of service). For organizations with widespread CoreWCF usage in sensitive authentication contexts, the practical risk may exceed the numerical score.

Frequently asked questions

Can an attacker execute arbitrary code through this vulnerability?

No. This vulnerability is limited to session hijacking and message forgery within the WS-SecureConversation protocol. An attacker cannot achieve remote code execution; however, they can impersonate the authenticated Windows principal and access or modify data accessible to that principal within the service.

Do I need to patch if I'm not using Windows authentication in CoreWCF?

No. The vulnerability is specific to SPNEGO negotiation with Windows client credentials. If your CoreWCF services use certificate-based authentication, SAML tokens, or other non-Windows mechanisms, you are not affected by this issue.

Is the vulnerability exploitable over the internet or only on internal networks?

The vulnerability requires network-level access to the SPNEGO handshake traffic. While the CVSS vector indicates network-based attack, in practice, exploitation is most feasible on internal networks or when an attacker has positioned themselves between the client and service (e.g., compromised router, packet capture capability, or man-in-the-middle). Internet-based exploitation is unlikely unless the CoreWCF service is directly exposed without additional network controls.

Does upgrading to CoreWCF 1.9.1 require code changes?

No. The fix is contained within the CoreWCF library itself and addresses the underlying cryptographic material handling. Simply upgrading the NuGet package to version 1.9.1 or later should resolve the issue without modifying application code, provided your .NET runtime version is compatible.

This analysis is based on the vulnerability description and CVSS assessment as of the publication date. Organizations must verify their specific CoreWCF version, binding configuration, and network exposure before determining risk. Patch version numbers and availability are subject to change; consult the official CoreWCF project repository and security advisories for the latest guidance. This vulnerability intelligence is provided for informational purposes and should not be construed as legal or compliance advice. Security teams should conduct their own assessment and testing in accordance with their organizational policies and risk management frameworks. Source: NVD (public-domain), retrieved 2026-08-17. Analysis generated by SEC.co (claude-haiku-4-5).