CVE-2023-3961
CVSS v3
9.8
CRITICAL
EPSS Score
2.7 %
exploit probability, as of 2026-10-18
CISA KEV
No
known exploited
Exploitation
—
SSVC status
Get an alert for each new CVE published for samba.
Affected and fixed versions
Packages from OSV.dev and products from the vendors' CSAF advisories.
version not verifiedVersions not verified: read as OSV.dev and the vendors publish them, not checked against each vendor's release list.
Packages
- sambaAlmaLinux:9all versions · fixed in 4.18.6-101.el9_3.alma.1and 33 other packages
- sambaAlmaLinux:8all versions · fixed in 4.18.6-2.el8_9.alma.1and 33 other packages
Vendor advisories
samba: smbd allows client access to unix domain sockets on the file system as root
ctdb as a component of Red Hat Storage 3 · ctdb-devel as a component of Red Hat Storage 3 · ctdb-tests as a component of Red Hat Storage 3
Red Hat Security Advisory: samba security update
Red Hat Security Advisory: samba security update
Red Hat Security Advisory: samba security update
Red Hat Security Advisory: samba security update
Red Hat Security Advisory: samba security update
1 more advisory
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.
Technical details
- Published
- 2023-11-03
Frequently asked questions
What is CVE-2023-3961?
Is CVE-2023-3961 actively exploited?
What is the CVSS score for CVE-2023-3961?
Running samba? Hear about its next vulnerability
CVE Watch matches each new CVE to the vendors and products you list (vendor and product, not the version) and puts it in your alerts with its KEV and EPSS status.
Already have an account? Open CVE WatchNo credit card required · No monthly cap on website lookups · 250 API requests/month
Go further
- Following what attackers exploit right now? The CISA KEV additions of the month, with their patch deadlines.
- Running this software? CVE Watch alerts you to new vulnerabilities in your products.
Related vulnerabilities
Same product first, then the same vendor advisory and the same publication week.