Read the docs
TI-2021-22724 Aliases GHSA-q324-q795-2q5p

Path traversal when using `preview-docs` when working dir contains files with question mark `?` in name

Priority LOW 38Published · Updated

Key facts

Attack vector
—
Privileges required
—
User interaction
—
Attack complexity
—
Impact type
—
Confidentiality · integrity · availability
—
Fix status
Fixed

No CVSS vector from any source. Fix status from GitHub.

Summary

### Impact `preview-docs` command allows path traversal if current working dir contains files with question mark `?` in name and attacker knows the name. ### Patches It was patched starting from 1.0.0-beta.59 ### Workarounds Do not run openapi-cli preview-docs command in the folder which contains files with question mark `?` in name. ### References https://github.com/Redocly/openapi-cli/pull/347 ### For more information If you have any questions or comments about this advisory: * Open an issue in [@redocly/openapi-cli](https://github.com/Redocly/openapi-cli) * Email us at [[email protected]](mailto:[email protected])

Why it matters now

Fix Fixed @redocly/openapi-cli (npm): 1.0.0-beta.59

SSVC decision points

Not available: CISA has not published SSVC decision points for this record.

Affected products

VendorProductAffected versionsFixed inStatusSource
—@redocly/openapi-cli (npm)before 1.0.0-beta.591.0.0-beta.59Patch availableGHSA-q324-q795-2q5p
  • @redocly/openapi-cli (npm) Vendor— Affected before 1.0.0-beta.59 Fixed in 1.0.0-beta.59 Patch available GHSA-q324-q795-2q5p

Remediation

  • Fix · GHSA-q324-q795-2q5p @redocly/openapi-cli (npm) Fixed in 1.0.0-beta.59 Advisory →

Timeline

  1. 2026-10-03 Threatist record created from GHSA-q324-q795-2q5p

References

Sources

This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences