# CVE-2019-10777: OS command injection in aws-lambda

- Severity: Critical 9.8 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- 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): 1.64%, higher than 77% of CVEs (2026-11-30)
- Published: 2020-01-08T16:13:33.000Z
- Modified: 2026-06-17T02:11:39.200Z
- Also known as: GHSA-934x-72xh-5hrg
- Weaknesses: CWE-78
- Assigned by: snyk

## Description

In aws-lambda versions prior to version 1.0.5, the "config.FunctioName" is used to construct the argument used within the "exec" function without any sanitization. It is possible for a user to inject arbitrary commands to the "zipCmd" used within "config.FunctionName".

(As written by CVE List.)

## Affected

- aws-lambda: All versions prior to version 1.0.5
- aws-lambda (npm): before 1.0.5
- amazon aws_lambda: before 1.0.5

## Every score

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

## References

- <https://snyk.io/vuln/SNYK-JS-AWSLAMBDA-540839> (third-party-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2019-10777> (advisory)
- <https://github.com/awspilot/cli-lambda-deploy> (web)

## Sources

- CVE List: [CVE-2019-10777](https://www.cve.org/CVERecord?id=CVE-2019-10777), CVE Terms of Use, modified 2024-08-04
- GitHub Advisory Database: [GHSA-934x-72xh-5hrg](https://github.com/advisories/GHSA-934x-72xh-5hrg), CC-BY-4.0, modified 2026-03-13
- NVD: [CVE-2019-10777](https://nvd.nist.gov/vuln/detail/CVE-2019-10777), Public domain, modified 2026-06-17

---

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