Can variables inside the GameInstance get tampered with by external sources?

Hello there,

In this case, player data is stored in a database. When the user authenticates, the data will be fetched and stored in temporary variables in the game instance. Once in a while, or during certain actions, the current temporary variables will be written to the database. When the user closes the app, the temporary variables will be cleared.

My question is, are these temporary variables save? Or can they get (easily) tampered by external sources, so that when the game writes data to the database, tampered data will be saved there?

Or can they get (easily) tampered by external sources
There are programs dedicated to such tampering like Cheat Engine.