Avici

Funds lost
$102.0M
Attack type
Access Control
Network
Solana
Category
Other

Summary

On August 28, 2026, crypto card provider Avici and three other card programs suffered an exploit totaling approximately $1.02 million (~10,000 SOL) due to an instruction verification flaw in their shared card contract managed by partner Rain. The attacker exploited the bug to grant themselves admin rights, drained card collateral pools, swapped the funds to USDC, bridged them to Ethereum, and deposited ~418 ETH into Tornado Cash.

Details of the Exploit

The vulnerability was present in an older Solana smart contract developed by card issuer Rain, which managed user card top-up balances independently from self-custodial user wallets. The exploit relied on an instruction index trick in Solana's Ed25519 signature verification precompile. The attacker submitted a transaction with two Ed25519 instructions: the first carried a genuine signature from a newly generated throwaway key, while the second instruction set its signature, public key, and message indexes to point back to the index of the first instruction.

The precompile re-verified the valid signature from the first instruction rather than checking the admin key in the second instruction, leading the contract to incorrectly register two valid admin signatures and grant the attacker full admin privileges (AddCollateralAdmin). Using these elevated privileges, the attacker drained four card programs, collecting 10,000 SOL (~$1.02M USD). They converted the SOL to USDC on Solana, transferred the funds to Ethereum address 0x2cE21E4921d3Eb116526c3651Dac0257657338D5, swapped the proceeds into ~418 ETH, and routed the entire balance through Tornado Cash.

Self-custodial Avici wallets were unaffected. Avici reported that $500,859.22 in card balances across 1,685 users was impacted, and confirmed that all affected users will receive full refunds.

Source: De.Fi REKT Database. Data as of November 19, 2026.

Related incidents

Learn more