CVE-2023-34968 Samba: spotlight server-side share path disclosure

Medium 5.3 Published Updated

Attackers can view server-side absolute paths of shares and files via Spotlight protocol queries, exposing internal directory structures.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2023-34968?

CVE-2023-34968 is a medium-severity vulnerability in Debian Debian Linux, published on 20 Jul 2023. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

A path disclosure vulnerability was found in Samba. As part of the Spotlight protocol, Samba discloses the server-side absolute path of shares, files, and directories in the results for search queries. This flaw allows a malicious client or an attacker with a targeted RPC request to view the information that is part of the disclosed path.

Weakness: CWE-201

Which versions are affected by CVE-2023-34968?

It affects 5 products.

Products include Debian Debian Linux, Fedoraproject Fedora, Redhat Enterprise Linux, Redhat Storage, Samba Samba.

How do I fix CVE-2023-34968?

Apply the vendor's patch.

Is CVE-2023-34968 being exploited?

There is no known exploitation of CVE-2023-34968 in the wild and no public exploit code.

All Debian Debian Linux vulnerabilities

Sources

Also known as AZL-27662, AZL-37023, CLSA-2025-1739822224, DEBIAN-CVE-2023-34968, ECHO-5a18-2ca7-803e, GHSA-cfhp-p6xr-24g5 and 1 more.

Is CVE-2023-34968 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free