REDHAT-BUG-2552136: High severity Samba Samba vulnerability

Published Oct 14, 2026
·
Updated

On shares using the vfscephrgw module, the module's openat() implementation ignored the (possibly case-corrected) filename supplied by the file server and instead re-opened the name originally sent by the client.

When a client opened an existing file using a different case than it exists on disk with a create disposition of FILEOPENIF, the case-insensitive lookup failed inside the module. The file server then treated the request as a file creation, checking only the caller's permission to add a file to the parent directory and skipping the access check on the existing object. The subsequent open then collided with, and re-opened, the existing object.

As a result an authenticated user could read or overwrite files owned by another user, despite those files having restrictive permissions.

Affected Software

1 affected component
Samba Samba

Event History

Oct 14, 2026
Data Sourced
via Red Hat·10:20 AM
DescriptionSeverityAffected Software

Frequently Asked Questions

1

Who can exploit this issue?

An authenticated user who can access a share using the vfs_ceph_rgw module can exploit it. The user must be able to add a file to the parent directory, but does not need permission to read or modify the existing target file.

2

What request conditions are required for exploitation?

The attacker must open an existing file using a differently cased filename and use the FILE_OPEN_IF create disposition. The case-insensitive lookup must cause the file server to supply a case-corrected name that differs from the client-provided name.

3

What is the impact if exploitation succeeds?

The attacker can cause the existing object to be reopened after the server checks only permission to create a file in its parent directory. This can allow reading or overwriting another user's file despite restrictive permissions on that file.

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