CVE-2026-63325 Redocly CLI: Arbitrary code execution via Arazzo `$faker` expression using `respect`
설명
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.
영향 받는 제품 제품 1개
-
해결 버전 있음
Redocly
redocly-cli
영향 받는 버전
- 1.34.17 미만
- 2.0.0 이상 2.33.0 미만
해결 버전
- 1.34.17 이상
- 2.33.0 이상
참고 자료 6건
- github.com https://github.com/Redocly/redocly-cli/commit/d26d452368066be1400f43cea915dd9ea508e18b (새 창)
- github.com https://github.com/Redocly/redocly-cli/pull/2881 (새 창)
- github.com https://github.com/Redocly/redocly-cli/pull/2922 (새 창)
- github.com https://github.com/Redocly/redocly-cli/releases/tag/@redocly/respect-core@1.34.17 (새 창)
- github.com https://github.com/Redocly/redocly-cli/releases/tag/@redocly/respect-core@2.33.0 (새 창)
- github.com https://github.com/Redocly/redocly-cli/security/advisories/GHSA-xw2f-5386-m542 (새 창)