Is it possible you gained 5 lbs of weight in 7 days? Yes
Is it possible you gained 5 lbs of fat in 7 days? Yes, but very unlikely unless you were eating an extra 2500 calories + your maintenence tdee calories every day.
Weight gain/loss and fat gain/loss aren’t the same. Fat is fat. Weight is fat, muscle, food, glycogen, water, feces, etc. You likely lost mostly 7.5 lbs of fat since you started. You likely gained 5 lbs of weight in 7 days, but not all of it, if any, was fat.
If you drink a gallon of water, your weight temporarily goes up 8.3 pounds.
You could seriously just have more food or liquid in your system from your vacation and get a variation like that.
Try to always weigh yourself under similar circumstances. First thing in the morning after using the restroom, etc.