CVE-2026-63325: CWE-94: Improper Control of Generation of Code ('Code Injection') in Redocly redocly-cli
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.
AI Analysis
Technical Summary
Redocly CLI versions before 2.33.0 dynamically evaluate $faker runtime expressions in Arazzo descriptions. A crafted expression can exploit traversal of constructor, prototype, or __proto__ properties in the context parser to reach the JavaScript Function constructor, enabling arbitrary code execution. This code runs with the privileges of the CLI process, potentially allowing execution of shell commands or access to sensitive CI secrets. The vulnerability is addressed by fixing the evaluation mechanism in @redocly/respect-core and @redocly/cli version 2.33.0.
Potential Impact
An attacker who can supply a malicious Arazzo description to a vulnerable Redocly CLI process can execute arbitrary code with the same privileges as the CLI. This includes running shell commands and reading sensitive information such as CI secrets. The vulnerability requires user interaction (processing of the crafted description) and local or limited access to the CLI environment. Users who only process trusted, self-authored workflows are not impacted.
Mitigation Recommendations
Upgrade @redocly/respect-core and @redocly/cli to version 2.33.0 or later, where this vulnerability is fixed. Avoid processing untrusted or unauthenticated Arazzo descriptions with vulnerable versions. No other mitigations are specified.
CVE-2026-63325: CWE-94: Improper Control of Generation of Code ('Code Injection') in Redocly redocly-cli
Description
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.
CVSS v3.1
Score 7.8high
Affected software
Redocly
redocly-cli
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
Redocly CLI versions before 2.33.0 dynamically evaluate $faker runtime expressions in Arazzo descriptions. A crafted expression can exploit traversal of constructor, prototype, or __proto__ properties in the context parser to reach the JavaScript Function constructor, enabling arbitrary code execution. This code runs with the privileges of the CLI process, potentially allowing execution of shell commands or access to sensitive CI secrets. The vulnerability is addressed by fixing the evaluation mechanism in @redocly/respect-core and @redocly/cli version 2.33.0.
Potential Impact
An attacker who can supply a malicious Arazzo description to a vulnerable Redocly CLI process can execute arbitrary code with the same privileges as the CLI. This includes running shell commands and reading sensitive information such as CI secrets. The vulnerability requires user interaction (processing of the crafted description) and local or limited access to the CLI environment. Users who only process trusted, self-authored workflows are not impacted.
Mitigation Recommendations
Upgrade @redocly/respect-core and @redocly/cli to version 2.33.0 or later, where this vulnerability is fixed. Avoid processing untrusted or unauthenticated Arazzo descriptions with vulnerable versions. No other mitigations are specified.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- GitHub_M
- Date Reserved
- 2026-07-16T14:14:24.384Z
- Cvss Version
- 3.1
- State
- PUBLISHED
Threat ID: 6aaaeb3055bf5e2cf50ccfae
Added to database: 09/16/2026, 19:17:04 UTC
Last enriched: 09/16/2026, 19:31:31 UTC
Last updated: 09/17/2026, 03:40:24 UTC
Views: 11
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.