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.
References6
- github.com/Redocly/redocly-cli/commit/d26d452368066be1400f43cea…
- github.com/Redocly/redocly-cli/pull/2881
- github.com/Redocly/redocly-cli/pull/2922
- github.com/Redocly/redocly-cli/releases/tag/@redocly/respect-co…
- github.com/Redocly/redocly-cli/releases/tag/@redocly/respect-co…
- github.com/Redocly/redocly-cli/security/advisories/GHSA-xw2f-53…
Metrics
- CVSS 3.1
-
7.8
HIGH
Score source: CNA
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H - EPSS — exploit probability
- 0% percentile: 13 · as of 8 November 2026
- CWE
- CWE-94CWE-95
Could this be exploited in your environment?
A patch closes the known hole. A penetration test shows what an attacker can still reach — with proof.