Skip to main content

CVE-2026-54781 — Vulnerability in CoreWCF.Primitives — CVE Details

HIGH

CoreWCF: SAML SubjectConfirmation methods and holder-of-key proof keys are not enforced

Published June 19, 2026Updated June 19, 2026Source: OSV

What Should I Do?

Address in Next Maintenance Window

Low exploitation probability (0.25%). Schedule for your next planned update.

Does your project use an affected CoreWCF.Primitives version?

Paste your packages.lock.json to check it for CVE-2026-54781 and every other known vulnerability, with CISA KEV and EPSS on each finding. Free with no signup for up to 10 packages, or up to 500 per scan with a free account, which also keeps up to 200 packages in saved projects.

Check my packages.lock.json

Summary

Impact

The relying application is given a ClaimsPrincipal for a subject whose authority over the assertion the sender never proved. There are two distinct exploit shapes:

  • Holder-of-key downgrade. An attacker who obtains a holder-of-key SAML assertion that was issued without KeyInfo (issuer bug, custom STS shape, or assertion captured from an interaction where KeyInfo was elided) can present it to the service and be authenticated as the assertion’s subject without producing the proof key the assertion’s confirmation method would normally require. The service’s reliance on holder-of-key for sensitive actions is bypassed.
  • Custom-method bypass. An attacker who can obtain or arrange the issuance of a SAML assertion bearing a non-standard confirmation method URI (a permissive STS that accepts arbitrary method strings, an experimental custom IDP, or an attacker-side construction that the issuer signs without validating the method field) can present the assertion and be authenticated. Per-method policies that an application or a binding-level policy expects the framework to enforce are silently bypassed.

Preconditions

The service is configured to accept SAML 1.1 tokens via federation. Typical bindings are WS2007FederationHttpBinding and WSFederationHttpBinding, or any custom binding using IssuedSecurityTokenParameters with a SAML 1.1 token type.
The attacker has obtained at least one signed SAML 1.1 assertion of a shape that triggers the bypass.

Patches

Fixed in CoreWCF v1.8.1 and v1.9.1

Workarounds

To exploit this issue, it's required that a trusted STS issues SAML assertions whose SubjectConfirmationMethod is not one of the SAML 1.1 trio, or is willing to issue holder-of-key assertions without KeyInfo. If no trusted STS is willing to issue SAML assertions meeting either of these criteria, then a service isn't vulnerable.

Advisory Timeline

  • First published June 19, 2026 (160 days ago).
  • Last revised June 19, 2026 — 0 days after initial publication.

Remediation

Upgrade to the fixed version using your package manager.

NuGet
Update CoreWCF.Primitives to 1.8.1 or later
dotnet add package CoreWCF.Primitives --version 1.8.1
NuGet
Update CoreWCF.Primitives to 1.9.1 or later
dotnet add package CoreWCF.Primitives --version 1.9.1

After upgrading, scan your dependencies again to confirm the vulnerability is resolved.

Affected Packages (2)

Affects 1 ecosystem: NuGet (1).

PackageFixed In
CoreWCF.Primitives NuGet · Affected: 0.1.0, 0.1.0-preview, 0.1.0-preview-2, 0.2.0 (+28 more)1.8.1
CoreWCF.Primitives NuGet · Affected: 1.9.01.9.1

Vulnerability Classification

Common Weakness Enumeration (CWE) identifiers for this vulnerability type.

  • CWE-287
    Improper AuthenticationMITRE
  • CWE-345
    Insufficient Verification of Data AuthenticityMITRE

CVSS Score Breakdown

What the CVSS (Common Vulnerability Scoring System) 7.4 score means for each attack dimension.

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

CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N

Frequently Asked Questions

What is CVE-2026-54781?
CoreWCF: SAML SubjectConfirmation methods and holder-of-key proof keys are not enforced. This vulnerability has been assigned a severity rating of HIGH (CVSS score: 7.4/10).
How do I check if my project is affected by CVE-2026-54781?
CVE-2026-54781 affects CoreWCF.Primitives. It has a 0.2% probability of exploitation within 30 days (EPSS score). Use GeekWala's free vulnerability scanner to check your dependencies against CVE-2026-54781 and 200,000+ other known vulnerabilities.

Severity & Exploitability

CVSS Score
7.4

Significant impact if exploited, or exploitable with modest effort.

EPSS Score (30-day exploit probability)
0.25%
EPSS percentile: 9.7

This is a below-median EPSS score — only 9.7% of tracked vulnerabilities score at or below it, so most tracked vulnerabilities are considered more likely to be exploited than this one.

Also Known As

GHSA-48pq-2xq3-c2m4

Related CVEs

  • CVE-2026-54782
    CRITICAL

    CoreWCF: Authentication bypass in CoreWCF SAML 1.1 / 2.0 token signature validation

  • CVE-2026-54784
    HIGH

    CoreWCF: SPNEGO SecurityContextToken proof key wrapped without confidentiality

  • CVE-2026-102529
    HIGH

    HtmlSanitizer: CSS Removal DoS

  • CVE-2026-54783
    HIGH

    CoreWCF: XML Signature Wrapping in WS-Security endorsing/supporting signature verification allows replay of captured signed messages

  • CVE-2026-54774
    HIGH

    CoreWCF: SamlSerializer skips SignatureValue verification when SAML signing token is not an X.509 certificate

  • CVE-2026-63184
    HIGH

    Refitter: Unrestricted OpenAPI references permit build-host SSRF and file inclusion

  • CVE-2026-54779
    MEDIUM

    CoreWCF: SAML token replay protection is inoperative

  • CVE-2026-54773
    MEDIUM

    CoreWCF: WS-Security signature substitution via document-wide Signature lookup

Check your own dependencies

Free, with no signup for up to 10 packages.

Check my packages.lock.json