Vulnerability · Published Sep 16, 2026 · Assigned by GitHub_M
CVE-2026-63325Redocly CLI: Arbitrary code execution via Arazzo `$faker` expression using `respect`
High 7.8
In plain English
A high-severity code injection in redocly-cli from Redocly. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.2% (higher than 13% of all known vulnerabilities).
Official 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.
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| Redocly | redocly-cli | < 1.34.17>= 2.0.0, < 2.33.0 |
Weakness: CWE-94, CWE-95 · Vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
References
- https://github.com/Redocly/redocly-cli/security/advisories/GHSA-xw2f-5386-m542 x_refsource_CONFIRM
- https://github.com/Redocly/redocly-cli/pull/2881 x_refsource_MISC
- https://github.com/Redocly/redocly-cli/pull/2922 x_refsource_MISC
- https://github.com/Redocly/redocly-cli/commit/d26d452368066be1400f43cea915dd9ea508e18b x_refsource_MISC
- https://github.com/Redocly/redocly-cli/releases/tag/@redocly/respect-core@1.34.17 x_refsource_MISC
- https://github.com/Redocly/redocly-cli/releases/tag/@redocly/respect-core@2.33.0 x_refsource_MISC