CVE-2025-0620: Samba: smbd doesn't pick up group membership changes when re-authenticating an expired smb session

Published Jun 3, 2025
·
Updated

A 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.

Other sources

All versions of Samba starting with 4.21.0 are vulnerable to a improper authorization issue. smbd does not pick up group membership changes when re-authenticating an expired SMB session.

Red Hat

Affected Software

3 affected components
Samba Samba>=4.21.0
Samba Samba>=4.21.0<4.21.6
Samba Samba>=4.22.0<4.22.2

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade Samba to a version that resolves this vulnerability.

    Fixed in 4.21.6Patch CVE-2025-0620

Event History

Jun 5, 2025
Data Sourced
via Red Hat·04:34 PM
DescriptionSeverityAffected Software
Jun 6, 2025
CVE Published
via MITRE·01:10 PM
Data Sourced
via MITRE·01:10 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·02:15 PM
DescriptionSeverityWeaknessAffected Software
Nov 18, 57990
Event
via MITRE·02:47 PM
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2025-0620?

CVE-2025-0620 is considered a medium-risk vulnerability due to the potential exposure of file shares.

2

How do I fix CVE-2025-0620?

To mitigate CVE-2025-0620, it is recommended to update Samba to a version higher than 4.21.0.

3

What versions of Samba are affected by CVE-2025-0620?

All versions of Samba starting with 4.21.0 are affected by CVE-2025-0620.

4

What is the impact of CVE-2025-0620 on SMB sessions?

CVE-2025-0620 allows file shares to remain accessible even after group membership changes until clients disconnect and reconnect.

5

Is there a workaround for CVE-2025-0620 if I cannot upgrade Samba?

A possible workaround for CVE-2025-0620 is to regularly restart the smbd service to force clients to re-authenticate.

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