This probably has been discussed before
data is very able and superhuman, but he is proven to be absolutely unreliable
if he was a box on Wheels we wouldn't even have a discussion about deactivating him and putting him as far away as possible from the Enterprise’s computer
But Pinocchio I guess
Edit> also generations, first Contact, There may be other examples. I am surprised nobody died because of him
I lack the time right now, and time is already is too busy melting snowmen (if you believe that maxim, look it up

-- but a list of each character, when they got compromised, and in which episode they got compromised in, might be a thrill.
Troi got compromised in "Power Play", as had O'Brien and Data.
Troi was also taken over in "Clues".
Most of them got compromised in "The Naked Now" and "Lonely Among Us" at some point. Ditto for "Conundrum" where the Edo ship came back in hopes that nobody remembered season one, despite every other reference to it but before I digress...
How many times per season did any biological blob get compromised compared to Data? From memory,
"Evolution" had Data taken over.
Ditto for "Naked Now" but don't ask how.
"Power Play", of course, as I recall him lifting Worf up because Lore wasn't available to do it again. Or was that Picard? Both? Oh well.
"The Schizoid Man" had Data taken over by the scientist guy who, if I recall, worked with Dr Soong at some point, and you knew they made the scientist guy overtly nasty so that even casual viewers could spot the difference if they took an extended break to clean the cat's litterbox or whatever else...
Dr Soong took him over in "Brothers".
As had Lore in "Descent", how come everyone up Data's family tree didn't whip out the proverbial remote control??
And yet: "Clues" had him covertly lying, just like how any human had - so there's a sub-table right there, the times when either biological thing and built thing could be compromised by the same thing... or when only the biological can... or when only the positronic-built one could.
But the Pinocchio aspect was effectively ditched after season 2, somewhat unfortunately as I'm growing to like that aspect of Data far more than "I am an an-droid" every 2 seconds in season 3 onward.
Being in the future and all of the galactic unknowns, maybe that's why they all get a pass. It's par for the course when exploring the deeper annals of the cosmos or whatever florid vernacular one prefers.