Samba vulnerabilities, page 3
290 vulnerabilities
Known vulnerabilities in Samba products, newest first, with CVSS severity, EPSS, KEV listings and ransomware use, across 8 products.
RoutineCVE-2026-53783rsyncproject · rsync +4 morersync < 3.5.0 TOCTOU Race Condition Directory Escape via rrsyncrsync before 3.5.0 contains a time-of-check to time-of-use (TOCTOU) race condition vulnerability in the rrsync restricted shell wrapper that allows authenticated clients to escape enforced directory restrictions by substituting a symlink for a path component after validation but before transfer processing. Attackers can additionally leverage unrestricted flags such as --copy-unsafe-links, -D, and --log-file through rrsync to read or write files outside the permitted directory subtree.CVSS8.6HighEPSS0.43%RoutineCVE-2026-53803rsyncproject · rsync +4 morersync < 3.5.0 Symlink Following Arbitrary File Overwritersync before 3.5.0 contains a symlink following vulnerability that allows local attackers to overwrite arbitrary files by placing a symlink at a predictable output path such as --log-file, --write-batch, or daemon-mode log and statistics paths. Attackers can exploit rsync's failure to reject symlinks during ancillary file writes to redirect output to arbitrary filesystem locations, achieving local privilege escalation on installations where rsync runs with elevated privileges such as setuid or privileged daemon configurations.CVSS8.5HighEPSS0.23%RoutineCVE-2026-53802rsyncproject · rsync +4 morersync < 3.5.0 Arbitrary File Read via Symlink Followingrsync before 3.5.0 contains an arbitrary file read vulnerability that allows attackers to read files accessible to the rsync daemon process by exploiting symlink following in input configuration file handling including --files-from, --password-file, and filter merge files. Attackers can place a symlink at a predictable --files-from or --password-file path, or supply a --files-from path that escapes the daemon module root, to read arbitrary files accessible to the rsync process.CVSS8.4HighEPSS0.24%PrioritiseCVE-2026-4408redhat · enterprise_linux +5 moreSamba: remote code execution in samrA flaw was found in Samba. A remote attacker can exploit a misconfiguration in Samba file servers and classic domain controllers that use the "check password script" feature. If this script is configured with the %u substitution character, the client-controlled username is passed without proper escaping of shell meta-characters. This vulnerability allows an attacker to achieve remote command execution on the affected system. This issue primarily affects non-standard configurations where the "check password script" is used with %u and the samba-dcerpcd service is started as a system service.CVSS9.8CriticalEPSS46.93%RoutineCVE-2026-1933redhat · enterprise_linux +5 moreSamba: missing access check on reparse point operationsA flaw was found in Samba’s handling of NTFS-style reparse points on shares configured with read only = yes. Due to missing SMB-layer access checks, authenticated users with underlying filesystem write permissions may create or delete reparse point metadata through SMB operations even on read-only exports. This could allow modification of SMB-visible file behavior, including converting files into symbolic links or other reparse point types.CVSS7.1HighEPSS0.92%RoutineCVE-2026-2340redhat · enterprise_linux +47 moreSamba: vfs_worm does not block directory modificationA flaw was found in Samba’s vfs_worm module. The module is intended to provide write-once, read-many (WORM) protections by preventing modification of files after a configurable grace period. Due to insufficient validation during rename operations, an authenticated user with write access to a share could overwrite a protected file by renaming a newly created file over the existing WORM-protected file.CVSS6.5MediumEPSS0.95%RoutineCVE-2026-3012redhat · enterprise_linux +5 moreSamba: group policy certificate enrollment uses http:// without validationA flaw was found in Samba’s certificate auto-enrollment Group Policy handling. When certificate auto-enrollment is enabled, Samba may retrieve a CA certificate over an unencrypted HTTP connection and install it into the local trust store without proper verification. An attacker with the ability to intercept or redirect network traffic could exploit this behavior to supply a malicious certificate authority certificate, potentially allowing interception or spoofing of trusted communications.CVSS8.0HighEPSS0.26%PrioritiseCVE-2026-4480redhat · enterprise_linux +5 moreSamba: samba: remote code execution in printing subsystem via unescaped job descriptionA flaw was found in the Samba printing subsystem. Samba passes the client-controlled job description string to the command configured with the "print command" setting via the "%J"
substitution character without escaping shell meta characters. A remote attacker could exploit this vulnerability by sending a specially crafted print job description that contains unescaped shell characters. This could lead to remote code execution on the affected system.CVSS9.0CriticalEPSS28.69%RoutineCVE-2026-29518rsyncproject · rsync +4 moreRsync < 3.4.3 TOCTOU Race Condition Allows Symlink-Based Arbitrary File WriteRsync versions before 3.4.3 contain a time-of-check to time-of-use (TOCTOU) race condition in daemon file handling that allows attackers to redirect file writes outside intended directories by replacing parent directory components with symbolic links. Attackers with write access to a module path can exploit this race condition to create or overwrite arbitrary files, potentially modifying sensitive system files and achieving privilege escalation when the daemon runs with elevated privileges. This vulnerability can only be triggered if the chroot setting is false.CVSS7.3HighEPSS0.15%RoutineCVE-2026-43617rsyncproject · rsync +4 moreRsync < 3.4.3 Authorization Bypass via Hostname ResolutionRsync version 3.4.2 and prior contain an authorization bypass vulnerability in the rsync daemon's hostname-based access control list enforcement when configured with chroot. Attackers can bypass hostname-based deny rules by controlling the PTR record for their source IP address, allowing connections from hostnames that administrators intended to deny when reverse DNS resolution fails and defaults to UNKNOWN.CVSS6.3MediumEPSS0.32%RoutineCVE-2026-43618rsyncproject · rsync +4 moreRsync < 3.4.3 Integer Overflow Information DisclosureRsync version 3.4.2 and prior contain an integer overflow vulnerability in the compressed-token decoder where a 32-bit signed counter is not checked for overflow, allowing a malicious sender to trigger an overflow that causes the receiver process to read and return data from outside the intended buffer bounds. Attackers can exploit this vulnerability to disclose process memory contents including environment variables, passwords, heap and stack data, and library memory pointers, significantly reducing ASLR effectiveness and facilitating further exploitation.CVSS8.1HighEPSS0.83%RoutineCVE-2026-43619rsyncproject · rsync +4 moreRsync < 3.4.3 Symlink Race Condition via Path-Based SyscallsRsync version 3.4.2 and prior contain symlink race condition vulnerabilities in path-based system calls including chmod, lchown, utimes, rename, unlink, mkdir, symlink, mknod, link, rmdir, and lstat that allow local attackers to redirect operations to files outside the exported rsync module. Attackers with local filesystem access can exploit the timing window between path resolution and syscall execution by swapping symlinks to apply sender-supplied permissions, ownership, timestamps, or filenames to arbitrary files outside the intended module boundary on rsync daemons configured with 'use chroot = no'.CVSS7.2HighEPSS0.14%RoutineCVE-2026-43620rsyncproject · rsync +4 moreRsync < 3.4.3 Out-of-Bounds Array Read via recv_files()Rsync version 3.4.2 and prior contain a receiver-side out-of-bounds array read vulnerability in recv_files() in receiver.c that allows a malicious rsync server to crash the rsync client process. Attackers can exploit the vulnerability by setting CF_INC_RECURSE in compatibility flags and sending a specially crafted file list where the first sorted entry is not the leading dot directory, followed by a transfer record with ndx=0 and an iflag word without ITEM_TRANSFER, causing the receiver to read 8 bytes before the allocated pointer array and dereference an invalid pointer at an unmapped address, resulting in a deterministic SIGSEGV crash of the rsync client.CVSS6.9MediumEPSS0.43%RoutineCVE-2026-45232rsyncproject · rsync +4 moreRsync < 3.4.3 Off-by-One Stack Write via HTTP ProxyRsync versions before 3.4.3 contain an off-by-one out-of-bounds stack write vulnerability in the establish_proxy_connection() function in socket.c that allows network attackers to corrupt stack memory by sending a malformed HTTP proxy response. Attackers can exploit this by positioning themselves between the client and proxy or controlling the proxy server to send a response line of 1023 or more bytes without a newline terminator, causing a null byte to be written to an out-of-bounds stack address when the RSYNC_PROXY environment variable is set.CVSS3.7LowEPSS0.36%PrioritiseCVE-2026-41035samba · rsync +10 moresamba rsyncIn rsync 3.0.1 through 3.4.1, receive_xattr relies on an untrusted length value during a qsort call, leading to a receiver use-after-free. The victim must run rsync with -X (aka --xattrs). On Linux, many (but not all) common configurations are vulnerable. Non-Linux platforms are more widely vulnerable.CVSS7.8HighEPSS0.44%RoutineCVE-2025-0620samba +6 moreSamba: smbd doesn't pick up group membership changes when re-authenticating an expired smb sessionA flaw was found in Samba. The smbd service daemon does not pick up group membership changes when re-authenticating an expired SMB session. This issue can expose file shares until clients disconnect and then connect again.CVSS4.9MediumEPSS0.86%PrioritiseCVE-2024-58250samba · ppp +2 moresamba pppThe passprompt plugin in pppd in ppp before 2.5.2 mishandles privileges.CVSS9.3CriticalEPSS0.24%PrioritiseCVE-2024-12084redhat · enterprise_linux +10 moreRsync: heap buffer overflow in rsync due to improper checksum length handlingA heap-based buffer overflow flaw was found in the rsync daemon. This issue is due to improper handling of attacker-controlled checksum lengths (s2length) in the code. When MAX_DIGEST_LEN exceeds the fixed SUM_LENGTH (16 bytes), an attacker can write out of bounds in the sum2 buffer.CVSS9.8CriticalEPSS72.96%RoutineCVE-2024-12087redhat · enterprise_linux +24 moreRsync: path traversal vulnerability in rsyncA path traversal vulnerability exists in rsync. It stems from behavior enabled by the `--inc-recursive` option, a default-enabled option for many client options and can be enabled by the server even if not explicitly enabled by the client. When using the `--inc-recursive` option, a lack of proper symlink verification coupled with deduplication checks occurring on a per-file-list basis could allow a server to write files outside of the client's intended destination directory. A malicious server could write malicious files to arbitrary locations named after valid directories/paths on the client.CVSS7.5HighEPSS2.26%RoutineCVE-2024-12088redhat · discovery +23 moreRsync: --safe-links option bypass leads to path traversalA flaw was found in rsync. When using the `--safe-links` option, the rsync client fails to properly verify if a symbolic link destination sent from the server contains another symbolic link within it. This results in a path traversal vulnerability, which may lead to arbitrary file write outside the desired directory.CVSS7.5HighEPSS4.65%