{"id":"CVE-2024-42370","published":"2024-08-09T18:29:11Z","modified":"2024-08-19T21:05:05Z","title":"Litestar repository vulnerable to Environment Variable injection in `docs-preview.yml` workflow","vendor":"litestar-org","product":"litestar","tier":"tail","description":{"text":"Litestar is an Asynchronous Server Gateway Interface (ASGI) framework. In versions 2.10.0 and prior, Litestar's `docs-preview.yml` workflow is vulnerable to Environment Variable injection which may lead to secret exfiltration and repository manipulation. This issue grants a malicious actor the permission to write issues, read metadata, and write pull requests. In addition, the `DOCS_PREVIEW_DEPLOY_TOKEN` is exposed to the attacker. Commit 84d351e96aaa2a1338006d6e7221eded161f517b contains a fix for this issue.","provenance":"source","from":"CVE.org"},"cvss":{"score":8.3,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:L/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00651,"percentile":0.52154,"provenance":"source"},"cwes":[{"id":"CWE-78","name":"Improper Neutralization of Special Elements used in an OS Command"}],"references":[{"url":"https://github.com/litestar-org/litestar/security/advisories/GHSA-4hq2-rpgc-r8r7","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/litestar-org/litestar/commit/84d351e96aaa2a1338006d6e7221eded161f517b","tags":["x_refsource_MISC"]},{"url":"https://github.com/litestar-org/litestar/actions/runs/10081936962/job/27875077668#step:1:17","tags":["x_refsource_MISC"]},{"url":"https://github.com/litestar-org/litestar/blob/ffaf5616b19f6f0f4128209c8b49dbcb41568aa2/.github/workflows/docs-preview.yml","tags":["x_refsource_MISC"]}],"priority":{"score":21.2,"factors":[{"name":"EPSS percentile","points":10.43},{"name":"Public exploit code","points":5.0},{"name":"CVSS severity","points":5.81}]},"exploitSources":{"pocGithub":{"count":1,"skipped":0,"earliest":"2026-09-03","earliestUrl":"https://github.com/pvharmo2/gha-lab-ba8e0c4217","repos":[{"name":"pvharmo2/gha-lab-ba8e0c4217","url":"https://github.com/pvharmo2/gha-lab-ba8e0c4217","stars":0,"created":"2026-09-03"}]},"first":{"date":"2026-09-03","source":"PoC-in-GitHub","url":"https://github.com/pvharmo2/gha-lab-ba8e0c4217"},"provenance":"source"},"vendorSlug":"litestar-org","affectedVersions":[{"vendor":"litestar-org","product":"litestar","versions":["<= 2.10.0"]}],"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"partial","timestamp":"2024-08-12T15:02:38.424647Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2024-2492","exploited":false,"provenance":"source"}}