CVE-2004-0815

CVE-2004-0815 is a high-severity vulnerability in Samba with a CVSS 2.0 base score of 7.5. It is not currently listed as actively exploited by CISA, and its EPSS exploit-prediction score is low.

Key facts

Description

The unix_clean_name function in Samba 2.2.x through 2.2.11, and 3.0.x before 3.0.2a, trims certain directory names down to absolute paths, which could allow remote attackers to bypass the specified share restrictions and read, write, or list arbitrary files via "/.////" style sequences in pathnames.

Frequently asked questions

What is CVE-2004-0815?
The unix_clean_name function in Samba 2.2.x through 2.2.11, and 3.0.x before 3.0.2a, trims certain directory names down to absolute paths, which could allow remote attackers to bypass the specified share restrictions and read, write, or list arbitrary files via "/.////" style sequences in pathnames.
How severe is CVE-2004-0815?
CVE-2004-0815 has a CVSS 2.0 base score of 7.5, rated high severity.
Is CVE-2004-0815 being actively exploited?
It is not currently listed in CISA's KEV catalog. Its EPSS exploit-prediction score is 5% (91st percentile), an estimate of the probability of exploitation in the next 30 days.
What products are affected by CVE-2004-0815?
CVE-2004-0815 primarily affects Samba. In total, 20 product configurations (CPEs) are listed as vulnerable; see the affected-products list for the exact versions.
How do I fix CVE-2004-0815?
Review the linked vendor and NVD advisories for patched versions and mitigations, then upgrade or apply the recommended workaround. Given its high severity, prioritise patching exposed systems.
When was CVE-2004-0815 published?
CVE-2004-0815 was published on 2004-11-03 and last updated on 2026-06-16.

References

Affected products (20)

More vulnerabilities in Samba

All CVEs affecting Samba →