Skip to main content

Redocly CLI CVE-2026-63325

| EUVDEUVD-2026-81012 HIGH
Code Injection (CWE-94)
2026-09-16 security-advisories@github.com
7.8
CVSS 3.1 · Vendor: github
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Craft Arazzo description with malicious $faker expression
  2. Delivery
    Deliver via PR, shared workflow, or untrusted repo
  3. Exploit
    Victim runs `redocly respect` on the file
  4. Execution
    Function constructor evaluates payload
  5. Impact
    Execute shell commands / exfiltrate CI secrets

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Code injection prevention, sandbox exec
MITRE ATT&CK

2 techniques across 2 tactics: Execution, Initial Access

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Requires that a user or CI pipeline run the Redocly respect command (Arazzo workflow testing) against an untrusted, attacker-supplied Arazzo description containing a crafted $faker runtime expression, on @redocly/respect-core or @redocly/cli before version 2.33.0. Exploitation is explicitly limited to processing untrusted descriptions - users who only run self-authored, trusted workflows are not affected. Limiting factors: local vector (the malicious file must be processed on the host), required user interaction (the victim must invoke the respect command), and the fact that impact is bounded by the CLI process's privileges (notably dangerous in CI where secrets are exposed).

Impact

The vendor CVSS 3.1 vector (AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H, 7.8 High) is internally consistent and I broadly agree with it. This is a genuine arbitrary-code-execution flaw (CWE-94): crafted $faker expressions in Arazzo descriptions traverse constructor/prototype/__proto__ to reach the JavaScript Function constructor and run arbitrary code with the CLI process's privileges. The local vector (AV:L) and required user interaction (UI:R) are correct - exploitation is not a remote unauthenticated network attack; a victim must actively run the respect command against an attacker-supplied description, so this is a supply-chain / untrusted-input processing risk rather than an internet-facing exposure. No EPSS score, KEV listing, or SSVC decision data was provided, and no standalone public exploit was supplied (the fix commit ships regression tests containing payload strings, but these are defensive test cases, not weaponized exploit code). Net assessment: a real and serious issue for CI/CD pipelines and developers who lint or test third-party OpenAPI/Arazzo descriptions, but the UI:R + local-processing gate and the 'trusted self-authored workflows are not affected' caveat keep real-world mass-exploitation risk moderate rather than critical. No conflicting signals in the data; the main missing signals are EPSS/KEV/SSVC.

Exploit ScenarioDerived

An attacker publishes or contributes an Arazzo workflow description containing a crafted $faker expression such as $faker.constructor.constructor('...')(). When a developer or a CI pipeline runs redocly respect against that untrusted description, the expression evaluator reaches the Function constructor and executes attacker JavaScript with the CLI process's privileges - enabling shell command execution or theft of CI secrets. No standalone public exploit was provided, though the patch's regression tests demonstrate the exact escape payloads.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 0.2% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Sep 16, 2026

Arbitrary code execution in Redocly CLI and @redocly/respect-core before version 2.33.0 allows a crafted Arazzo description to run attacker-controlled JavaScript with the privileges of the CLI process. The flaw lives in the respect command's $faker runtime-expression evaluator (get-value-from-context.ts), which permits property traversal through constructor, prototype, and __proto__ to reach the JavaScript Function constructor; because the vector is local (AV:L) with required user interaction (UI:R, PR:N), a victim or CI job must actually process an untrusted, attacker-supplied workflow description for exploitation to occur. Impact is high in CI environments, where the injected code can execute shell commands or read pipeline secrets, while users who only run trusted, self-authored workflows are unaffected; no public exploit code was identified at the time of analysis, but a patch exists in 2.33.0.

RemediationAI

Vendor-released patch: upgrade @redocly/respect-core and @redocly/cli to 2.33.0 (or, for consumers pinned to the 1.x line of respect-core, to the referenced 1.34.17 release), as documented in GHSA-xw2f-5386-m542 and the corresponding release tags; the fix commit d26d452368066be1400f43cea915dd9ea508e18b and PRs 2881/2922 harden get-value-from-context.ts so constructor/prototype/__proto__ traversal no longer resolves. Until upgrade is possible, the most effective control is to never run respect against untrusted or third-party Arazzo descriptions - treat workflow files as executable code and require review before execution, accepting that this depends on human discipline and breaks any workflow that must consume externally sourced descriptions. Where untrusted descriptions must be processed, run the CLI in an isolated container with a read-only filesystem, no host mounts, and no CI secrets in its environment (use short-lived, least-privilege credentials and a job-scoped token), which limits post-exploitation reach but does not prevent code execution itself. A secondary detection measure is to grep incoming Arazzo files and reject $faker expressions containing constructor, prototype, or __proto__; this is a brittle signature-based filter that determined attackers can trivially obfuscate, so it is a stopgap, not a substitute for patching. No public exploit code was identified at the time of analysis, so no exploitation-based prioritization is available; prioritize upgrade in CI pipelines that process externally supplied workflow files.

Affected VersionsENISA

redocly-cli < 1.34.17
redocly-cli 2.0.0, < 2.33.0

Affected Packages

euvd redocly_cli fix: 1.34.17, 2.33.0

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

Redocly CLI's respect subcommand executes Arazzo workflow descriptions, and those descriptions support $faker runtime expressions that are dynamically resolved at run time. The resolver in packages/respect-core/src/modules/context-parser/get-value-from-context.ts walks dotted/bracketed property paths against the runtime context without blocking access to inherited and intrinsic object properties. This is a classic CWE-94 (Improper Control of Generation of Code / code injection) root cause: an attacker-supplied pointer such as $faker.constructor.constructor('...')() - or the bracket-notation equivalent $faker.string["constructor"]["constructor"](...)() - escapes the faker object, reaches the global Function constructor, and compiles/executes arbitrary JavaScript inside the Node.js CLI process. The upstream fix commit (d26d452368066be1400f43cea915dd9ea508e18b) and PRs 2881/2922 add regression tests confirming that $faker.constructor, $faker.__proto__, and constructor-chain payloads now resolve to undefined, and also repair argument parsing so that floats and dotted/string arguments (e.g. $faker.number.float({ min: 0.5, max: 1.5 }), $faker.string.email(...)) are handled without the dot-splitting logic being confused. The underlying technology is Node.js/TypeScript running in a CLI or CI runner context, where the process environment commonly holds API tokens, registry credentials, and cloud secrets - hence C:H/I:H/A:H despite the local attack vector.

Know when the next one hits your stack

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (github) PRIMARY 7.8 HIGH
AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
vuln.today AI 7.8 HIGH

Arbitrary code execution via untrusted local file processing: AV:L and UI:R because the victim must run respect on an attacker-supplied description; PR:N as no auth needed; full C/I/A:H from RCE.

3.1 AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
4.0 AV:L/AC:L/AT:N/PR:N/UI:A/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N

Primary rating from Vendor (github).

CVSS VectorVendor: github

Attack Vector
Local
Attack Complexity
Low
Privileges Required
None
User Interaction
Required
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High

Lifecycle Timeline

2
Patch available
Sep 16, 2026 - 20:18 EUVD
CVE Published
Sep 16, 2026 - 19:17 cve.org
HIGH 7.8

DescriptionCVE.org

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.

Technical POC Analysis

CWE-94 (code injection), with CWE-95 (eval injection) also assigned.

Full technical POC analysis - root cause, step-by-step exploitation and patch breakdown - is part of the Pro and Business plans.

Executive ViewAI

Why It Matters

Redocly CLI and the @redocly/respect-core package prior to version 2.33.0 contain an arbitrary code execution flaw that lets a malicious Arazzo workflow description run attacker-controlled JavaScript with the full privileges of the CLI process. The risk concentrates in build pipelines and developer workstations that process third-party or externally sourced API workflow files, where injected code could execute shell commands or expose pipeline credentials and secrets; teams using only self-authored, trusted workflows are largely unaffected. Because exploitation requires a user or automated job to open an untrusted workflow description, the exposure is driven by how broadly untrusted specification content is consumed across the engineering organization, and no public exploit code was identified at the time of analysis.

Business Impact: High
Compensating Controls

Apply vendor patch.

Threat Intelligence Overview

EPSS Score
0.2%
Top 89% exploitable
Prevalence
Medium
popular OpenAPI/Redocly CLI tooling, but vulnerable `respect`/Arazzo command is niche
Data Quality
6 sources
Confidence: High

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS 0.2%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation· derived
None
System Exposure· derived
Small
Automatable· derived
No
Human Impact
High

Priority Score

39
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +39
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Code Injection CRITICAL

Code injection occurs when an application accepts user input and passes it directly into a language interpreter or evaluator without proper sanitization.

Remote Code Execution represents the critical moment when an attacker successfully runs arbitrary code on a target system without physical access.

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy