# CVE-2019-10799: OS Command Injection in compile-sass

- Severity: High 8.2 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 2.27%, higher than 83% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2020-02-24T17:42:03.000Z
- Modified: 2026-07-08T05:56:16.252Z
- Also known as: GHSA-79qm-h35f-hr77, SNYK-JS-COMPILESASS-551804
- Weaknesses: CWE-78
- Assigned by: snyk

## Description

compile-sass prior to 1.0.5 allows execution of arbritary commands. The function "setupCleanupOnExit(cssPath)" within "dist/index.js" is executed as part of the "rm" command without any sanitization.

(As written by CVE List.)

## Affected

- compile-sass: All versions prior to 1.0.5
- compile-sass (npm): before 1.0.5
- compile-sass_project compile-sass: before 1.0.5

## Every score

- GitHub: CVSS:3.1 9.8 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- NVD: CVSS:3.1 8.2 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:N`
- NVD: CVSS:2.0 8.5 High `AV:N/AC:L/Au:N/C:C/I:P/A:N`

## References

- <https://snyk.io/vuln/SNYK-JS-COMPILESASS-551804> (exploit, third-party-advisory, web)
- <https://github.com/eiskalteschatten/compile-sass/commit/d9ada7797ff93875b6466dea7a78768e90a0f8d2> (patch, third-party-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2019-10799> (advisory)
- <https://github.com/eiskalteschatten/compile-sass> (package)
- <https://snyk.io/vuln/SNYK-JS-RPI-548942> (web)

## Sources

- CVE List: [CVE-2019-10799](https://www.cve.org/CVERecord?id=CVE-2019-10799), CVE Terms of Use, modified 2024-08-04
- GitHub Advisory Database: [GHSA-79qm-h35f-hr77](https://github.com/advisories/GHSA-79qm-h35f-hr77), CC-BY-4.0, modified 2026-07-08
- NVD: [CVE-2019-10799](https://nvd.nist.gov/vuln/detail/CVE-2019-10799), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2019-10799 · Whole record: https://cve.day/CVE-2019-10799.json · Rebuilt by cve.day 2026-11-25T22:57:49.480Z
