Advisory

GHSA-wjpq-6766-7f5j

Also known as: CVE-2026-54776

Summary

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

Details

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.

Severity

Medium Basis: The source's own band: MODERATE

Dates

Published
2026-06-19 20:46 UTC
Modified
2026-06-19 21:11 UTC

Affected packages and fixes

CoreWCF.UnixDomainSocket

NuGet · All systems

Affected

  • introduced 0, fixed 1.8.1 (ecosystem)

Fixed versions

1.8.1

Fix

The export has no generic command for this ecosystem.

CoreWCF.UnixDomainSocket

NuGet · All systems

Affected

  • introduced 1.9.0, fixed 1.9.1 (ecosystem)

Fixed versions

1.9.1

Fix

The export has no generic command for this ecosystem.

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences