Q&A · Community Q&A

What Are the Major Lending Risks in DeFi?

Illustration of a lending pool surrounded by cracked collateral, a risk gauge, liquidation machinery, and an empty withdrawal pipe
On this page
Community question

DeFi software that enables lending across the internet seems to have very little human oversight. What exactly are the major lending risks in DeFi?

The short answer

The major lending risks in DeFi are smart contract exploits, oracle failures, bad debt from risky collateral, liquidation (for borrowers), withdrawal freezes when a pool is fully borrowed, depegs of stablecoins or wrapped tokens, and admin-key or governance attacks. Phishing and fake front ends are a constant risk for every user.

It’s true that DeFi lending runs with little human oversight: smart contracts accept deposits, set rates and liquidate loans automatically. That removes the risk of a lender company going bust, but it means mistakes in code, prices or collateral choices are enforced automatically too, and transactions can’t be reversed. This page explains each risk and is not financial advice.

One correction to a common answer: impermanent loss is not a lending risk. It affects liquidity providers in trading pools. If you simply supply USDC to a lending market, you don’t face it.

Lending risks at a glance

Risk Who it hits What happens Recent example
Smart contract exploit Lenders and borrowers Funds drained through a bug Euler, March 2023 (about $197 million; Euler says 100% was recovered from the attacker within weeks)
Oracle failure or manipulation Both Wrong prices cause bad loans or unfair liquidations Aave wstETH price cap, March 2026
Collateral and bad debt Lenders Collateral worth less than loans; lenders absorb the gap Kelp rsETH on Aave V3, April 2026
Liquidation Borrowers Collateral sold to repay debt, with a penalty Any sharp market drop
Liquidity and withdrawal Lenders Can’t withdraw until borrowers repay Pools near 100% utilization
Depeg Both Supplied or borrowed token loses its peg Stream Finance xUSD, November 2025
Admin keys and governance Both Privileged access misused or stolen Drift Protocol, April 2026
Front end and phishing Users Wallet drained through a fake site or approval Ongoing

Risks for lenders

Smart contract exploits

A lending protocol is a set of smart contracts holding everyone’s deposits. A flaw in its accounting can let an attacker withdraw more than they should. Euler Finance lost about $197 million in March 2023 to a “donation attack” (estimates vary); after negotiations, the attacker returned all of the stolen funds by early April 2023, according to Euler. Audits help but don’t guarantee safety: Balancer V2, a long-running and audited exchange protocol, was drained of about $128 million in November 2025 according to DefiLlama (Balancer’s own post-mortem put the theft of user funds at about $94.8 million). Attackers often use flash loans to borrow huge sums for a single transaction; the flash loan isn’t the bug, but it amplifies any bug that exists.

Collateral risk and bad debt

Most DeFi loans are over-collateralized, so lenders are protected as long as liquidations can sell collateral for more than the debt. When they can’t, the shortfall is bad debt.

The clearest recent case: in April 2026, an attacker exploited a Kelp DAO rsETH bridge route, released unbacked rsETH and used it as collateral on Aave V3 to borrow roughly 82,650 WETH. Aave’s incident report first modeled bad debt of roughly $124–230 million, depending on how Kelp allocates losses (an April 22 update revised this to about $62–162 million, and no final figure had been published on Aave’s forum by mid-November 2026), and found Aave’s own contracts were not compromised. WETH lenders, who had never touched rsETH, were exposed. The episode also set off billions of dollars of withdrawals from Aave, and an industry relief effort later raised ETH to cover the shortfall.

In pooled designs, one bad collateral asset can hurt lenders of every asset in that pool. That’s why it matters which collateral a market accepts.

How collateral risk crosses a pooled market Aave V3 pooled market COLLATERAL SIDE LENDING SIDE Unbacked rsETH used as collateral WETH lenders never touched rsETH Collateral shortfall becomes pool bad debt The loss can reach another asset's lenders
A pooled market links accepted collateral to lenders across the pool. If that collateral fails, lenders can face bad debt even when they never held the failed asset.

Oracle risk

Lending protocols rely on price feeds (oracles). If a feed is wrong, manipulated or misconfigured, the protocol may lend against inflated collateral or liquidate healthy positions. In March 2026, a misconfigured price cap on Aave undervalued wstETH by roughly 2.85% and triggered about $26 million of liquidations. Older protocols that used thin, easily moved prices suffered larger losses, such as Cream Finance’s roughly $130 million loss in October 2021.

Liquidity and withdrawal risk

You can only withdraw what hasn’t been lent out. If a pool approaches 100% utilization, withdrawals may have to wait until borrowers repay or new deposits arrive. Interest rates spike to encourage both, as explained in what determines interest rates on lending platforms, but that doesn’t help if you need the money that day. Panics make it worse, because many lenders try to leave at once.

Depeg and asset risk

Your deposit is only as good as the token you supplied. If a stablecoin or wrapped token loses its peg, the receipt token tracks it down. In November 2025, Stream Finance disclosed that an external fund manager had lost about $93 million; its xUSD token fell roughly 75–77%, and lending markets that accepted xUSD as collateral were left with bad debt.

Rate risk

Supply rates float with demand. As of mid-November 2026, DefiLlama showed Aave V3’s main USDC and USDT markets on Ethereum paying roughly 3–4.5% base APY (some other stablecoin markets paid far less), but that can fall quickly when borrowing demand drops. Rates far above that usually mean extra risk or temporary token rewards.

Risks for borrowers

Liquidation

Borrowers must post more collateral than they borrow. Protocols track each position with a health factor; if it falls below 1, the position can be liquidated. A liquidator repays part of the debt and takes collateral plus a bonus, so you lose more than the debt repaid.

How a DeFi liquidation transfers value Position weakens Collateral falls or debt grows Health factor falls below 1 Liquidation begins Liquidator acts Repays part of debt Takes collateral plus a bonus Borrower loses more collateralthan the debt repaid
Crossing the health-factor threshold lets a liquidator repay debt and claim discounted collateral. The bonus makes the borrower's collateral loss larger than the debt reduction.

On Aave V3, up to 50% of the debt can be repaid in one liquidation while the health factor is above 0.95, and up to 100% when it is 0.95 or lower, or when the borrower’s balance of the specific collateral or debt asset being liquidated is worth less than $2,000 (a per-asset test, not the whole position). Volatile collateral, high loan-to-value and oracle errors all raise the risk. See the risks to the DeFi borrower for more.

Variable rates

Most DeFi borrowing is at variable rates (Aave V3 removed its stable-rate option in 2024). If utilization jumps, your borrowing cost can rise sharply overnight, slowly eroding your health factor.

Risks for everyone

  • Admin keys and governance. Many protocols can be upgraded or paused by a multisig or a token vote. In April 2026, attackers reportedly tricked Drift Protocol’s multisig signers into pre-signing transactions that handed over admin control, then withdrew about $285 million on April 1 (DefiLlama lists $295 million). Check whether upgrades go through a timelock and who holds the keys; our multisig wallet page explains why signer security matters.
  • Bridges and other chains. Lending a bridged token, or on a network you reached by bridge, adds the bridge’s risk.
  • Front ends and phishing. Fake sites and malicious approvals drain wallets regardless of how safe the protocol is.
  • Regulation and tax. Rules on DeFi and crypto lending are still changing, and interest is often taxable.

DeFi vs. CeFi lending risk

Centralized lenders hold your coins and lend them on their own terms. In 2022, several large ones froze withdrawals and filed for bankruptcy, leaving customers as creditors. DeFi removes that company risk and shows every loan on-chain, but adds code, oracle and collateral risk. Neither is covered by bank deposit insurance. Compare them in the risks of depositing in DeFi vs. BlockFi.

How to reduce DeFi lending risk

  1. Prefer long-running protocols with several audits, a bug bounty, a timelock on upgrades and a public incident history (DefiLlama’s hacks database lists past exploits).
  2. Check what collateral backs your market, not just the asset you supply. Isolated markets can limit contagion.
  3. Watch utilization and keep money you might need soon elsewhere.
  4. Know the source of the yield. Compare with blue-chip benchmarks and separate base yield from rewards.
  5. As a borrower, keep a wide health-factor buffer, use less volatile collateral and set alerts.
  6. Spread deposits across protocols and assets.
  7. Protect your wallet: bookmark official apps, read every signature and revoke old approvals.

For a step-by-step walkthrough, see how to lend your crypto on DeFi and how lending works on Aave. For the wider picture across farming strategies, read the risks of yield farming, our DeFi lending risks hub, or the Lending & Borrowing section.

Frequently asked questions

Is DeFi lending safe?

It is not a savings account with deposit protection. Long-running protocols such as Aave and Compound have years of track record, but lenders have still faced bad debt, oracle failures and temporary withdrawal freezes. Only lend what you could afford to have locked up or lose.

What is the biggest risk for lenders in DeFi?

Historically, exploits and bad debt. Bad debt happens when collateral is worth less than the loans it backs, for example after a crash, an oracle error or an exploited collateral token, and lenders in that market can absorb the shortfall.

Can I lose my deposit on Aave or Compound?

Yes, in principle. A contract bug, a collateral failure that creates bad debt, or a depeg of the asset you supplied could all reduce what you get back. Safety modules and reserves can absorb some losses, but they have limits.

What is the biggest risk for borrowers?

Liquidation. If your collateral falls in value or your debt grows, your health factor can drop below 1, and liquidators can repay part of your debt and take collateral plus a bonus.

Are CeFi lending platforms less risky than DeFi?

They swap code risk for company risk. In 2022 several large centralized crypto lenders froze withdrawals and went bankrupt. DeFi removes the company but adds smart contract, oracle and collateral risks.

Sources

  1. TRM Labs: North Korean hackers attack Drift Protocol in $285 million heist (April 2026)
  2. Balancer: Nov 3 exploit post-mortem (November 2025)
  3. Euler Labs: War & Peace, behind the scenes of Euler's $240M exploit recovery
  4. Aave governance forum: LlamaRisk update to the rsETH incident report (April 22, 2026)
  5. Aave V3 source code (aave-dao/aave-v3-origin): LiquidationLogic.sol
  6. Aave governance forum: rsETH Incident Report (April 20, 2026)
  7. Aave Help Center: Liquidations and health factor
  8. Cointelegraph: Euler Finance attack, how it happened and what can be learned
  9. DefiLlama: Hacks database
  10. Decrypt: Why DeFi keeps losing millions to exploits (Drift and Kelp DAO, May 2026)
  11. Decrypt: Stream Finance stablecoin plunges 77% after protocol's fund manager loses $93 million
  12. DefiLlama Yields API (live pool rates)

Educational content, not financial advice. DeFi carries risk, including total loss of funds.

↑↓ to navigate ↵ to open Esc to close