GitHub Advisoryadvisory · NuGet
GHSA-wjpq-6766-7f5j CoreWCF: Unix Domain Socket PosixIdentity transport accepts connections that skip the security upgrade
MEDIUM
Official page ↗
- Aliases
- CVE-2026-54776
- Ecosystem
- NuGet
- Packages
- CoreWCF.UnixDomainSocket
- Severity
- Moderate
- CVSS vector
- CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N
- Weaknesses
- CWE-306
- Reviewed
- 2026-06-19
Affected packages
• NuGet CoreWCF.UnixDomainSocket: < 1.8.1 → fixed in 1.8.1
• NuGet CoreWCF.UnixDomainSocket: >= 1.9.0, < 1.9.1 → fixed in 1.9.1
Description
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.
Related
Alias · CVE (1)
- CVE-2026-54776 CoreWCF is a port of the service side of Windows Communication Foundation (WCF) to .NET Core. vulnerability
Weakness · CWE (1)
- CWE-306 Missing Authentication for Critical Functionality weakness