CVE-2026-54781: CoreWCF Remote Code Execution Vulnerability

HIGH
Advisory Identifier: GHSA-48pq-2xq3-c2m4
CVSS 7.4
CWE-287 CWE-345
Published
Advisory Summary

CVE-2026-54781 is a HIGH (CVSS 7.4) remote code execution vulnerability (CWE-287: Improper Authentication) affecting CoreWCF libraries in the NuGet ecosystem. The issue involves saml subjectconfirmation methods and holder-of-key proof keys are not enforced. Remediation is available by upgrading affected packages to version 1.8.1, 1.9.1.

CVE-2026-54781 at a Glance

CVE Identifier CVE-2026-54781
GHSA Identifier GHSA-48pq-2xq3-c2m4
Severity HIGH
CVSS v3.1 Base Score 7.4
CWE Classification CWE-287: Improper Authentication
Affected Product CoreWCF
Package Ecosystem NuGet
Published Date
Last Updated

Security Impact

CVSS: 7.4

The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N).

Attack Vector Network (AV:N)
Attack Complexity High (AC:H)
Privileges Required None (PR:N)
User Interaction None (UI:N)
Scope Unchanged (S:U)
Confidentiality High (C:H)
Integrity High (I:H)
Availability None (A:N)

How to Fix CVE-2026-54781

To remediate this vulnerability, upgrade all affected CoreWCF dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.

CoreWCF.Primitives fixed: 1.8.1
Upgrade CoreWCF.Primitives to 1.8.1
CoreWCF.Primitives fixed: 1.9.1
Upgrade CoreWCF.Primitives to 1.9.1
Verify Direct and Transitive Dependencies

Run the following command in your project directory to verify that all resolved dependencies use the patched release:

inspect dependencies for CoreWCF.Primitives

How to Check if You Are Affected

To determine whether your application is affected by CVE-2026-54781, inspect your project dependencies for CoreWCF:

inspect dependencies for CoreWCF.Primitives

Analyze the terminal output to locate any version of CoreWCF in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 1.8.1), your application is affected.

Note: Verify declared build manifests and deployed runtime container environments.

Technical Details

Vulnerability Mechanism & Technical Analysis

This vulnerability is classified under CWE-287: Improper Authentication, where when an actor claims to have a given identity, the product does not prove or insufficiently proves that the claim is correct. In CoreWCF, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.

Source Advisory Statement

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

CVE-2026-54781 Affected CoreWCF Versions

2 component(s)
Fixed Versions:
1.8.11.9.1
Product / Package Ecosystem Affected Versions Fixed Version
CoreWCF.Primitives
NuGet
< 1.8.1
1.8.1
CoreWCF.Primitives
NuGet
≥ 1.9.0
< 1.9.1
1.9.1

References

Frequently Asked Questions

What is CVE-2026-54781?
CVE-2026-54781 is a security vulnerability in CoreWCF involving SAML SubjectConfirmation methods and holder-of-key proof keys are not enforced under CWE-287: Improper Authentication.
Which CoreWCF versions are affected?
Affected versions include releases prior to 1.8.1, 1.9.1 across affected packages: CoreWCF.Primitives.
What version fixes CVE-2026-54781?
Upgrading to 1.8.1, 1.9.1 (or the latest patched release for your respective branch) resolves the vulnerability.
Is CoreWCF.Primitives affected?
Yes, CoreWCF.Primitives is affected in releases prior to 1.8.1, 1.9.1. Upgrade your dependency to 1.8.1, 1.9.1 or later.
What is the CVSS score of CVE-2026-54781?
CVE-2026-54781 has a CVSS v3.1 base score of 7.4 (HIGH) with vector string CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N.
What CWE is associated with CVE-2026-54781?
CVE-2026-54781 is classified under CWE-287: Improper Authentication (When an actor claims to have a given identity, the product does not prove or insufficiently proves that the claim is correct.).
How can I check NuGet dependencies for CVE-2026-54781?
Run the dependency tree command: 'inspect dependencies for CoreWCF.Primitives'. This command lists direct and transitive dependencies in your build configuration so you can verify if a vulnerable version is resolved.
Machine-readable OSV JSON OSV v1.5 Schema
Normalized schema output
{
  "schema_version" : "1.4.0",
  "id" : "GHSA-48pq-2xq3-c2m4",
  "modified" : "2026-06-19T20:47:08Z",
  "published" : "2026-06-19T20:47:08Z",
  "aliases" : [ "CVE-2026-54781" ],
  "summary" : "CoreWCF: SAML SubjectConfirmation methods and holder-of-key proof keys are not enforced",
  "details" : "### Impact\nThe relying application is given a ClaimsPrincipal for a subject whose authority over the assertion the sender never proved. There are two distinct exploit shapes:\n- 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.\n- 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.\n\n#### Preconditions\nThe 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.  \nThe attacker has obtained at least one signed SAML 1.1 assertion of a shape that triggers the bypass.\n\n### Patches\nFixed in CoreWCF v1.8.1 and v1.9.1\n\n### Workarounds\nTo 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.",
  "severity" : [ {
    "type" : "CVSS_V3",
    "score" : "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "NuGet",
      "name" : "CoreWCF.Primitives"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "fixed" : "1.8.1"
      } ]
    } ]
  }, {
    "package" : {
      "ecosystem" : "NuGet",
      "name" : "CoreWCF.Primitives"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "1.9.0"
      }, {
        "fixed" : "1.9.1"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "WEB",
    "url" : "https://github.com/CoreWCF/CoreWCF/security/advisories/GHSA-48pq-2xq3-c2m4"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/CoreWCF/CoreWCF"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-287", "CWE-345" ],
    "severity" : "HIGH",
    "github_reviewed" : true,
    "github_reviewed_at" : "2026-06-19T20:47:08Z",
    "nvd_published_at" : null
  }
}