RCE in @Openzeppelin Wizard
CVE-2026-57583
OpenZeppelin Contracts Wizard is a web application to interactively build a contract out of components from OpenZeppelin Contracts. Prior to @openzeppelin/wizard 0.10.11, @openzeppelin/wizard-cairo 3.0.1, @openzeppelin/wizard-stellar 0.6.2, and @openzeppelin/wizard-stylus 0.3.1, the setInfo code path prints info.securityContact and info.license verbatim into single-line comments in generated Solidity, Cairo, Stellar/Soroban, and Stylus source. A line terminator ends the comment and causes following input to be emitted as source declarations. Exploitation requires an integration to populate these fields from untrusted input and a user to consume the generated source; normal self-service web, AI assistant, CLI, and self-hosted API use does not cross that trust boundary, shared links cannot set the fields, and no code executes on a Wizard service. This issue affects generated-source integrity only and is fixed in versions 0.10.11, 3.0.1, 0.6.2, and 0.3.1 of the respective packages.
Vulnerability class: RCE (Remote Code Execution)
CVSS v3 metric
CVSS v3 base score 3.3 (Low). Vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N.
Affected products
- @Openzeppelin Wizard — versions < 0.10.11
- @Openzeppelin Wizard-cairo — versions < 3.0.1
- @Openzeppelin Wizard-stellar — versions < 0.6.2
- @Openzeppelin Wizard-stylus — versions < 0.3.1
- Openzeppelin Contracts-wizard — versions < 0.10.11
Weakness classification (CWE)
References
- security-advisories@github.com (x_refsource_CONFIRM)
- security-advisories@github.com (x_refsource_MISC)
- security-advisories@github.com (x_refsource_MISC)
- security-advisories@github.com (x_refsource_MISC)
- security-advisories@github.com (x_refsource_MISC)
- security-advisories@github.com (x_refsource_MISC)
- security-advisories@github.com (x_refsource_MISC)
Frequently asked questions
- What is CVE-2026-57583?
- CVE-2026-57583 is a low-severity vulnerability in @Openzeppelin Wizard, classified under Code Injection. CVSS score: 3.3/10. Published 2026-09-14.
- How severe is CVE-2026-57583?
- Low severity. CVSS v3 base score is 3.3 out of 10.