Crypto exploits

HumaFinance exploit analysis

A permissionless refreshAccount() call let an attacker self-promote an unapproved Huma Finance V1 credit line to GoodStanding on Polygon and drain three legacy pools. Huma reports about $101,400 across USDC and USDC.e; V1 has since been fully paused.

David

Security ·

Reported loss
$101K
Occurred
Logged
Chain
Polygon

Logged as “2026-05-11: Credit Approval Bypass on HumaFinance”.

Analysis2 min read

Huma Finance's legacy V1 product on Polygon ran BaseCreditPool contracts that advanced stablecoin credit lines against invoices and other receivables, gated by an Evaluation Agent who was meant to approve each borrower before a credit line went live. By May 2026 Huma had already moved its active business to a rebuilt V2 on Solana and was winding the Polygon V1 pools down, but three of them, one lending native USDC and two lending bridged USDC.e, were still holding liquidity.

The flaw was in refreshAccount(). Blockaid's analysis, as reported by crypto.news, and the published proof of concept both describe the same gap: refreshAccount() is callable by anyone and, once a billing period has passed with no payment recorded as missed, moves a credit line's status straight to GoodStanding, without ever checking whether the Evaluation Agent had approved it through approveCredit() in the first place. requestCredit(), which opens a line at a chosen limit up to the pool's maxCreditLine, is equally open to anyone. drawdown() then lets a GoodStanding line borrow against the pool.

That let an attacker turn an unapproved credit request into a withdrawal in three calls, repeated once per pool:

  1. requestCredit(maxCreditLine, 1, 10), opening a line at the pool's ceiling while its state is still Requested
  2. refreshAccount(address(this)), flipping the still-unapproved line to GoodStanding
  3. drawdown(available), borrowing the pool's full token balance

No flash loan, approval from a third party, or price manipulation was needed; the three calls alone were enough, which is why the proof of concept runs them from a plain, freshly deployed borrower contract rather than anything more elaborate. The same three calls worked unchanged against all three pools, which is why one attacker could clear out a native-USDC pool and two separate USDC.e pools inside a single transaction rather than needing three separate attempts.

The attacker, 0x13B44e416e0f66359502E843AF2e1191f1260DaF, ran this against the native-USDC pool at 0x3EBc1f0644A69c565957EF7cEb5AEafE94Eb6FcE and two USDC.e pools, at 0x95533e56f397152B0013A39586bC97309e9A00a7 and 0xe8926aDbFADb5DA91CD56A7d5aCC31AA3FDF47E5, forwarding everything to one wallet. The attack transaction on Polygonscan, timestamped 11 May 2026 14:19:25 UTC, shows transfers of 82,315.571143 USDC and 17,290.75983 plus 1,783.970571 USDC.e, a total close to both the README's "~$101K (82,315 USDC + 19,074 USDC.e)" and crypto.news' reporting. Security firm Blockaid traced the exploit, per crypto.news, though no attacker identity beyond the wallet address has been published.

Huma's response, as reported by crypto.news, was that no user deposits on its current PayFi platform were at risk and that all remaining V1 contracts on Polygon have been paused; crypto.news summarised that current deposits and PST positions on Solana "are reported as safe". The team framed PayFi V2 as "a complete rebuild" with separate architecture from the exploited code, rather than a patch applied to it, so the vulnerable refreshAccount() logic was retired along with the rest of V1 instead of fixed in place.

The current post's claim that the exploit happened "against the live Ethereum state" does not match the chain either source gives: both the PoC and Huma's own statement place the incident on Polygon.

Sources read (4)

Other exploits

Query every incident yourself — free, no signup

Updated 9 Nov 2026. Figures are as reported by the sources listed above and are not independently verified.