Even self-owned IPFS instance shares information about contained files with other network.
https://nebulus.dev/
In https://discord.com/channels/438038660412342282/791444480628490290/867026354419007509 proposed Nebula to prevent sharing private subnets.
Or consider tuning IPFS to private mode - https://docs.ipfs.io/concepts/privacy/