Defang Says a Release Tag Gave an Attacker Its Production Database
Security / news
Defang Says a Release Tag Gave an Attacker Its Production Database
The Nov. 12 intrusion went undetected until a scan on Nov. 23, and deployment-state copies from Oct. 12 to Nov. 19 may hold customers' database passwords.

An attacker who pushed one commit through an over-permissioned GitHub App ran code inside Defang's production build pipeline on Nov. 12 and copied the company's main database, Defang wrote in a post published Nov. 24. The company did not notice for 11 days.
Defang, which sells a tool for deploying Compose projects to cloud accounts, confirmed the database copy on Nov. 23 after a routine security scan found suspicious activity. Its post is signed "The Defang Team" and names no individual.
How one commit reached production credentials
Defang kept a second GitHub App for local development and testing. It was installed on two Defang repositories and held more permissions than it needed, including the right to change deployment environments.
Acting as that app, the attacker pushed a commit to one repository and tagged it as a release. "Our production environment trusted release tags, so their code ran in our CI with access to our production credentials," the post says. The attacker's code copied those credentials.
Defang says it learned on Nov. 15 of a dependency security issue and installed the update that day. The post does not say whether that issue is connected to the intrusion.
Timeline, all times UTC
| Date and time | Event |
|---|---|
| Nov. 12, 06:05 | First workflow copies build credentials for development and staging |
| Nov. 12, 06:26 | Production credentials copied |
| Nov. 12, 07:57 to 08:10 | Database copied |
| Nov. 23 | Scan flags activity; Defang replaces credentials and emails users |
| Nov. 24 | Post published |
Visible activity ran from about 06:00 to 10:30 on Nov. 12. The stolen credentials stayed valid until Nov. 23, and Defang says it is still checking for use after Nov. 12 because some logs lack the detail to rule it out.
What data was exposed
The database held names and email addresses, GitHub or GitLab usernames and organization names, and answers given at signup. Where the Defang GitHub App was installed, it also held the names of accessible repositories, including private ones, plus cloud account, project or subscription IDs and regions. It held no cloud credentials.
The detail most customers need is the deployment-state copies. Defang kept copies of state from Oct. 12 to Nov. 19 that "may include database passwords and environment variables built from defang config values." It stopped keeping them on Nov. 19 and has deleted the existing copies. Anyone who deployed in that window should change those secrets and redeploy.
Billing data was readable through a Stripe key until Nov. 23: name, email, billing address, tax ID if provided, card brand, last four digits, expiry date, and subscription and invoice history. Full card numbers and security codes were not exposed, and Defang says customers do not need new cards. Defang does not store passwords.

The GitHub App key is the larger exposure
The attacker also took the GitHub App's key and the GitHub sign-in tokens Defang held. The tokens were stored encrypted, but the encryption key was taken too. Defang's post lists what that allowed: pushing commits, changing workflows, overwriting Actions secrets, changing deployment environments and modifying repository settings. A workflow started that way could receive cloud credentials through the deploy role.
Defang revoked the tokens and replaced the App key on Nov. 23, notified GitHub, which is helping audit for token misuse, and reverted altered production and staging deployment configurations.
The same class of failure, a trusted automation identity with write access to code that runs with secrets, appears in 1Password's disclosure that an attacker pushed code to backend services and in the Hex.pm breach. Defang's variant is the plainest: a release tag was enough to earn production trust.
What customers should check
Users of the GitHub App should review repositories for unfamiliar activity since Nov. 11, especially from defang-app[bot], restrict defang- deployment environments to their deploy branch and reconnect the authorization. Teams deploying through GitHub Actions should check usage of the deploy role (defang-cd-CIRole on AWS) since Nov. 11 and narrow its trust to a branch or environment. Defang's contact for anything suspicious is sec@defang.io.
Defang has not said how many customers were affected, and its post gives no count of repositories or accounts. Its own log review for use of the stolen credentials after Nov. 12 is unfinished.
Sources
More in Security
- 01VicOne Claims 28 Robotics Zero-Days; ZDI Shows Two for MoveItThe vendor's sponsored IEEE Spectrum article names no CVE, and 75 percent of the findings sit in development and simulation tools rather than deployed robots.
- 02Ubuntu Still Lists Every Release Vulnerable to NoisyTCP, Nine Days After DisclosureCVE-2026-99288 crashes Linux hosts remotely, and Canonical's tracker shows no fix for 26.04 LTS through 16.04 LTS while researcher Hanno Böck argues backporting cannot keep up.
- 03C3RB3R Ransomware Is Encrypting Synology NAS Boxes, and CISA Lists DSM CVE-2024-10441 as ExploitedSynology fixed the 9.8-rated flaw in 2024, so the victims are devices running outdated DSM builds listed in its advisory.
- 04Claude-BugHunter Hits 22,100 Stars While Three Open Issues Say Out-of-Scope Hosts Stay In ScopeThe 84-skill bug bounty bundle for Claude Code also tells users that Anthropic blocks offensive tooling by default, and Red Team Access is limited to organizations.