CVE-2025-25962

An issue in Coresmartcontracts Uniswap v.3.0 and fixed in v.4.0 allows a remote attacker to escalate privileges via the _modifyPosition function

Critical · published April 29, 2025

CVSS v3.1
9.8
EPSS
1%
Percentile
42.9
In the wild
Unconfirmed
What it is

🚨 An unguarded function in Uniswap v3.0 could let attackers escalate privileges—like a sneaky guest finding a spare key to the VIP lounge! 🔥 Imagine a restaurant where a staff member accidentally leaves the back door open, allowing anyone to waltz in and get access to the kitchen. In this case, the _modifyPosition function acts as that door—if exploited, it grants unauthorized access to sensitive functions. An attacker could leverage this loophole to escalate their privileges, gaining control over positions they shouldn’t have access to. The consequences could be absolutely devastating, affecting not just individual users but the integrity of the entire Uniswap ecosystem. This is a recipe for chaos!

Put simply

Imagine a restaurant where a staff member accidentally leaves the back door open, allowing anyone to waltz in and get access to the kitchen. In this case, the _modifyPosition function acts as that door—if exploited, it grants unauthorized access to sensitive functions. The vulnerability in Uniswap v3.0 stems from a flaw in the _modifyPosition function, which allows remote attackers to escalate privileges without proper authentication checks. This exploit was resolved in version 4.0, making the older version a target.

What to do

An attacker could leverage this loophole to escalate their privileges, gaining control over positions they shouldn’t have access to. The consequences could be absolutely devastating, affecting not just individual users but the integrity of the entire Uniswap ecosystem. This is a recipe for chaos! Upgrade to Uniswap v4.0 immediately to close this critical vulnerability. Review your smart contract code for any similar unchecked functions and implement stricter access controls. Regular audits can help ensure you catch these issues before they turn into major problems! You've got this! By following these steps, you'll not only secure your application but also help protect the DeFi ecosystem. 🛡️

The record
Technical detail
CVSS v3.1
9.8 · CRITICAL
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
CVSS v4.0
Not supplied
EPSS
0.00514 · 42.9th percentile
Published
2025-04-29T00:00Z
EPSS history
Timeline
  • 29 APR 00:00Z
    An issue in Coresmartcontracts Uniswap v.3.0 and fixed in v.4.0 allows a remote attacker to escalate privileges via the _modifyPosition function
    cvelistv5