Skip to main content

CoreWCF UnixDomainSocket CVE-2026-54778

MEDIUM
Race Condition (CWE-362)
2026-06-19 https://github.com/CoreWCF/CoreWCF GHSA-q6v9-43v5-jv9q
6.2
CVSS 3.1 · Vendor: https://github.com/CoreWCF/CoreWCF
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Gain local host access
  2. Delivery
    Confirm UDS socket path is accessible
  3. Exploit
    Open high-concurrency simultaneous connections
  4. Execution
    Race non-reentrant getpwuid/getgrgid calls server-side
  5. Impact
    Obtain 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 getpwuid/getgrgid execution window (AC:H) - this is timing-sensitive and may require repeated attempts. Exploitation is categorically blocked from remote network positions. Limiting factors: socket filesystem permissions (the primary workaround), low ambient concurrency (fewer concurrent connections reduce race window), and the high attack complexity of reliably winning a kernel-scheduled timing race.

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 getpwuid/getgrgid in the server's identity resolution code. Under sufficient contention, the attacker's connection receives the resolved UID/GID of a concurrently connecting higher-privileged process (identity confusion allowing privilege escalation within the application's authorization model), or the corrupted buffer state triggers an unhandled exception that crashes the .NET host process. No public POC has been identified, but the exploitation technique is a well-understood consequence of POSIX non-reentrant API misuse under multithreaded load.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
Patch available 0.1% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – 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

nuget corewcf.unixdomainsocket fix: 1.8.1, 1.9.1

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

Vendor (https://github.com/CoreWCF/CoreWCF) PRIMARY 6.2 MEDIUM
AV:L/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:H
vuln.today AI 6.2 MEDIUM

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.

3.1 AV:L/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:H
4.0 AV:L/AC:H/AT:P/PR:N/UI:N/VC:L/VI:L/VA:H/SC:N/SI:N/SA:N

Primary rating from Vendor (https://github.com/CoreWCF/CoreWCF).

CVSS VectorVendor: https://github.com/CoreWCF/CoreWCF

Attack Vector
Local
Attack Complexity
High
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
Low
Integrity
Low
Availability
High

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

EPSS Score
0.1%
Top 99% exploitable
Threat Intel
1
1 source
Data Quality
4 sources
Confidence: Medium

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.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC No
EPSS 0.1%
Patch available Yes
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Defer
Exploitation· derived
None
System Exposure· derived
Small
Automatable· derived
No
Human Impact· derived
Medium

Priority Score

31
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +31
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

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.

Affected Products (CPE)CVE.org

pkg:nuget/corewcf.unixdomainsocket
pkg:nuget/corewcf.unixdomainsocket

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy