HIGH 7.4

CVE-2026-54774: CoreWCF SAML Signature Verification Bypass – HIGH Severity

CoreWCF, a .NET Core implementation of Windows Communication Foundation, contains a flaw in how it validates SAML security tokens. When a service uses non-X.509 signing credentials to validate these tokens, the final cryptographic signature check is skipped, allowing an attacker to forge or tamper with assertions. An attacker can trick the system into accepting invalid tokens by referencing a different key identifier that isn't actually an X.509 certificate. This bypasses a critical security control that would normally prevent token manipulation.

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-345, CWE-347
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. Prior to 1.8.1 and 1.9.1, SamlSerializer skips final SignatureValue verification when a CoreWCF service validates SAML tokens using a non-X.509 signing token, allowing an attacker to reference a non-X.509 SecurityToken key identifier and bypass assertion signature verification. This issue is fixed in versions 1.8.1 and 1.9.1.

6 reference(s) · View on NVD →

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

Technical summary

The vulnerability exists in CoreWCF's SamlSerializer when processing SAML assertions signed with non-X.509 SecurityTokens. During token validation, the SignatureValue verification step is conditionally skipped if the signing token is not X.509-based. An attacker can exploit this by crafting a SAML assertion that references a non-X.509 key identifier in the signature block, causing the validator to bypass final signature verification entirely. The flaw affects versions prior to 1.8.1 and 1.9.1. CWE-345 (Insufficient Verification of Data Authenticity) and CWE-347 (Improper Verification of Cryptographic Signature) are the root causes.

Business impact

Services relying on CoreWCF for SAML token validation with non-X.509 signing credentials face a direct authentication bypass risk. An attacker can forge valid-looking SAML assertions without possessing the actual signing key, gaining unauthorized access to protected resources or assuming the identity of legitimate users. The impact is particularly severe in multi-tenant or federated identity scenarios where token trust is foundational to access control and audit trails.

Affected systems

CoreWCF versions prior to 1.8.1 and 1.9.1 are vulnerable. The issue specifically manifests when a CoreWCF service is configured to validate SAML tokens using non-X.509 signing credentials. Organizations using CoreWCF for WCF service migration to .NET Core should assess their token validation configuration and signing token types immediately.

Exploitability

Exploitation requires network access to a vulnerable service and the ability to craft a SAML assertion with a non-X.509 key reference. The attack is not trivial—an attacker needs understanding of SAML structure and the target service's expected token format—but the lack of cryptographic verification means the barrier to crafting a valid-appearing token is substantially lowered. CVSS 7.4 (HIGH) reflects the high confidentiality and integrity impact but higher complexity and network-only attack vector.

Remediation

Upgrade CoreWCF to version 1.8.1 or 1.9.1, depending on your current track. Verify against the vendor advisory for your specific deployment version. If immediate upgrade is not feasible, consider migrating to X.509-based signing credentials for SAML validation, which does not exhibit this code path. Review and strengthen token validation logging to detect anomalous assertions.

Patch guidance

Apply CoreWCF security updates to reach version 1.8.1 (for the 1.8.x line) or 1.9.1 (for the 1.9.x line) as soon as feasible. Both versions contain the fix for SamlSerializer SignatureValue verification. After patching, restart all services using CoreWCF and validate that token validation behavior has not been altered by the update. Monitor service logs for any validation errors during the transition period.

Detection guidance

Monitor CoreWCF service logs for SAML token validation warnings or exceptions. Look for patterns of assertions with non-X.509 key references being processed by your services. Network detection is challenging without decryption, but tools monitoring SAML assertion structure on ingress may flag assertions with inconsistent signing token references. Consider enabling enhanced logging in CoreWCF configuration to capture token metadata during validation for post-incident forensics.

Why prioritize this

This is a HIGH-severity authentication bypass affecting a widely-used service framework. Any service using CoreWCF for SAML validation with non-X.509 credentials faces direct compromise risk. The simplicity of exploitation once a vulnerable configuration is identified makes this a priority target for threat actors seeking persistent access. It should be patched ahead of lower-complexity issues.

Risk score, explained

CVSS 7.4 reflects HIGH severity due to complete bypass of signature verification (high impact to confidentiality and integrity of authentication), network accessibility, and lack of user interaction required. The 'High Complexity' component acknowledges that exploitation requires crafting a properly-structured SAML token, but the absence of cryptographic validation significantly reduces the actual barrier. The 'No Availability Impact' component recognizes this is an authentication attack, not a denial-of-service.

Frequently asked questions

Our service uses X.509 certificates to sign SAML tokens—are we affected?

No. The vulnerability only manifests when non-X.509 SecurityTokens are used for SAML signing. If your CoreWCF service is configured with X.509 certificates, the SignatureValue verification code path operates normally and the vulnerability does not apply. However, you should still update to the patched versions as a security best practice.

What does 'non-X.509 SecurityToken' mean in practice?

CoreWCF supports various token types for cryptographic operations, including symmetric keys, custom token implementations, and other mechanisms beyond X.509 certificates. If your configuration specifies something other than an X.509 certificate as the signing credential—for example, a custom key provider or symmetric encryption key—your service is using a non-X.509 SecurityToken and is therefore vulnerable.

Can we detect if this vulnerability has been exploited in our environment?

Forensically, you would need to examine SAML assertion logs and token validation records to identify assertions with non-X.509 key references that were accepted. If your logging is minimal, detection may be difficult. Post-patch, enable detailed token validation logging to establish a baseline and detect future anomalies. Monitor for unexpected user activity or privilege escalations that could indicate token forgery.

Do we need to revoke or re-issue existing SAML tokens?

Existing tokens signed prior to the patch do not automatically become invalid. However, if you suspect exploitation, you should investigate token usage patterns and consider rotating your signing credentials and re-issuing tokens to trusted users. The patch prevents future exploitation, but does not retroactively validate tokens generated before remediation.

This analysis is based on the official CVE-2026-54774 description and CVSS vector. Specific affected product versions, patch release dates, and vendor advisory details should be verified directly with the CoreWCF project and your vendor. The information provided does not constitute legal or compliance advice. Organizations should conduct independent risk assessments and testing before deploying patches to production environments. Source: NVD (public-domain), retrieved 2026-08-17. Analysis generated by SEC.co (claude-haiku-4-5).