Skip to main content

CVE-2026-63325: CWE-94: Improper Control of Generation of Code ('Code Injection') in Redocly redocly-cli

0
High
VulnerabilityCVE-2026-63325cvecve-2026-63325cwe-94cwe-95
Published: 09/16/2026 (09/16/2026, 19:07:44 UTC)
Source: CVE Database V5
Vendor/Project: Redocly
Product: 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

Attack Vector
Local
Attack Complexity
Low
Privileges Required
None
User Interaction
Required
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

Affected software

Redocly

redocly-cli

Affected versions
<1.34.17>=2.0.0 <2.33.0

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 09/16/2026, 19:31:31 UTC

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.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

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 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

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

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses