If another player can summon a CR24 creature to do their bidding, balance probably isn’t really something your table is interested in. The itemsword you describe has no meaningful comparison to any officially published item, grossly overshadowing even the strongest of artifacts. So in that sense it’s broken, but I’m not sure anyone at your table cares since you’re playing the sort of game where summoning a CR24 creature is viewed is reasonable.