Outsider deletes a private GitHub repo with no org access, and it's unrestorable

pramodk73 · x · 2026-10-28

Developer Ayush Agarwal reported that someone outside his GitHub org deleted a private repo with a single gh CLI repo.destroy — no membership, invite, or role, and nothing in org or enterprise audit logs. The repo isn't in deleted repositories, so it can't be restored. He's publicly asking GitHub how this is possible, and the incident highlights a potential serious blind spot in GitHub's permission and audit system.

Related event: GitHub permission flaw lets outsiders delete private repos(2 posts)→

Original post →

More from Safety

Safety channel →