CVE-2026-57583Openzeppelin Contracts-wizard code injection
CVSS score
3.3
Low
CVSS 3.1 from github.com
Exploit probability (EPSS)
0.19%
0.19% chance of exploitation in the next 30 days, higher than 8.29% of all CVEs.
CISA KEV
Not in KEV
No confirmed exploitation reported by CISA so far.
Official description
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.
Source: NVD · CNA: security-advisories@github.com
How to fix it, step by step
Check whether you're affected
Find every system running @openzeppelin Contracts-wizard, @openzeppelin Wizard-cairo, @openzeppelin Wizard-stellar, @openzeppelin Wizard-stylus and compare its version with the affected versions.
Update to a fixed version
- Update Contracts-wizard to 0.10.11 or later.
- Update Wizard-cairo to 3.0.1 or later.
- Update Wizard-stellar to 0.6.2 or later.
- Update Wizard-stylus to 0.3.1 or later.
Confirm the fix
Check that every affected system now reports a fixed version, and recheck the vendor's advisory: fixes are sometimes revised.
Was this useful?
How it can be exploited
- Attack vector
- Local
- Attack complexity
- Low
- Privileges required
- None
- User interaction
- Required
- Scope
- Unchanged
- Confidentiality
- None
- Integrity
- Low
- Availability
- None
Values in red make the vulnerability easier to exploit or more damaging. CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N
Affected products
| Affected products | Versions |
|---|---|
| @openzeppelin Contracts-wizard | < 0.10.11 |
| @openzeppelin Wizard | < 0.10.11 |
| @openzeppelin Wizard-cairo | < 3.0.1 |
| @openzeppelin Wizard-stellar | < 0.6.2 |
| @openzeppelin Wizard-stylus | < 0.3.1 |
Frequently asked questions
Is CVE-2026-57583 being exploited?
There is no confirmed exploitation in CISA's KEV catalog so far. Its EPSS score estimates a 0.2% probability of exploitation in the next 30 days.
What is the CVSS score of CVE-2026-57583?
CVE-2026-57583 has a CVSS 3.1 base score of 3.3 (low).
Which versions are affected?
Openzeppelin Contracts-wizard (< 0.10.11), Openzeppelin Wizard (< 0.10.11), Openzeppelin Wizard-cairo (< 3.0.1), Openzeppelin Wizard-stellar (< 0.6.2), Openzeppelin Wizard-stylus (< 0.3.1)
Is there a patch for CVE-2026-57583?
The official record links to vendor advisories or patches; see “What to do” above.
References
- github.com/OpenZeppelin/contracts-wizard/commit/6b18ecbd727a22d9f8c592e5d56caa2e977fb225
- github.com/OpenZeppelin/contracts-wizard/pull/818
- github.com/OpenZeppelin/contracts-wizard/releases/tag/@openzeppelin/wizard-cairo@3.0.1
- github.com/OpenZeppelin/contracts-wizard/releases/tag/@openzeppelin/wizard-stellar@0.6.2
- github.com/OpenZeppelin/contracts-wizard/releases/tag/@openzeppelin/wizard-stylus@0.3.1
- github.com/OpenZeppelin/contracts-wizard/releases/tag/@openzeppelin/wizard@0.10.11
- github.com/OpenZeppelin/contracts-wizard/security/advisories/GHSA-9wxg-vf3r-56hc
Data: NVD, CVE.org (cvelistV5), CISA KEV and FIRST EPSS. Summary written by RedCVE with AI assistance from the official data.