Refine your search

2 vulnerabilities found for redocly-cli by Redocly

CVE-2026-63225 (GCVE-0-2026-63225)
Vulnerability from cvelistv5
Published
2026-09-16 19:09
Modified
2026-09-17 16:13
CWE
  • CWE-22 - Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')
  • CWE-73 - External Control of File Name or Path
Summary
Redocly CLI makes OpenAPI validation, linting, and documentation workflows easier. Prior to @redocly/cli 2.33.2, the split command constructs output paths under --outDir from untrusted OpenAPI or AsyncAPI component names and x-codeSamples lang values without verifying that the resolved target remains inside the selected directory. A description containing literal ../ traversal segments in those fields can cause the split command to place or overwrite files outside --outDir. Component data remains constrained to YAML or JSON, and code-sample filenames remain based on the HTTP method, so this is not an unrestricted arbitrary-content file write. This issue is fixed in @redocly/cli version 2.33.2.
Impacted products
Vendor Product Version
Redocly redocly-cli Version: < 1.34.17
Version: >= 2.0.0, < 2.33.2
Create a notification for this product.
Show details on NVD website


{
  "containers": {
    "adp": [
      {
        "metrics": [
          {
            "other": {
              "content": {
                "id": "CVE-2026-63225",
                "options": [
                  {
                    "Exploitation": "none"
                  },
                  {
                    "Automatable": "no"
                  },
                  {
                    "Technical Impact": "partial"
                  }
                ],
                "role": "CISA Coordinator",
                "timestamp": "2026-09-17T16:13:39.074016Z",
                "version": "2.0.3"
              },
              "type": "ssvc"
            }
          }
        ],
        "providerMetadata": {
          "dateUpdated": "2026-09-17T16:13:49.405Z",
          "orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
          "shortName": "CISA-ADP"
        },
        "title": "CISA ADP Vulnrichment"
      }
    ],
    "cna": {
      "affected": [
        {
          "product": "redocly-cli",
          "vendor": "Redocly",
          "versions": [
            {
              "status": "affected",
              "version": "\u003c 1.34.17"
            },
            {
              "status": "affected",
              "version": "\u003e= 2.0.0, \u003c 2.33.2"
            }
          ]
        }
      ],
      "descriptions": [
        {
          "lang": "en",
          "value": "Redocly CLI makes OpenAPI validation, linting, and documentation workflows easier. Prior to @redocly/cli 2.33.2, the split command constructs output paths under --outDir from untrusted OpenAPI or AsyncAPI component names and x-codeSamples lang values without verifying that the resolved target remains inside the selected directory. A description containing literal ../ traversal segments in those fields can cause the split command to place or overwrite files outside --outDir. Component data remains constrained to YAML or JSON, and code-sample filenames remain based on the HTTP method, so this is not an unrestricted arbitrary-content file write. This issue is fixed in @redocly/cli version 2.33.2."
        }
      ],
      "metrics": [
        {
          "cvssV3_1": {
            "attackComplexity": "LOW",
            "attackVector": "LOCAL",
            "availabilityImpact": "LOW",
            "baseScore": 4.4,
            "baseSeverity": "MEDIUM",
            "confidentialityImpact": "NONE",
            "integrityImpact": "LOW",
            "privilegesRequired": "NONE",
            "scope": "UNCHANGED",
            "userInteraction": "REQUIRED",
            "vectorString": "CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:L",
            "version": "3.1"
          }
        }
      ],
      "problemTypes": [
        {
          "descriptions": [
            {
              "cweId": "CWE-22",
              "description": "CWE-22: Improper Limitation of a Pathname to a Restricted Directory (\u0027Path Traversal\u0027)",
              "lang": "en",
              "type": "CWE"
            }
          ]
        },
        {
          "descriptions": [
            {
              "cweId": "CWE-73",
              "description": "CWE-73: External Control of File Name or Path",
              "lang": "en",
              "type": "CWE"
            }
          ]
        }
      ],
      "providerMetadata": {
        "dateUpdated": "2026-09-16T19:09:00.593Z",
        "orgId": "a0819718-46f1-4df5-94e2-005712e83aaa",
        "shortName": "GitHub_M"
      },
      "references": [
        {
          "name": "https://github.com/Redocly/redocly-cli/security/advisories/GHSA-657c-g7qc-r9j2",
          "tags": [
            "x_refsource_CONFIRM"
          ],
          "url": "https://github.com/Redocly/redocly-cli/security/advisories/GHSA-657c-g7qc-r9j2"
        },
        {
          "name": "https://github.com/Redocly/redocly-cli/pull/2891",
          "tags": [
            "x_refsource_MISC"
          ],
          "url": "https://github.com/Redocly/redocly-cli/pull/2891"
        },
        {
          "name": "https://github.com/Redocly/redocly-cli/pull/2923",
          "tags": [
            "x_refsource_MISC"
          ],
          "url": "https://github.com/Redocly/redocly-cli/pull/2923"
        },
        {
          "name": "https://github.com/Redocly/redocly-cli/commit/26a0f299fae0b3bb7bd513043d2f1e90e69f79ee",
          "tags": [
            "x_refsource_MISC"
          ],
          "url": "https://github.com/Redocly/redocly-cli/commit/26a0f299fae0b3bb7bd513043d2f1e90e69f79ee"
        },
        {
          "name": "https://github.com/Redocly/redocly-cli/commit/504120419a72b5c684471478337ee3b45d8bfad3",
          "tags": [
            "x_refsource_MISC"
          ],
          "url": "https://github.com/Redocly/redocly-cli/commit/504120419a72b5c684471478337ee3b45d8bfad3"
        },
        {
          "name": "https://github.com/Redocly/redocly-cli/releases/tag/@redocly/cli@1.34.17",
          "tags": [
            "x_refsource_MISC"
          ],
          "url": "https://github.com/Redocly/redocly-cli/releases/tag/@redocly/cli@1.34.17"
        },
        {
          "name": "https://github.com/Redocly/redocly-cli/releases/tag/@redocly/cli@2.33.2",
          "tags": [
            "x_refsource_MISC"
          ],
          "url": "https://github.com/Redocly/redocly-cli/releases/tag/@redocly/cli@2.33.2"
        }
      ],
      "source": {
        "advisory": "GHSA-657c-g7qc-r9j2",
        "discovery": "UNKNOWN"
      },
      "title": "Redocly CLI: Path traversal when using `split` command"
    }
  },
  "cveMetadata": {
    "assignerOrgId": "a0819718-46f1-4df5-94e2-005712e83aaa",
    "assignerShortName": "GitHub_M",
    "cveId": "CVE-2026-63225",
    "datePublished": "2026-09-16T19:09:00.593Z",
    "dateReserved": "2026-07-15T22:19:06.907Z",
    "dateUpdated": "2026-09-17T16:13:49.405Z",
    "state": "PUBLISHED"
  },
  "dataType": "CVE_RECORD",
  "dataVersion": "5.2"
}

CVE-2026-63325 (GCVE-0-2026-63325)
Vulnerability from cvelistv5
Published
2026-09-16 19:07
Modified
2026-09-18 18:23
CWE
  • CWE-94 - Improper Control of Generation of Code ('Code Injection')
  • CWE-95 - Improper Neutralization of Directives in Dynamically Evaluated Code ('Eval Injection')
Summary
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.
Impacted products
Vendor Product Version
Redocly redocly-cli Version: < 1.34.17
Version: >= 2.0.0, < 2.33.0
Create a notification for this product.
Show details on NVD website


{
  "containers": {
    "adp": [
      {
        "metrics": [
          {
            "other": {
              "content": {
                "id": "CVE-2026-63325",
                "options": [
                  {
                    "Exploitation": "none"
                  },
                  {
                    "Automatable": "no"
                  },
                  {
                    "Technical Impact": "total"
                  }
                ],
                "role": "CISA Coordinator",
                "timestamp": "2026-09-18T18:23:29.193107Z",
                "version": "2.0.3"
              },
              "type": "ssvc"
            }
          }
        ],
        "providerMetadata": {
          "dateUpdated": "2026-09-18T18:23:39.395Z",
          "orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
          "shortName": "CISA-ADP"
        },
        "title": "CISA ADP Vulnrichment"
      }
    ],
    "cna": {
      "affected": [
        {
          "product": "redocly-cli",
          "vendor": "Redocly",
          "versions": [
            {
              "status": "affected",
              "version": "\u003c 1.34.17"
            },
            {
              "status": "affected",
              "version": "\u003e= 2.0.0, \u003c 2.33.0"
            }
          ]
        }
      ],
      "descriptions": [
        {
          "lang": "en",
          "value": "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."
        }
      ],
      "metrics": [
        {
          "cvssV3_1": {
            "attackComplexity": "LOW",
            "attackVector": "LOCAL",
            "availabilityImpact": "HIGH",
            "baseScore": 7.8,
            "baseSeverity": "HIGH",
            "confidentialityImpact": "HIGH",
            "integrityImpact": "HIGH",
            "privilegesRequired": "NONE",
            "scope": "UNCHANGED",
            "userInteraction": "REQUIRED",
            "vectorString": "CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H",
            "version": "3.1"
          }
        }
      ],
      "problemTypes": [
        {
          "descriptions": [
            {
              "cweId": "CWE-94",
              "description": "CWE-94: Improper Control of Generation of Code (\u0027Code Injection\u0027)",
              "lang": "en",
              "type": "CWE"
            }
          ]
        },
        {
          "descriptions": [
            {
              "cweId": "CWE-95",
              "description": "CWE-95: Improper Neutralization of Directives in Dynamically Evaluated Code (\u0027Eval Injection\u0027)",
              "lang": "en",
              "type": "CWE"
            }
          ]
        }
      ],
      "providerMetadata": {
        "dateUpdated": "2026-09-16T19:07:44.847Z",
        "orgId": "a0819718-46f1-4df5-94e2-005712e83aaa",
        "shortName": "GitHub_M"
      },
      "references": [
        {
          "name": "https://github.com/Redocly/redocly-cli/security/advisories/GHSA-xw2f-5386-m542",
          "tags": [
            "x_refsource_CONFIRM"
          ],
          "url": "https://github.com/Redocly/redocly-cli/security/advisories/GHSA-xw2f-5386-m542"
        },
        {
          "name": "https://github.com/Redocly/redocly-cli/pull/2881",
          "tags": [
            "x_refsource_MISC"
          ],
          "url": "https://github.com/Redocly/redocly-cli/pull/2881"
        },
        {
          "name": "https://github.com/Redocly/redocly-cli/pull/2922",
          "tags": [
            "x_refsource_MISC"
          ],
          "url": "https://github.com/Redocly/redocly-cli/pull/2922"
        },
        {
          "name": "https://github.com/Redocly/redocly-cli/commit/d26d452368066be1400f43cea915dd9ea508e18b",
          "tags": [
            "x_refsource_MISC"
          ],
          "url": "https://github.com/Redocly/redocly-cli/commit/d26d452368066be1400f43cea915dd9ea508e18b"
        },
        {
          "name": "https://github.com/Redocly/redocly-cli/releases/tag/@redocly/respect-core@1.34.17",
          "tags": [
            "x_refsource_MISC"
          ],
          "url": "https://github.com/Redocly/redocly-cli/releases/tag/@redocly/respect-core@1.34.17"
        },
        {
          "name": "https://github.com/Redocly/redocly-cli/releases/tag/@redocly/respect-core@2.33.0",
          "tags": [
            "x_refsource_MISC"
          ],
          "url": "https://github.com/Redocly/redocly-cli/releases/tag/@redocly/respect-core@2.33.0"
        }
      ],
      "source": {
        "advisory": "GHSA-xw2f-5386-m542",
        "discovery": "UNKNOWN"
      },
      "title": "Redocly CLI: Arbitrary code execution via Arazzo `$faker` expression using `respect`"
    }
  },
  "cveMetadata": {
    "assignerOrgId": "a0819718-46f1-4df5-94e2-005712e83aaa",
    "assignerShortName": "GitHub_M",
    "cveId": "CVE-2026-63325",
    "datePublished": "2026-09-16T19:07:44.847Z",
    "dateReserved": "2026-07-16T14:14:24.384Z",
    "dateUpdated": "2026-09-18T18:23:39.395Z",
    "state": "PUBLISHED"
  },
  "dataType": "CVE_RECORD",
  "dataVersion": "5.2"
}