Valinity Hack

Reported loss $63K
Oracle Issue

What happened

Valinity, an Ethereum lending protocol, lost about $63,000 in early January 2026 through a business-logic flaw in how it rebalanced its VY token. VY is a synthetic, reserve-backed asset that users can post as collateral to borrow BTC, ETH and PAXG.

Anyone could call acquireByLTVDisparity(), which rebalanced VY holdings using LTV ratios and Uniswap V3 spot prices. It was hardcoded to sell VY into a nearly empty liquidity pool holding only about $106 of USDC. The attacker first pushed the PAXG price up with a USDC-to-PAXG swap, then called the rebalancer, which dumped VY into the tiny pool at a terrible price. The attacker bought that cheap VY and used it as collateral to borrow ETH, BTC and PAXG, then left with the loans. The analyst who published the first breakdown argued this was not simple price manipulation, because the attacker raised the price of an asset instead of lowering the price of the loan token.

TxRay's reconstruction of one exploit transaction found that the rebalancing call minted about 3.96 × 10^25 VY (roughly 39.6 million VY) and raised the PAXG cap before the VY was used as loan collateral, taking out about 22.12 ETH-equivalent. Valinity paused its contracts by disabling borrowing, which blocked any repeat of the attack.

How it happened

  1. The attacker swapped USDC for PAXG on Uniswap V3, raising the PAXG spot price that Valinity's rebalancer reads. TxRay describes this as part of a flash-loan-funded swap sequence.
  2. It called the permissionless acquireByLTVDisparity(). Using the inflated PAXG price, the function minted VY and swapped it into its hardcoded, nearly empty VY liquidity pool (about $106 USDC), dumping VY at a very low price.
  3. The attacker bought the cheap VY out of that pool.
  4. It posted the VY as collateral in Valinity's lending system, which still valued VY at its normal rate, and borrowed ETH, BTC and PAXG against it.
  5. It exited with the borrowed assets. Valinity then disabled borrowing.

Protocol details

Classification Borrowing and Lending
Protocol Type Exploit/Oracle Issue
Protocol links Website @valinitydefi

Build your security review skills

Work through hands-on labs covering real exploit mechanics, review techniques, and defensive patterns.