**Description**
Prosody's file-based storage abstraction module (datamanager) improperly modified the list of callbacks when multiple were present and one was removed. These callbacks are commonly used to enforce various policies, such as preventing storage for anonymous users, or removing "virtual" contacts added by mod_groups).
The callbacks are global, so this effect could occur across multiple virtual hosts on the same Prosody instance.
**Affected configurations**
The issue affects deployments where modules using data manager callbacks are reloaded or unloaded.
**Mitigation**
Operators who cannot upgrade immediately should avoid dynamically reloading or unloading modules that add or remove data manager callbacks (mod_auth_anonymous, mod_groups).
**Fixes**
The datamanager callback removal logic has been fixed. Commit: 3072b5fe5e7b
**Attribution**
The issue was identified by a Prosody team member.
**Description** Prosody's file-based storage abstraction module (datamanager) improperly modified the list of callbacks when multiple were present and one was removed. These callbacks are commonly used to enforce various policies, such as preventing storage for anonymous users, or removing "virtual" contacts added by mod_groups). The callbacks are global, so this effect could occur across multiple virtual hosts on the same Prosody instance. **Affected configurations** The issue affects deployments where modules using data manager callbacks are reloaded or unloaded. **Mitigation** Operators who cannot upgrade immediately should avoid dynamically reloading or unloading modules that add or remove data manager callbacks (mod_auth_anonymous, mod_groups). **Fixes** The datamanager callback removal logic has been fixed. Commit: 3072b5fe5e7b **Attribution** The issue was identified by a Prosody team member.
Hidden