CVE-2019-10197: Path Traversal

Published Aug 28, 2019
·
Updated

A flaw was found in samba versions 4.9.x up to 4.9.13, samba 4.10.x up to 4.10.8 and samba 4.11.x up to 4.11.0rc3, when certain parameters were set in the samba configuration file. An unauthenticated attacker could use this flaw to escape the shared directory and access the contents of directories outside the share.

Other sources

As per upstream advisory:

On a Samba SMB server for all versions of Samba from 4.9.0 clients are able to escape outside the share root directory if certain configuration parameters set in the smb.conf file.

The problem is reproducable if the 'wide links' option is explicitly set to 'yes' and either 'unix extensions = no' or 'allow insecure wide links = yes' is set in addition.

If a client has no permissions to enter the share root directory it will get ACCESSDENIED on the first request. However smbd has a cache that remembers if it successfully changed to a directory. This cache was not being reset on failure. The following SMB request will then silently operate in the wrong directory instead of returning ACCESSDENIED. That directory is either the share root directory of a different share the client was operating on successfully before or the global root directory ('/') of the system.

The unix token (uid, gid, list of groups) is always correctly impersonated before each operation, so the client is still restricted by the unix permissions enfored by the kernel.

Red Hat

Affected Software

21 affected componentsFixes available
redhat/samba<4.9.13
4.9.13
redhat/samba<4.10.8
4.10.8
redhat/samba<4.11.0
4.11.0
Samba Samba>=4.9.0<=4.9.13
Samba Samba>=4.10.0<=4.10.8
Samba Samba=4.9.0-rc1
Samba Samba=4.9.0-rc2
Samba Samba=4.9.0-rc3
Samba Samba=4.9.0-rc4
Samba Samba=4.9.0-rc5
Samba Samba=4.10.0-rc1
Samba Samba=4.10.0-rc2
Samba Samba=4.10.0-rc3
Samba Samba=4.10.0-rc4
Samba Samba=4.11.0
Samba Samba=4.11.0-rc1
Samba Samba=4.11.0-rc2
Samba Samba=4.11.0-rc3
Canonical Ubuntu Linux=19.04
Debian Debian Linux=10.0
debian/samba
2:4.13.13+dfsg-1~deb11u62:4.13.13+dfsg-1~deb11u72:4.17.12+dfsg-0+deb12u32:4.17.12+dfsg-0+deb12u12:4.22.6+dfsg-0+deb13u12:4.23.5+dfsg-12:4.23.6+dfsg-1

Event History

Sep 3, 2019
CVE Published
via MITRE·02:50 PM
Data Sourced
via MITRE·02:50 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·03:15 PM
DescriptionSeverityWeaknessAffected Software
Feb 20, 2026
Data Sourced
via Ubuntu·09:58 PM
RemedyDescriptionSeverityAffected Software
Data Sourced
via Launchpad·10:00 PM
Description
Feb 27, 2026
Data Sourced
via Debian·10:04 PM
DescriptionAffected Software

Frequently Asked Questions

1

What versions of Samba are affected by CVE-2019-10197?

Samba versions 4.9.x up to 4.9.13, 4.10.x up to 4.10.8, and 4.11.x up to 4.11.0rc3 are affected by CVE-2019-10197.

2

What is the severity of CVE-2019-10197?

CVE-2019-10197 has a high severity rating due to its potential to allow unauthorized access to sensitive directories.

3

How do I fix CVE-2019-10197?

To fix CVE-2019-10197, upgrade Samba to version 4.9.14 or higher, 4.10.9 or higher, or 4.11.1 or higher.

4

Can CVE-2019-10197 be exploited remotely?

Yes, CVE-2019-10197 can be exploited remotely by an unauthenticated attacker.

5

What type of attack does CVE-2019-10197 enable?

CVE-2019-10197 enables attackers to escape the shared directory and access files on the underlying file system.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203