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",
  "vulnerability-lookup:meta": {
    "vulnrichment": {
      "containers": "{\"cna\": {\"title\": \"Redocly CLI: Path traversal when using `split` command\", \"source\": {\"advisory\": \"GHSA-657c-g7qc-r9j2\", \"discovery\": \"UNKNOWN\"}, \"metrics\": [{\"cvssV3_1\": {\"scope\": \"UNCHANGED\", \"version\": \"3.1\", \"baseScore\": 4.4, \"attackVector\": \"LOCAL\", \"baseSeverity\": \"MEDIUM\", \"vectorString\": \"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:L\", \"integrityImpact\": \"LOW\", \"userInteraction\": \"REQUIRED\", \"attackComplexity\": \"LOW\", \"availabilityImpact\": \"LOW\", \"privilegesRequired\": \"NONE\", \"confidentialityImpact\": \"NONE\"}}], \"affected\": [{\"vendor\": \"Redocly\", \"product\": \"redocly-cli\", \"versions\": [{\"status\": \"affected\", \"version\": \"\u003c 1.34.17\"}, {\"status\": \"affected\", \"version\": \"\u003e= 2.0.0, \u003c 2.33.2\"}]}], \"references\": [{\"url\": \"https://github.com/Redocly/redocly-cli/security/advisories/GHSA-657c-g7qc-r9j2\", \"name\": \"https://github.com/Redocly/redocly-cli/security/advisories/GHSA-657c-g7qc-r9j2\", \"tags\": [\"x_refsource_CONFIRM\"]}, {\"url\": \"https://github.com/Redocly/redocly-cli/pull/2891\", \"name\": \"https://github.com/Redocly/redocly-cli/pull/2891\", \"tags\": [\"x_refsource_MISC\"]}, {\"url\": \"https://github.com/Redocly/redocly-cli/pull/2923\", \"name\": \"https://github.com/Redocly/redocly-cli/pull/2923\", \"tags\": [\"x_refsource_MISC\"]}, {\"url\": \"https://github.com/Redocly/redocly-cli/commit/26a0f299fae0b3bb7bd513043d2f1e90e69f79ee\", \"name\": \"https://github.com/Redocly/redocly-cli/commit/26a0f299fae0b3bb7bd513043d2f1e90e69f79ee\", \"tags\": [\"x_refsource_MISC\"]}, {\"url\": \"https://github.com/Redocly/redocly-cli/commit/504120419a72b5c684471478337ee3b45d8bfad3\", \"name\": \"https://github.com/Redocly/redocly-cli/commit/504120419a72b5c684471478337ee3b45d8bfad3\", \"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@1.34.17\", \"tags\": [\"x_refsource_MISC\"]}, {\"url\": \"https://github.com/Redocly/redocly-cli/releases/tag/@redocly/cli@2.33.2\", \"name\": \"https://github.com/Redocly/redocly-cli/releases/tag/@redocly/cli@2.33.2\", \"tags\": [\"x_refsource_MISC\"]}], \"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.\"}], \"problemTypes\": [{\"descriptions\": [{\"lang\": \"en\", \"type\": \"CWE\", \"cweId\": \"CWE-22\", \"description\": \"CWE-22: Improper Limitation of a Pathname to a Restricted Directory (\u0027Path Traversal\u0027)\"}]}, {\"descriptions\": [{\"lang\": \"en\", \"type\": \"CWE\", \"cweId\": \"CWE-73\", \"description\": \"CWE-73: External Control of File Name or Path\"}]}], \"providerMetadata\": {\"orgId\": \"a0819718-46f1-4df5-94e2-005712e83aaa\", \"shortName\": \"GitHub_M\", \"dateUpdated\": \"2026-09-16T19:09:00.593Z\"}}, \"adp\": [{\"title\": \"CISA ADP Vulnrichment\", \"metrics\": [{\"other\": {\"type\": \"ssvc\", \"content\": {\"id\": \"CVE-2026-63225\", \"role\": \"CISA Coordinator\", \"options\": [{\"Exploitation\": \"none\"}, {\"Automatable\": \"no\"}, {\"Technical Impact\": \"partial\"}], \"version\": \"2.0.3\", \"timestamp\": \"2026-09-17T16:13:39.074016Z\"}}}], \"providerMetadata\": {\"shortName\": \"CISA-ADP\", \"orgId\": \"134c704f-9b21-4f2e-91b3-4a467353bcc0\", \"dateUpdated\": \"2026-09-17T16:13:44.635Z\"}}]}",
      "cveMetadata": "{\"cveId\": \"CVE-2026-63225\", \"state\": \"PUBLISHED\", \"dateUpdated\": \"2026-09-16T19:09:00.593Z\", \"dateReserved\": \"2026-07-15T22:19:06.907Z\", \"assignerOrgId\": \"a0819718-46f1-4df5-94e2-005712e83aaa\", \"datePublished\": \"2026-09-16T19:09:00.593Z\", \"assignerShortName\": \"GitHub_M\"}",
      "dataType": "CVE_RECORD",
      "dataVersion": "5.2"
    }
  }
}


Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Sightings

Author Source Type Date

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or seen somewhere by the user.
  • Confirmed: The vulnerability is confirmed from an analyst perspective.
  • Published Proof of Concept: A public proof of concept is available for this vulnerability.
  • Exploited: This vulnerability was exploited and seen by the user reporting the sighting.
  • Patched: This vulnerability was successfully patched by the user reporting the sighting.
  • Not exploited: This vulnerability was not exploited or seen by the user reporting the sighting.
  • Not confirmed: The user expresses doubt about the veracity of the vulnerability.
  • Not patched: This vulnerability was not successfully patched by the user reporting the sighting.


Loading…

Loading…