Waaaait a minute, why do you think it's a bug? Come to think of it, you're describing absolutely vanilla espionage mechanics. They steal a tech from you, expending a lot of espionage, so the espionage ratio shifts radically in your favour, and you get visibility on their cities. Sounds very much exactly how it's supposed to work.