CVE-2026-54776
JSON

4.4medium

CoreWCF: Unix Domain Socket PosixIdentity transport accepts connections that skip the security upgrade

Severity
4.4medium CVSS:3.1 by GitHub_M
Exploit likelihood
0.11% (higher than 1% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
GitHub_M
Also known as
GHSA-wjpq-6766-7f5j

Description

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, a CoreWCF service hosted on Unix Domain Sockets with PosixIdentity client credentials can accept connections that skip the application/unixposix stream upgrade before dispatching messages, bypassing framing-layer identity checks in UnixPosixIdentitySecurityUpgradeProvider. This issue is fixed in versions 1.8.1 and 1.9.1.

Affected

Product or packageVersionsReported by
CoreWCF CoreWCF>= 1.9.0, < 1.9.1, < 1.8.1CVE List
CoreWCF.UnixDomainSocket (NuGet)before 1.8.1, from 1.9.0 before 1.9.1GitHub Advisory Database

All scores

GitHub_M4.4medium CVSS:3.1CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N
GitHub4.4medium CVSS:3.1CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N

Classification

CWE-306

SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.

What each source says

CVE List

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, a CoreWCF service hosted on Unix Domain Sockets with PosixIdentity client credentials can accept connections that skip the application/unixposix stream upgrade before dispatching messages, bypassing framing-layer identity checks in UnixPosixIdentitySecurityUpgradeProvider. This issue is fixed in versions 1.8.1 and 1.9.1.

GitHub Advisory Database
Impact

A CoreWCF service hosted on Unix Domain Sockets with the PosixIdentity client credential type (UnixDomainSocketBinding with Security.Mode = TransportCredentialOnly and Security.Transport.ClientCredentialType = PosixIdentity) does not require the client to perform the application/unixposix stream upgrade before dispatching messages.

Patches

Fixed in CoreWCF v1.8.1 and v1.9.1

Workarounds

Restrict filesystem access to the UDS socket file using owner/group/mode (e.g. chmod 0660 plus a dedicated group) so that only the POSIX users who are already authorized to invoke the service can connect at all. This makes the missing-upgrade behaviour equivalent to the operating system’s filesystem permissions instead of relying on framing-layer identity checks. Avoid relying on ServiceSecurityContext.PrimaryIdentity for authorization decisions, or back it up with an authentication-required authorization policy that rejects anonymous principals.

References

Sources

SourceRecordLicence
CVE ListCVE-2026-54776 changed 2026-07-09CVE Terms of Use
GitHub Advisory DatabaseGHSA-wjpq-6766-7f5j changed 2026-06-19CC-BY-4.0
NVDCVE-2026-54776 changed 2026-07-09Public domain