9.8

CVE-2023-3961: Samba: smbd allows client access to unix domain sockets on the file system as root

Modified
AliasesALPINE-CVE-2023-3961DEBIAN-CVE-2023-3961
Published 03-11-2023Last modified 20-11-2025

Vulnerability summary

CVE-2023-3961 is a critical (CVSS 9.8) vulnerability in fedoraproject fedora. EPSS estimates a 2.69% chance of exploitation in the next 30 days, higher than 85.8% of scored vulnerabilities. 1 public exploit is recorded.

Priority
Prioritisepublic exploit

Public exploit (reference, Date unknown)

Source freshness unavailable

How is this decided?
CVSS score
9.8/10
010
Critical · v3.1 (NVD)
EPSS score
2.69%
0%100%
Low · +0.28 pp in 30 days
KEVNot listedNot listed by any tracked catalog.
RansomwareNot flaggedNo ransomware use recorded.
Public exploits1reference

Advisory lineage

Upstream 0 · Downstream 10 · Related 2

Timeline

  1. 03-11-2023
    PublishedVulnerability first disclosed.
  2. 20-11-2025
    Last modifiedVulnerability information updated.

Description

A path traversal vulnerability was identified in Samba when processing client pipe names connecting to Unix domain sockets within a private directory. Samba typically uses this mechanism to connect SMB clients to remote procedure call (RPC) services like SAMR LSA or SPOOLSS, which Samba initiates on demand. However, due to inadequate sanitization of incoming client pipe names, allowing a client to send a pipe name containing Unix directory traversal characters (../). This could result in SMB clients connecting as root to Unix domain sockets outside the private directory. If an attacker or client managed to send a pipe name resolving to an external service using an existing Unix domain socket, it could potentially lead to unauthorized access to the service and consequential adverse events, including compromise or service crashes.

CVSS metrics

4 scores · 4 sources · 1 version

EPSS trend

Probability

2.69%

Chance of exploitation in the next 30 days

Percentile

86%

Versus all other CVEs

30-day change

Increase +0.28 pp

From 2.41% on 04-10-2026

04-10-202603-11-2026

Known exploited

Compare KEV catalogs
CISA KEV

Not in the CISA KEV catalog.

ENISA CNW

Not in the ENISA CNW catalog.

CIRCL

Not in the CIRCL catalog.

Public exploits

1 found
  • referenceUnverified

    Exploit Reference (bugzilla.samba.org)

    Maturity: unknown

Weaknesses

CWE · root cause

Affected systems

Version check

Known conditions: network-reachable, no authentication, no user interaction (CVSS vector). Other conditions: not stated in public data.

Redhat3 products
Alpine1 product
  • samba≥ 4.18.0, < 4.18.8-r0
Debian1 product
  • samba< 2:4.17.12+dfsg-0+deb12u1 | < 2:4.19.1+dfsg-1
Fedoraproject1 product
Samba1 product
  • samba< 4.17.12 | ≥ 4.18.0, < 4.18.8 | ≥ 4.19.0, < 4.19.1

5 vendors · 7 products

References

14 links
Show all 14 references