With $z=x+iy$ and $u=x^2$: $|z^2-1|^2=(u-y^2-1)^2+4uy^2=(u+y^2)^2-2u+2y^2+1=9$.
For fixed $y$ with $y^2\ge1$, the left side increases with $u\ge0$, so a solution exists iff its value at $u=0$ is at most $9$: $y^4+2y^2-8\le0$, i.e.\ $y^2\le2$.
So the maximum is $\boxed{\sqrt2}$, attained at $z=\sqrt2i$, where $z^2-1=-3$.