Critical AWS supply chain vulnerability could have let hackers take over key GitHub repositories

  • Wiz discovered AWS CodeBuild misconfiguration enabling unauthorized privileged builds, dubbed “CodeBreach.”
  • Flaw risked exposing GitHub tokens and enabling supply chain attacks across AWS projects
  • AWS fixed issue within 48 hours; no abuse detected, users urged to secure CI/CD setups

A critical misconfiguration in Amazon Web Services (AWS) CodeBuild service exposed several AWS-managed GitHub repositories to potential supply chain attacks, experts have warned.

Security researchers Wiz discovered the flaw and reported it to AWS, thus helping remedy the issue.

AWS CodeBuild is a fully managed Amazon Web Services service that automatically builds and packages source code as part of a CI/CD pipeline. It runs build jobs in isolated environments and scales on demand.

CodeBreach

Wiz’s report outlines how the misconfiguration was in how AWS CodeBuild checked which GitHub users were allowed to trigger build jobs. The system used a pattern that did not require an exact match, allowing attackers to predict, and obtain, new IDs that contained approved IDs as substrings, bypassing the filter and triggering privileged builds.

This allowed untrusted users to start privileged build processes which could, in turn, expose powerful GitHub access tokens stored in the build environment.

The vulnerability, named “CodeBreach”, could have thus enabled platform-wide compromise, potentially impacting countless applications and AWS customers by distributing backdoored software updates.

Luckily, it seems Wiz picked it up before any malicious actors could, since there is no evidence CodeBreach was abused in the wild.

AWS apparently corrected the misconfigured webhook filters, rotated credentials, secured build environments, and “added additional safeguards”. The company also stated that the issue was project-specific and not a flaw in the CodeBuild service itself.

“AWS investigated all reported concerns highlighted by Wiz’s research team in ‘Infiltrating the AWS Console Supply Chain: Hijacking Core AWS GitHub Repositories via CodeBuild.’,” it said in a statement shared with Wiz.

“In response, AWS took a number of steps to mitigate all issues discovered by Wiz, as well as additional steps and mitigations to protect against similar possible future issues. The core issue of actor ID bypass due to unanchored regexes for the identified repos was mitigated within 48 hours of first disclosure. Additional mitigations were implemented, including further protections of all build processes that contain Github tokens or any other credentials in memory.

“In addition, AWS audited all other public build environments to ensure that no such issues exist across the AWS open source estate. Finally, AWS audited the logs of all public build repositories as well as associated CloudTrail logs and determined that no other actor had taken advantage of the unanchored regex issue demonstrated by the Wiz research team.

“AWS determined there was no impact of the identified issue on the confidentiality or integrity of any customer environment or any AWS service.”

Wiz reported the misconfiguration to AWS in late August 2025, and the latter fixed it soon after. However, both companies recommend users review their CI/CD configurations, anchor webhook regex filters, limit token privileges, and make sure untrusted pull requests cannot trigger privileged build pipelines.

Follow TechRadar on Google News and add us as a preferred source to get our expert news, reviews, and opinion in your feeds. Make sure to click the Follow button!

And of course you can also follow TechRadar on TikTok for news, reviews, unboxings in video form, and get regular updates from us on WhatsApp too.

Read more @ TechRadar

Latest posts

Googlebook OS review: A post-smartphone PC, if Google can keep it

All attempts to bring the lessons and benefits of the touch era to PCs have failed, from Windows 8 to the era after the...

Samsung is now rolling out Android 17 to these older Galaxy devices in the US

Samsung’s One UI 9 update is now available for the Galaxy S24 and Z Fold/Flip 6, a month after the official rollout was initiated. Read...

Google’s Fitbit Air is getting a shiny new Metal Mesh band and better automatic tracking

The Fitbit Air is finally getting another band option that isn’t fabric or polyurethane. Instead, the Metal Mesh band might actually take the Fitbit...

Chromecast with Google TV gets first update of 2026

Following the last release 11 months ago, Google is rolling out the first update of 2026 to the Chromecast with Google TV (4K). Read more...

Monday’s Android app deals and freebies: Slime, CHUCHEL, Toziuha Night, House of Da Vinci, more

Today’s best Google Play app and game deals are ready, including Friend of a Slime: Survivors, CHUCHEL, Toziuha Night: OotA, The House of Da...

Google releases officially refurbished Pixel 9 devices starting at $499 with an extra perk

After outing its Pixel 7 series in recent weeks, Google has just quietly released the Pixel 9 series to its Certified Refurbished program with...

Google announces $179 Fitbit Edge tracker with display, GPS

Google is following the Fitbit Air launched in May with a second tracker that features a screen called the Fitbit Edge. Read more @ 9to5google

Nothing starts rolling out stable Android 17 update to Phone (3) – here’s the schedule

Following a prior beta program, Nothing has started its stable Android 17 update rolling with its flagship Phone (3). Read more @ 9to5google

Deals: Samsung Galaxy Tab S12 + $200 Amazon gift card, Noting Ear (3a), LG TVs up to $1,200 off w/ 10% back, more

Today’s 9to5Toys Lunch Break is headlined by a chance to score a FREE $200 Amazon gift card with your new Samsung Galaxy Tab S12+...

LineageOS 24 launches based on Android 17 with app redesigns and simple flash tool

LineageOS 24 is now official, with the latest builds rolling out based on Android 17, bringing a surprise early release alongside a fresh coat...