I think it was common knowledge? After all, they sent Kushina into seclusion so that she could give birth, which I think implies a certain level of ‘oh people might use this against her’. And Mito probably was open about it too, since she’s the one who did the first sealing, and Hashirama did share the idea with the other nations.