CVE-2026-48054
OpenZeppelin · contracts-wizard
OpenZeppelin Contracts Wizard is susceptible to a code injection vulnerability, which could allow an attacker to influence generated contract components.
Executive summary
A code injection vulnerability in OpenZeppelin Contracts Wizard could allow an attacker to compromise the integrity of generated smart contract code.
Vulnerability
The application is vulnerable to CWE-94, which is improper control of code generation. An unauthenticated attacker could potentially exploit this flaw to inject malicious code during the interactive contract building process.
Business impact
Successful exploitation of this vulnerability could lead to the deployment of compromised smart contracts, resulting in significant financial loss or unauthorized control over decentralized applications. With a CVSS score of 8.8, this vulnerability represents a high risk to organizations relying on automated contract generation tools for production environments.
Remediation
Immediate Action: Update OpenZeppelin Contracts Wizard to version 0.10.9 or later to incorporate the necessary security patches.
Proactive Monitoring: Audit any smart contracts generated via the tool prior to the update for unexpected logic or unauthorized code structures.
Compensating Controls: Implement strict code review processes and automated static analysis for all smart contracts before deployment to mainnet or production environments.
Exploitation status
Public Exploit Available: Unknown
Analyst recommendation
Given the potential for severe impact on financial assets and contract integrity, users should treat this as a high-priority update. Ensure the software is patched to version 0.10.9 immediately and conduct a thorough review of all contracts generated by earlier versions.