Cyber Risks · The Hacker News

AWS Code Build Misconfiguration Exposed GitHub Repos to Potential Supply Chain Attacks

Summary: Wiz found a misconfiguration in AWS CodeBuild webhook filters that could have let unauthenticated attackers take over AWS-managed GitHub repositories, including aws-sdk-js-v3, by exploiting regex patterns missing the ^ and $ anchors. Because GitHub assigns numeric user IDs sequentially, Wiz could predict when a new bot ID would contain a trusted maintainer's six-digit ID, then trigger a build and obtain a Personal Access Token with full admin rights over the repository; AWS fixed the issue in September 2025 after disclosure on August 25, 2025, and said it found no evidence of exploitation.

Why it matters: A missing pair of regex anchors was the only thing standing between an unauthenticated attacker and admin push access to the AWS JavaScript SDK repository, whose compromise Wiz says could have threatened the Console and every AWS account.

Read the original at The Hacker News ↗

Topics
Cloud Security
Related