Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessCraft Arazzo description with malicious $faker expression
-
DeliveryDeliver via PR, shared workflow, or untrusted repo
-
ExploitVictim runs `redocly respect` on the file
-
ExecutionFunction constructor evaluates payload
-
ImpactExecute 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 |
| 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 |
| Exploit ScenarioDerived | An attacker publishes or contributes an Arazzo workflow description containing a crafted $faker expression such as |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – 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
Affected Packages
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
AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
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.
Primary rating from Vendor (github).
CVSS VectorVendor: github
Lifecycle Timeline
2DescriptionCVE.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
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.
Apply vendor patch.
Threat Intelligence Overview
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.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
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.
EUVD-2026-81012
NVD
CVE.org
EPSS
GitHub
VulDB
Exploit-DB