Yes if it can get to you.
Dunno if anyone posted this already but a Fireball is a 20 foot radius sphere according to PHb pg241.
A sphere with a 20 foot radius has:
A volume of 33510.3 cubic feet,
an area of 5026.55 square feet
And a circumference of 125.664 feet
The volume was what's important in old editions, but not 5e. In a typical 10 foot wide, 10 foot high dungeon corridor, 33510.3 cubic feet exploded roughly 160 feet in each direction from its point of origin.
So since the range is only 150 feet the caster would be caught in the blast in older editions.
Now just to complicate things a little, the definition of a sphere is "a set of points in three dimensional space that are located at and equal distance r (the radius) from a given point (the center point).
Does that mean the Fireball is hollow and only burns around the surface of the sphere? If so, does it maintain its 20 foot radius into the corridor and burning the ground or into other rooms around it rather than using the tunnel like the barrel of a cannon?
Since RAW 5e say it "blossoms with a low roar into an explosion of flame" and "spreads around corners" I interpret that to mean it doesn't just appear as a hollow sphere of fire, but grows into one. I still give that a maximum of 20 foot radius and don't have it expand mathematically to full 33510.3 volume capacity because the spell specifically states 20 foot radius and not 33510.3 volume.
If you are within a 20 foot radius of the point of origin, regardless of how many corners there are, and water could get to you, then the fireball will get you. If you were sealed in cement, then no it won't.