This DataBus serializer uses BinaryFormatter to serialize and deserialize DataBus properties.
endpointConfiguration.UseDataBus<FileShareDataBus, BinaryFormatterDataBusSerializer>();
BinaryFormatter is unsafe and deprecated.
It cannot be secured and must not be used for processing data.
Stop using it as soon as possible, even if the data appears trustworthy.
Use a safer serializer instead.
For guidance, see the upgrade notes:
Migration from BinaryFormatter.