Sources familiar with an internal probe said a chain of errors led to the accidental leak of a military operation.