CVE-2026-54781: CoreWCF Remote Code Execution Vulnerability
HIGHCVE-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
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).
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.
Upgrade CoreWCF.Primitives to 1.8.1
Upgrade CoreWCF.Primitives to 1.9.1
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
CVE-2026-54781 Affected CoreWCF Versions
2 component(s)| 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?
Which CoreWCF versions are affected?
What version fixes CVE-2026-54781?
Is CoreWCF.Primitives affected?
What is the CVSS score of CVE-2026-54781?
What CWE is associated with CVE-2026-54781?
How can I check NuGet dependencies for CVE-2026-54781?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"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
}
}