CVE-2023-49798Openzeppelin Contracts
High 7.5 No auth needed
Follow: this CVE · Openzeppelin · Openzeppelin Contracts We alert you by email or Slack (account required).
- Priority
- 60
- CVSS 3.1
- 7.5
- EPSS
- 0.6% probability of exploitation in 30 days · percentile 46
- Auth required
- No
- Published
- Dec 9, 2023
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-670
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
What happens
OpenZeppelin Contracts is a library for smart contract development. A merge issue when porting the 5.0.1 patch to the 4.9 branch caused a line duplication. In the version of `Multicall.sol` released in `@openzeppelin/contracts@4.9.4` and `@openzeppelin/contracts-upgradeable@4.9.4`, all subcalls are executed twice. Concretely, this exposes a user to unintentionally duplicate operations like asset transfers. The duplicated delegatecall was removed in version 4.9.5. The 4.9.4 version is marked as deprecated. Users are advised to upgrade. There are no known workarounds for this issue.
What to do
- Apply the vendor's security update for Contracts.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| npm | @openzeppelin/contracts |
≥ 4.9.4 < 4.9.5 |
4.9.5 |
npm install @openzeppelin/contracts@4.9.5 |
| npm | @openzeppelin/contracts-upgradeable |
≥ 4.9.4 < 4.9.5 |
4.9.5 |
npm install @openzeppelin/contracts-upgradeable@4.9.5 |
Per OSV / GitHub Advisories (GHSA-699g-q6qh-q4v8). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| openzeppelin | contracts | 4.9.4 |
| openzeppelin | contracts_upgradeable | 4.9.4 |
Official sources
References
Links published by the sources. Open them with care.
- github.com Patch
- github.com Vendor Advisory