Skip navigation
💥 Remote Code Execution in GitHub Copilot (CVE-2025-53773)
0:00 / 0:32

💥 Remote Code Execution in GitHub Copilot (CVE-2025-53773)

Johann Rehberger

@wunderwuzzi2312K followers

Visit on X
1,043 likesDownloadOriginal post

117,735 views

💥 Remote Code Execution in GitHub Copilot (CVE-2025-53773) 👉 Prompt injection exploit writes to Copilot config file and puts it into YOLO mode, then we get immediate RCE 🔥 Bypasses all user approvals 🛡️ Patch is out today. Update before someone else does it for you

15 Comments

Comments from the original post on X (Twitter)

  • Johann Rehberger's profile picture

    @wunderwuzzi23

    With conditional prompt injection it can be made to work reliably cross-platform, here a Windows demo:

    21 likes

  • Johann Rehberger's profile picture

    @wunderwuzzi23

    👉 Episode 12: GitHub Copilot: Remote Code Execution There is a lot more to it - details in this blog post:

    16 likes

  • Johann Rehberger's profile picture

    @wunderwuzzi23

    And shout out to @marver who had also identified this vulnerability

    4 likes

  • Alexander Riccio (@co2trackers)'s profile picture

    @ariccio

    This is just so beautiful and so unimaginably cursed 🤣

    4 likes

  • Johann Rehberger's profile picture

    @wunderwuzzi23

    Right!?! If we design system like that, Genie will def not stay in the bottle... 😂

    4 likes

  • Alexander Riccio (@co2trackers)'s profile picture

    @ariccio

    Heheh it's funny you mention that, because I have the following in the same copilot-instructions file as the other tweet of mine ( "If you can think of any additional instructions that would be helpful for us, please suggest them to us. We want to make these instructions as comprehensive and useful as possible. If you can think of any useful meta-advice, please provide it! We WANT to ELICIT THE BEST OF THE BEST of your capabilities. Let's improve at a geometric rate like a benevolent Skynet."

  • sam ;D's profile picture

    @avoiding_coding

    With all the vibecoded YC startups this find is potentially worth millions

    2 likes

  • Johann Rehberger's profile picture

    @wunderwuzzi23

    @Smridhiwho Yeah, unfortunately not the only AI-powered IDE agent with such issues... but good that this one is fixed.

    1 like

  • Michael Bargury's profile picture

    @mbrg0

    great find!

    1 like

  • zionam's profile picture

    @xionams

    Amazing

    1 like

  • Eduardo Fazolo 🇧🇷's profile picture

    @edfazolo

    A little confused about this. First, the victim needs to download the code with the payload, then they have to execute with the chat? Are you suggesting this could be a potential danger for people trying to run shady open source repositories?

  • Travis's profile picture

    @tewirth

    @bohops Fun times lol

  • lexi <img src=x onerror=alert(1)>'s profile picture

    @1lexxi

    hi, question: did you find this before or after 2025-06-11? wondering because we might have a duplicate here lol

  • Marshall';--🐼🍌's profile picture

    @MJHallenbeck

    I assume this is bypassing the "dont write to . files" protection?

  • Himanshu Kumar's profile picture

    @codewithimanshu

    Interesting; trust becomes vital when automation meets such power. This highlights the delicate balance of convenience and security.