Loading...
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

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 (115 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, run your dependency scanner again to confirm the vulnerability is resolved.

Affected Packages (2)

Affects 1 ecosystem: nuget (1).

PackageEcosystemAffectedFixed In
CoreWCF.Primitives
nuget
0.1.0, 0.1.0-preview, 0.1.0-preview-2, 0.2.0 (+28 more)1.8.1
CoreWCF.Primitives
nuget
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. 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

High exploitability or significant impact. Prioritize remediation within days.

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-106112
    HIGH

    ImageSharp: ICC LUT16 output channel count can write beyond Vector4

  • CVE-2026-54783
    HIGH

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

  • CVE-2026-106115
    HIGH

    ImageSharp: TIFF CCITT T6 encoder writes beyond an undersized output buffer

  • CVE-2026-54774
    HIGH

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

  • 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 if you're affected

Scan your dependencies to see if this vulnerability affects your projects.

Scan Your Dependencies