Summer.fi Hack

TOTAL LOST $6.0M
Medium Flash Loan Attack

Summarize with AI

Affected Chain 2026 Incident surface
Recovered - No recovery reported
All-Time Rank #392 By amount stolen
Protocol Type Exploit/Flash Loan Attack Target category

Incident Overview

In 6th July 2026, the Ethereum DeFi protocol Summer.fi suffered a smart contract exploit on Ethereum mainnet targeting its "Lazy Summer" vaults, resulting in a loss of approximately $6 million.

The exploit was executed via an ERC-4626 inflation and donation attack targeted at the protocol's underlying accounting system.

By utilizing a massive $65.4 million flash loan, the attacker heavily distorted pool liquidity and intentionally donated a significant chunk of assets to the underlying vault architecture. This artificial injection of funds dramatically warped the internal valuation metrics, forcing the vault's calculated APY to spike drastically. Because the underlying share valuation equation relied directly on the inflated asset balance, the attacker successfully exploited the mathematical discrepancy to redeem far more tokens ($70.9 million) than their initial deposit ($64.8 million). The exploit completely drained approximately $6 million from the affected Lazy Summer vaults before the team paused the impacted contracts.

Exploiter Address: 0x7BF71616…B3BDCa

Exploit Contract: 0x0514F827…82FC61

Attack Transaction: 0x0db528c4…43da12

Incident Report

Protocol / Project Summer.fi
Date of Incident
Attack Technique Flash Loan Attack
Classification Yield Aggregator

Protocol Information

Protocol Type Exploit/Flash Loan Attack
Official Website summer.fi/
Protocol Twitter/X @summerfinance_
Team Anonymous
Source Code Unverified

What the Attacker Needed to Succeed

Understanding the prerequisites for this type of attack helps auditors identify protocols that are most at risk and helps developers build better defenses.

Technical Knowledge Deep understanding of flash loan attack and Solidity and EVM internals
Capital Required Flash loan capital (borrowed atomically, zero upfront cost)
On-Chain Access Ability to interact with smart contracts and deploy a custom exploit contract
Protocol Analysis Identification of the exploitable vulnerability in Summer.fi's contract logic - root cause: yield aggregator
Execution Speed Precise transaction ordering and timing to exploit the vulnerability within a single atomic block
Obfuscation Plan A strategy to launder and move stolen funds - typically through mixers, cross-chain bridges, or decentralized DEX swaps to resist tracing

What Auditors Should Check

Could this have been caught in audit? Yes — skilled auditors routinely flag Flash Loan Attack vulnerabilities in code review

If you're auditing a protocol with similar architecture to Summer.fi, these are the critical security checks that could have prevented this incident (July 2026).

  • Verify all logic paths related to Flash Loan Attack are guarded by proper access controls and input validation - see the Flash Loans Attacks attack class for patterns
  • Review privileged functions (owner, admin, governance) for potential abuse vectors - centralization risks should be documented and bounded with timelocks or multi-sigs

Master these auditing techniques with hands-on labs and real exploit scenarios in the Smart Contract Hacking course.

Free Trial

Related Attack Classes

The technique used in this hack maps to these vulnerability classes in our security curriculum:

See all Flash Loans Attacks examples →

Sources & References

Learn to Prevent the Next Summer.fi

The Summer.fi hack is one of many attacks that skilled auditors are trained to detect before deployment. Master real exploit patterns and defense techniques with hands-on Web3 security training.

Recreate exploit patterns safely Free Trial