The exploit is there either way.
The exploit depends on changing the config to execute a .rb file. And the config was supplied by a PR.
Yes, but the exploit grants you access to ALL repos, not just the one the PR is in. You could just as well change the config in your own private repo and run coderabbit in it.