GitHub RCE Vulnerability: CVE-2026-3854 Breakdown

(wiz.io)

261 points | by bo0tzz 10 hours ago

12 comments

  • saghm 1 hour ago
    > When babeld forwards a push request, one of the internal requests includes push options in the X-Stat header. Git push options are arbitrary strings that users can pass with git push -o. They are a standard git protocol feature, intended for server-side hints. babeld encodes them as numbered fields - push_option_0, push_option_1, and so on - alongside a push_option_count.

    > babeld copies git push option values directly into the X-Stat header - without sanitizing semicolons. Since ; is the X-Stat field delimiter, any semicolon in a push option value breaks out of its designated field and creates new, attacker-controlled fields.

    They managed to literally do the simplest possible thing wrong. The fruit was hanging so low it might have been underground.

  • jfkimmes 6 hours ago
    They hint at their AI-augmented reversing methodology, which demonstrates one of the core strengths of current LLM agents. These models, trained extensively on code, can immensely speed up the process of understanding complex system internals.

    Security research historically has two difficult components that build on one another: 1. Understanding complex system internals: uncovering the inner workings hidden by abstractions or interfaces 2. Finding vulnerabilities in these uncovered mechanisms

    Sometimes both steps are equally hard. But often, finding the vulnerability is trivial once the real mechanisms are uncovered, rather than relying on assumptions about inner workings.

    CVE-2026-3854 is a case where the vulnerability is not plainly obvious after understanding the internals. Still, I am confident that this command injection would have been found quickly had it been exposed to a more traditional or accessible attack surface.

  • jcims 7 hours ago
    Anyone in here work at Wiz? Seem like they do pretty good work. Tool itself has survived extreme growth/feature bloat and still does pretty well. Security team has found some really cool stuff.
  • bananapub 9 hours ago
    > April 28, 2026

    > GitHub Enterprise Server customers should upgrade immediately - at the time of this writing, our data indicates that 88% of instances are still vulnerable

    > Upgrade to GHES version 3.19.3 or later

    https://docs.github.com/en/enterprise-server@3.19/admin/rele... :

    > Enterprise Server 3.19.3 - March 10, 2026

    88% of on-prem customers haven't applied a critical security fix from 7 weeks ago, that seems ... bad.

    • semiquaver 7 hours ago
      GHES is essentially unmaintained (perhaps “on life support” would be more charitable since they are certainly accepting payment for it) and has been so for about a decade. It requires a multi-hour downtime to apply even a patch-level release. They do not have any supported mechanism for HA upgrades. So even the most conscientious GHES customers lag the latest version because they can’t afford the downtime.

      They are constantly telling all their GHES customers who complain about the severe flaws with the self-hosted appliance product to move to GitHub Enterprise Cloud, which is just regular GitHub.com, but who in their right mind would make that move nowadays??? At least GHES stays up during the daily github.com outages.

      • baby_souffle 7 hours ago
        You can at least schedule the updates.

        It's still a pretty annoying process, though.

        • semiquaver 7 hours ago
          Until GHES can do zero-downtime upgrades nothing will get better. Not on their roadmap because as far as I’m aware the GHES team doesn’t actually exist or is entirely focused on KLTO. It’s a dead product that they wish didn’t exist.
      • everfrustrated 6 hours ago
        Pretty sure GitHub Enterprise Cloud is just Github hosting their enterprise server for you on Azure so you don't have to do the patching yourself.
        • semiquaver 5 hours ago
          It sure isn’t! GitHub Enterprise Cloud is simply an enterprise plan on the regular multitenant github.com. Your repositories are on disk right next to everyone else that uses github.com. There is no segregated storage or compute.

          I wish they had a plan to literally host GHES for you because then more people in the company would be forced to reckon with how terrible GHES is from an operational perspective. It is stuck ca. 15-20 years ago conceptually.

        • securesaml 5 hours ago
          Github enterprise cloud is on github.com and with more features: http://github.com/account/enterprises/new

          They don't host github enterprise server for you (though gitlab has something called gitlab dedicated which they host gitlab ee for you).

    • technion 54 minutes ago
      I guess I woukd say youre fortunate to have not worked in a "we cannot use github.com because we take security very seriously" environment. Because always tells me you'll be running a on prem product that might get updated once a year.
    • brianmcnulty 8 hours ago
      I assume a fair amount of these on-prem customers restrict access to their GHES instance to be behind corporate VPN or something similar and are planning a date to upgrade their instance that won't affect operations.

      Any public instance should update immediately though, it's not very hard to put together how to repro the vulnerability on your own from what they provide in the article and the fact that GitHub Enterprise source is publicly available.

      • jamesfinlayson 2 hours ago
        For sure - the last company I worked at that had GitHub Enterprise had it running on a private network only accessible within the company.
    • bombcar 8 hours ago
      If you're in the enterprise you can update something outside of the normal schedule and guarantee blow up everything (and be blamed) or you can stick with the schedule and hope for the best.

      Guess which is usually picked ...

    • pixl97 9 hours ago
      Question is how fragile the upgrade process is in large installations. In other enterprise software messing around with large amounts of data I've seen the smallest things break the install and leaving the OPs team rolling back. Was like SharePoint in the past, you were rolling a dice when upgrading it.
      • chucky_z 9 hours ago
        It's incredibly fragile. It breaks a vast majority of the time and takes multiple rounds of support on-call to upgrade typically.
        • formerly_proven 8 hours ago
          Unsurprising for a fourth tier on-prem created by cutting a continuously deployed application into releases.
          • jamesfinlayson 2 hours ago
            The GitHub blog had an article saying that all patches must pass for github.com before merge but the GitHub Enterprise tests have a three day window to be rectified.
  • latchkey 10 hours ago
    People keep wanting to replace GitHub, but with what?

    If GH is getting RCE's this late in the game who wants to take the chance something else won't?

    • skrrtww 8 hours ago
      A "reasonable" answer is probably a primary self-hosted Forgejo instance as the canonical forge, while using GitHub as a mirror solely to take advantage of its free CI, while that lasts, while hosting secrets with a dedicated secret-hosting provider (I don't know what the provider du jour for this is these days).
      • embedding-shape 8 hours ago
        > solely to take advantage of its free CI, while that lasts

        Eh, if you want to be able to continue working, deploy and what not as normal during weekdays, I'd suggest also moving to Forgejo Actions if you're moving anyways. Not 100% compatible, but more or less the same, and even paying the same but with dedicated hardware you'd get way faster runners.

        • skrrtww 6 hours ago
          For companies with resources for infrastructure, sure.

          For OSS, the unlimited free minutes of multiplatform CI offered by GitHub are literally impossible to replace. Maintaining runners yourself to do the same things would be somewhere between a part- and full-time job.

          • embedding-shape 6 hours ago
            > For OSS, the unlimited free minutes of multiplatform CI offered by GitHub are literally impossible to replace.

            Yeah, how you think the ecosystem got by before GitHub even had actions? Y'all don't remember Travis CI et al anymore?

            There are more CI services than what Microsoft offers the world, sometimes it's worth looking around a bit.

          • esseph 2 hours ago
            > https://docs.codeberg.org/ci/

            "Codeberg is a non-profit, community-led effort that provides services to free and open-source projects, such as Git hosting (using Forgejo), Pages, CI/CD and a Weblate instance."

            Never say impossible.

            Github is still "new" to a lot of us. OSS existed well before it, and will continue to exist well after.

      • latchkey 8 hours ago
        Replace a whole 24/7 team of devops people with myself?

        As much as I'd like to believe that I'm worthy, I'm not.

        • skrrtww 8 hours ago
          If the primary forge's only job is to host the actual Git infrastructure (the code, the MRs, the issues, maybe a wiki), it's a lot more simple than GitHub, and probably more within the scope of what people can reasonably administer themselves.
          • latchkey 7 hours ago
            I hosted the first "java.apache.org". I was an early employee at CollabNet, and in the first discussions around starting subversion. I worked on Cloud Foundry.

            This stuff isn't easy and I'm more than happy letting someone else do it at the expense of some downtime.

        • slopinthebag 3 hours ago
          24/7 devops team for a forgejo instance? Come on mate...
          • latchkey 3 hours ago
            24/7 devops team for github? Come on mate...
            • slopinthebag 3 hours ago
              Is running a small forgejo instance for a team the same as running GitHub?
    • asa977 2 hours ago
      We moved from github to a self-hosted forgejo instance about 6 months ago, works like a charm. Still can't belive how snappy forgejo is / laggy github has become
    • Caligatio 8 hours ago
      I am personally now drawing a clear delineation between projects for my internal consumption (e.g. ansible scripts) and projects that have potential use for the general populace. For the prior, I now host a private Forgejo instance. For the latter, I'll put it on GitHub but mirror it to my Forgejo instance.

      I was pleasantly shocked that Forgejo is literally a single binary with a relatively easy config. All my internal services reference my Forgejo instance so, if I need to bail on GitHub, it's low friction for me.

    • crimsonnoodle58 4 hours ago
      Self hosted gitlab behind a VPN.

      The all-in-docker image and a couple of gitlab runners is all small to medium sized teams need. (Don't overcomplicate it with the kubernetes version unless you really need it)

    • gtech1 9 hours ago
      GitLab ?
      • latchkey 9 hours ago
        The people who suggest gitlab, haven't used it. But I guess I could be tempted to try again...

        https://status.gitlab.com/pages/history/5b36dc6502d06804c083...

        • gtech1 3 hours ago
          Ah, you assumed I meant SaaS GitLab. I meant the self-hosted version. I would never host our source code on a remote service.
        • capitalhilbilly 6 hours ago
          If you could only choose from github, gitlab and atlassan then I suppose.. But really anything newer that stays in existance has to be focused on quality from early enough to not be defined by path dependence problems and bad choices like those 3.
          • latchkey 6 hours ago
            Given that github is imploding under a lot of load, everyone leaving github for something else, actually makes github better.
    • chucky_z 9 hours ago
      .... git?

      replace it with git.

      if you want a whole ui you can use something like forgejo which has far fewer features likely leading to less issues.

      • debugnik 8 hours ago
        You probably meant Forgejo. Codeberg is a Forgejo instance exclusive for FOSS projects.
      • latchkey 9 hours ago
        i want what github offers.
        • heliumtera 9 hours ago
          Enjoy your experience, there will certainly be no end to it.
          • latchkey 9 hours ago
            I've had my account since 2008. ¯\_(ツ)_/¯

            updated: changed the date to 2008.

            my account shows 2001, but that's probably from projects I moved over... proof: https://github.com/lookfirst

            • necubi 8 hours ago
              GitHub launched in 2008, so that seems unlikely?
            • seanclayton 8 hours ago
              Just be careful your patronage doesn't lead to a sunk cost fallacy---a middle manager might just be betting on it
              • latchkey 8 hours ago
                I have no ingrained loyalty, I just haven't found something better.
            • sitzkrieg 4 hours ago
              i just deleted my account of 2008. github sucks
    • TZubiri 5 hours ago
      just git
  • angry_octet 5 hours ago
    Another tour de force from Wiz, and a watershed moment in AI tooling enabling RE and compromise discovery.
    • avaer 3 hours ago
      It throws a wrench into the argument of not publishing your source because AI will more easily compromise the code.

      Another data point against doing security through obscurity.

  • WASDx 8 hours ago
    I was impressed enough by AI finding vulnerabilities in source code, but doing it in binary executables is just amazing. This has so much potential, good and bad.

    And yet another lesson to not treat data as instructions. Sanitize all user input!

    • avaer 3 hours ago
      Transformers were literally designed for translation.

      As we have known for a while, they ended up being really good at translating source to source or text to source. It shouldn't be too surprising they are also really good at understanding the asm version too.

      Doesn't make it any less impressive, but maybe less surprising.

  • halger 7 hours ago
    Woah I wonder if they can tell if this has been exploited or not
    • semiquaver 7 hours ago
      My read is that this vulnerability is exploitable by an anonymous user. They absolutely have HTTP/gitprotocol logs that would indicate whether this was exploited but if it was, they won’t have logging about what actually got accessed and who did it, since the exploit was capable of standalone execution on the git servers, which would by definition be capable of evading any logging.
  • formerly_proven 7 hours ago
    This is just such an amateur hour vulnerability. Gluing strings together with no regard to what might be in them and then parsing them later...

    edit: I didn't mean it as a put-down of either the article or how they found the vulnerability, but it wasn't a constructive comment either way.

  • jeremie_strand 3 hours ago
    [dead]
  • Neteam 5 hours ago
    [dead]
  • willworktill4pm 9 hours ago
    GitHub case will be thought in schools how to screw up almost monopolistic position in the market in couple years. This is beyond bonkers.
    • hnlmorg 8 hours ago
      Only if they take Skype off the syllabus first.
      • xaxfixho 8 hours ago
        private equity: hold my beer!