A vulnerability was found in litestar up to 2.10.0. It has been rated as critical. Affected by this issue is some unknown functionality of the file docs-preview.yml of the component Environment Variable Handler. The manipulation of the argument DOCS_PREVIEW_DEPLOY_TOKEN leads to os command injection.

This vulnerability is handled as CVE-2024-42370. The attack may be launched remotely. There is no exploit available.

It is recommended to apply a patch to fix this issue.