SOC status:Duty analyst on shift

UK Cyber Defence
VulnerabilityModified

CVE-2004-0186

smbmnt in Samba 2.x and 3.x on Linux 2.6, when installed setuid, allows local users to gain root privileges by mounting a Samba share that contains a setuid root program, whose setuid attributes are not cleared when the share is mounted.

EXPLOIT ✓HIGH 7.2EPSS 1.59%

Does this matter?

A public exploit is published in Exploit-DB (verified) and the impact is high, while EPSS rates exploitation at 1.6%. Anyone can run this; patch or mitigate before the next change window and check exposed instances for signs of use.

Description

smbmnt in Samba 2.x and 3.x on Linux 2.6, when installed setuid, allows local users to gain root privileges by mounting a Samba share that contains a setuid root program, whose setuid attributes are not cleared when the share is mounted.

CVSS 2.0
7.2 HIGHAV:L/AC:L/Au:N/C:C/I:C/A:C
EPSS
1.59% probability · 76th percentile
Public exploits
1 in Exploit-DB · verified · first 9 February 2004
CISA KEV
Not listed
Affected
samba/samba · linux/linux kernel
Source
cve@mitre.org
EPSS trend
0%3%5%26 October 2026: 1.59%26 October 202626 October 2026

EPSS 1.6% since 26 October 2026; no change recorded yet. Points are recorded when the score first appears and whenever it moves by a percentage point or more.

Public exploits (1)

Entries in Exploit-DB that cite this CVE. Links go to the Exploit-DB page and to the file in the public repository; nothing is hosted here. A verified tick means the Exploit-DB team confirmed the exploit works against the stated version.

EDB-IDTitleTypePublishedVerified
EDB-23674source ↗Samba 2.2.8 (Linux Kernel 2.6 / Debian / Mandrake) - Share Privilege Escalationlinux · Martin Fialalocal9 February 2004yes

Source: NVD record, EPSS from FIRST.org, KEV from CISA, exploits from Exploit-DB. Refreshed daily. Download this record as JSON.