CoreWCF UnixDomainSocket CVE-2026-54778
MEDIUMAttack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessGain local host access
-
DeliveryConfirm UDS socket path is accessible
-
ExploitOpen high-concurrency simultaneous connections
-
ExecutionRace non-reentrant getpwuid/getgrgid calls server-side
-
ImpactObtain misattributed peer identity or crash host process
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A06:2025 - Insecure Design
ASVS 5.0
V15 - Secure Coding and Architecture Concurrency control, locking
MITRE ATT&CK
1 technique across 1 tactic: Privilege Escalation The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | The target .NET service must be using the CoreWCF.UnixDomainSocket NuGet package at a vulnerable version (< 1.8.1 or 1.9.0 to < 1.9.1) and must be processing peer identity resolution for incoming UDS connections - meaning the application must be configured to use Unix Domain Socket transport with POSIX peer authentication enabled. The attacker must have local filesystem access to the UDS socket path (AV:L), which by default on Linux may be world-accessible or group-accessible depending on how the socket was created. Exploitation requires sending multiple concurrent connections to collide in the narrow non-reentrant |
| Impact | The vendor-assigned CVSS 6.2 score is consistent with the available data. The AV:L vector is the most important risk limiter - this vulnerability is entirely non-exploitable from a remote network position; an attacker must have local access to the same host and filesystem-level access to the UDS socket path. AC:H correctly reflects the timing sensitivity inherent to race condition exploitation, which typically requires repeated concurrent attempts. The PR:N metric is valid because no credential or privilege elevation is needed to connect to an unprotected socket - but the workaround (restricting socket filesystem permissions) directly negates this by making PR effectively elevated in hardened environments. The A:H impact is the most operationally significant signal: a successful race can crash the hosting .NET process, creating a denial-of-service condition. The C:L and I:L impacts reflect identity misattribution, which could allow a lower-privileged connection to inherit a higher-privileged peer's identity within the application's authorization logic. No EPSS score was provided in the source data, no KEV listing exists, and no POC has been reported, so exploitation probability cannot be quantified beyond the CVSS AC:H signal. In multi-tenant Linux environments where the UDS socket is world-accessible, risk is elevated; in containerized or single-tenant deployments with locked-down socket permissions, real-world risk is low. |
| Exploit ScenarioDerived | A local user on the same host with read-write access to the UDS socket path opens a high volume of simultaneous connections to a CoreWCF service, racing concurrent invocations of |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Jun 19, 2026
Race condition in CoreWCF.UnixDomainSocket peer identity resolution can cause one connection's POSIX identity to be misattributed to another connection, or crash the host process under contention. The root cause is the library's use of the non-reentrant POSIX functions getpwuid and getgrgid in concurrent connection handling paths, affecting all CoreWCF.UnixDomainSocket versions below 1.8.1 and 1.9.x versions below 1.9.1. No public exploit or CISA KEV listing has been identified at time of analysis.
RemediationAI
Upgrade CoreWCF.UnixDomainSocket to v1.8.1 (if on the 1.8.x branch) or v1.9.1 (if on the 1.9.x branch), as confirmed by the vendor GitHub Security Advisory at https://github.com/CoreWCF/CoreWCF/security/advisories/GHSA-q6v9-43v5-jv9q. These are the vendor-released patch versions. If an immediate upgrade is not feasible, the vendor-endorsed workaround is to restrict the Unix Domain Socket filesystem permissions (e.g., via chmod/chown or systemd socket activation with SocketMode) so that only explicitly trusted local users or service accounts can connect to the socket path. This directly reduces the attacker pool eligible to trigger the race. Note the trade-off: this workaround constrains exploitation opportunity but does not eliminate the race condition - concurrent connections from trusted principals can still trigger identity confusion and host crashes. No additional compensating controls are specified in the advisory.
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in nuget
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
CoreWCF is the open-source .NET re-implementation of WCF (Windows Communication Foundation), distributed as NuGet packages. The affected component, CoreWCF.UnixDomainSocket (pkg:nuget/corewcf.unixdomainsocket), provides inter-process communication over Unix Domain Sockets (UDS). When resolving the peer identity of an incoming connection, the library invokes the POSIX functions getpwuid and getgrgid to map numeric UID/GID values to user and group names. Both functions are explicitly non-reentrant per POSIX - they use internal static or global buffers that are overwritten on each call. When multiple threads concurrently resolve peer identities (as happens under load), these calls interleave and corrupt each other's results, producing CWE-362 (Concurrent Execution Using Shared Resource with Improper Synchronization). The impact is bifurcated: identity confusion (one connection inherits another's resolved user/group) produces low-severity confidentiality and integrity impacts, while unhandled corruption of the resolution state can crash the host process (high availability impact).
Know when the next one hits your stack
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
AV:L/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:H
Unix Domain Socket limits attack vector to local; race condition requires precise timing (AC:H); socket access needs no credentials by default (PR:N); process crash drives A:H.
Primary rating from Vendor (https://github.com/CoreWCF/CoreWCF).
CVSS VectorVendor: https://github.com/CoreWCF/CoreWCF
DescriptionCVE.org
Impact
Race condition in POSIX peer identity resolution may attribute one connection’s identity to another (getpwuid/getgrgid non-reentrant) and may crash the host process under contention.
Patches
Fixed in CoreWCF v1.8.1 and v1.9.1
Workarounds
Restrict UDS filesystem permissions so that only trusted local users can connect to the socket path. The race still exists but the attacker pool is constrained.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Race conditions occur when multiple concurrent requests exploit the brief time gap between checking a condition and acting upon it (TOCTOU - Time of Check, Time of Use).
Denial of Service attacks render applications or systems unavailable by overwhelming resources or triggering failure conditions.
GHSA-q6v9-43v5-jv9q
NVD
CVE.org
EPSS
Exploit-DB