Description
Samba before versions 4.6.1, 4.5.7 and 4.4.11 are vulnerable to a malicious client using a symlink race to allow access to areas of the server file system not exported under the share definition.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| Samba | samba | 4.6.1, 4.5.7, 4.4.11 | — |
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | samba | 2:4.5.6+dfsg-2 | — |
| Debian 13 | samba | 2:4.5.6+dfsg-2 | — |
| Debian 12 | samba | 2:4.5.6+dfsg-2 | — |
| Debian 8 | samba | 2:4.2.14+dfsg-0+deb8u4 | DSA-3816-1 |
| Debian 7 | samba | 2:3.6.6-6+deb7u12 | DLA-894-1 |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 16.04 LTS | samba | 2:4.3.11+dfsg-0ubuntu0.16.04.5 | USN-3242-1 |
| Ubuntu 14.04 LTS | samba | 2:4.3.11+dfsg-0ubuntu0.14.04.6 | USN-3242-1 |
Red Hat
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| RHEL 7 | ctdb +25 | 4.4.4-13.el7_3 | RHSA-2017:1265 |
| RHEL 6 | samba +12 | 3.6.23-45.el6_9 | RHSA-2017:2789 |
Show 1 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Red Hat Gluster Storage 3 | ctdb +25 | 4.6.3-4.el7rhgs | RHSA-2017:2778, RHSA-2017:2338 |
| Red Hat Gluster Storage 3 | libtdb +3 | 1.3.12-1.1.el6rhs | RHSA-2017:2778 |
| Red Hat Gluster Storage 3 | libtevent +2 | 0.9.31-1.el6rhs | RHSA-2017:2778 |
| Red Hat Gluster Storage 3 | pyldb +4 | 1.1.29-1.el6rhs | RHSA-2017:2778 |
| Red Hat Gluster Storage 3 | pytalloc +3 | 2.1.9-1.el6rhs | RHSA-2017:2778 |
SUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SLES 12 SP2 | samba | 4.2.4-28.8.2 | SUSE-SU-2017:0859-1, SUSE-SU-2017:0858-1, SUSE-RU-2017:1219-1 |
| SLES 12 SP1 | samba | 4.2.4-28.8.2 | SUSE-SU-2017:0859-1, SUSE-RU-2017:1218-1 |
| SLES 12 | samba | 4.2.4-18.35.1 | SUSE-SU-2017:0862-1, SUSE-RU-2017:1217-1 |
| SLES 11 SP4 | samba +1 | 3.6.3-87.1 | SUSE-SU-2017:1216-1, SUSE-SU-2017:0841-1 |
| SLES 11 SP3 | samba +1 | 3.6.3-90.1 | SUSE-SU-2017:1216-1 |
Show 6 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SLES for SAP 12 SP2 | samba | 4.2.4-28.8.2 | SUSE-SU-2017:0859-1, SUSE-SU-2017:0858-1, SUSE-RU-2017:1219-1 |
| SLES for SAP 12 SP1 | samba | 4.2.4-28.8.2 | SUSE-SU-2017:0859-1, SUSE-RU-2017:1218-1 |
| SLES for SAP 12 | samba | 4.2.4-18.35.1 | SUSE-SU-2017:0862-1, SUSE-RU-2017:1217-1 |
| SLES for SAP 11 SP4 | samba +1 | 3.6.3-87.1 | SUSE-SU-2017:1216-1, SUSE-SU-2017:0841-1 |
| SUSE OpenStack Cloud 5 | samba +1 | 3.6.3-90.1 | SUSE-SU-2017:1216-1 |
| SUSE Linux Enterprise Point of Sale 11 SP3 | samba +1 | 3.6.3-90.1 | SUSE-SU-2017:1216-1 |
openSUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| openSUSE Tumbleweed | samba | 4.14.6+git.182.2205d5224e3-1.1 | openSUSE-SU-2024:11365-1 |
Alpine
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Alpine v3.24 | samba | 4.6.1-r0 | — |
| Alpine v3.23 | samba | 4.6.1-r0 | — |
| Alpine v3.22 | samba | 4.6.1-r0 | — |
| Alpine v3.21 | samba | 4.6.1-r0 | — |
| Alpine v3.20 | samba | 4.6.1-r0 | — |
Show 18 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Alpine v3.19 | samba | 4.6.1-r0 | — |
| Alpine v3.18 | samba | 4.6.1-r0 | — |
| Alpine v3.17 | samba | 4.6.1-r0 | — |
| Alpine v3.16 | samba | 4.6.1-r0 | — |
| Alpine v3.15 | samba | 4.6.1-r0 | — |
| Alpine v3.14 | samba | 4.6.1-r0 | — |
| Alpine v3.13 | samba | 4.6.1-r0 | — |
| Alpine v3.12 | samba | 4.6.1-r0 | — |
| Alpine v3.11 | samba | 4.6.1-r0 | — |
| Alpine v3.10 | samba | 4.6.1-r0 | — |
| Alpine v3.9 | samba | 4.6.1-r0 | — |
| Alpine v3.8 | samba | 4.6.1-r0 | — |
| Alpine v3.7 | samba | 4.6.1-r0 | — |
| Alpine v3.6 | samba | 4.6.1-r0 | — |
| Alpine v3.5 | samba | 4.5.7-r0 | — |
| Alpine v3.4 | samba | 4.4.5-r3 | — |
| Alpine v3.3 | samba | 4.2.14-r2 | — |
| Alpine v3.2 | samba | 4.2.14-r2 | — |
Oracle Linux
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Oracle Linux 7 | ctdb +25 | 4.4.4-13.el7_3 | ELSA-2017-1265 |
Public exploits
Exploit or proof-of-concept code for this vulnerability is publicly available, which lowers the bar for attackers. Treat it as a reason to patch sooner.
Exploit-DB 1
- Samba 4.5.2 - Symlink Race Permits Opening Files Outside Share Directory EDB-41740 · remote · Mar 27, 2017 · verified
Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.
Advisories 17
- RHSA-2017:2789 Red Hat Security Advisory: samba security update Red Hat Security Advisories (RHSA) · Jul 1, 2026
- RHSA-2017:1265 Red Hat Security Advisory: samba security and bug fix update Red Hat Security Advisories (RHSA) · Jul 1, 2026
- RHSA-2017:2778 Red Hat Security Advisory: samba security, bug fix, and enhancement update Red Hat Security Advisories (RHSA) · Jun 27, 2026
- RHSA-2017:2338 Red Hat Security Advisory: samba security update Red Hat Security Advisories (RHSA) · Jun 27, 2026
- USN-3242-1 samba vulnerability Ubuntu Security Notices (USN) · Apr 22, 2026
- DLA-894-1 samba - security update Debian Security (DSA / DLA) · Mar 9, 2026
- DSA-3816-1 samba - security update Debian Security (DSA / DLA) · Mar 9, 2026
- openSUSE-SU-2024:11365-1 ctdb-4.14.6+git.182.2205d5224e3-1.1 on GA media SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-RU-2017:1219-1 Recommended update for samba SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2017:0859-1 Security update for samba SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2017:1216-1 Security update for samba SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2017:0858-1 Security update for samba SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-RU-2017:1217-1 Recommended update for samba SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2017:0841-1 Security update for samba SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2017:0862-1 Security update for samba SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-RU-2017:1218-1 Recommended update for samba SUSE / openSUSE Security Updates · May 2, 2025
- ELSA-2017-1265 Moderate: samba security and bug fix update (Oracle Linux 7) Oracle Linux Security Advisories (ELSA) · May 22, 2017
References
- RHSA-2017:2778 vendor-advisory
- DSA-3816 vendor-advisory
- 97033 vdb-entry
- 41740 exploit
- 1038117 vdb-entry
- RHSA-2017:2338 vendor-advisory
- https://www.samba.org/samba/security/CVE-2017-2619.html
- https://bugzilla.redhat.com/show_bug.cgi?id=1429472
- RHSA-2017:1265 vendor-advisory
- RHSA-2017:2789 vendor-advisory
- https://h20566.www2.hpe.com/hpsc/doc/public/display?docLocale=en_US&docId=emr_na-hpesbns03755en_us