There are serious allegations that Einstein stole the work of Henri Poincaré and Hermann Minkowski because he had access and the right to review their work before anyone else did.
It is well known and absolutely not a secret that Einstein "stole" from fellow scientists and mathematicians. That's the whole "shoulders of giants" thing and how science typically works. If you study relativity, you will stumble upon the names of Poincaré (Poincaré group) and Minkowski (Minkowski metric) as well as others, like Lorenz (Lorenz transformation).
What Einstein is credited for is applying all these maths to the real world, coming up with a theory that is based on observations and testable.