Redocly CLI: Arbitrary code execution via Arazzo `$faker` expression using `respect`
Key facts
- Attack vector
- Local
- Privileges required
- None
- User interaction
- Required
- Attack complexity
- Low
- Impact type
- Code execution
- Confidentiality · integrity · availability
- High · High · High
- Fix status
- Fixed
Attack profile from CVSS 3.1 · CNA. Fix status from CNA. Impact type from CWE-94.
Summary
Redocly CLI makes OpenAPI validation, linting, and documentation workflows easier. Prior to version 2.33.0 of @redocly/respect-core and @redocly/cli, the respect command dynamically evaluates $faker runtime expressions in Arazzo descriptions. A crafted expression can traverse constructor, prototype, or __proto__ properties in packages/respect-core/src/modules/context-parser/get-value-from-context.ts, reach the JavaScript Function constructor, and execute arbitrary code when a user processes an untrusted description. The executed code runs with the privileges of the CLI process and can execute shell commands or read CI secrets. Users processing only trusted, self-authored workflows are not affected. This issue is fixed in @redocly/respect-core and @redocly/cli version 2.33.0.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- No
- Technical impact
- Total
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
Remediation
- Fix · CNA redocly-cli (Redocly) Fixed in 1.34.17, 2.33.0
Timeline
- 2026-10-02 Threatist record created from CVE-2026-63325
References
Other 6
- https://github.com/Redocly/redocly-cli/security/advisories/GHSA-xw2f-5386-m542
- https://github.com/Redocly/redocly-cli/pull/2881
- https://github.com/Redocly/redocly-cli/pull/2922
- https://github.com/Redocly/redocly-cli/commit/d26d452368066be1400f43cea915dd9ea508e18b
- https://github.com/Redocly/redocly-cli/releases/tag/@redocly/[email protected]
- https://github.com/Redocly/redocly-cli/releases/tag/@redocly/[email protected]
More Redocly vulnerabilities
- TI-2024-37791 A prototype pollution in the component Module.mergeObjects (redoc/bundles/redoc.lib.js:2)… CVSS 3.1HIGH 7.5
- TI-2026-45102 Redocly CLI: Path traversal when using `split` command CVSS 3.1MEDIUM 4.4
Sources
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences