Security mailing lists by PureSourceCode

GHSA-q324-q795-2q5p

LOW

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

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:

Published
12 Oct 2021
Last modified
11 Oct 2021
Sources
OSVJSON

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
OSV npm @redocly/openapi-cli < 1.0.0-beta.59 1.0.0-beta.59

References

History

  • 25 Nov 2026 20:11 UTC · OSV: first stored (published 12 Oct 2021)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.