# CVE-2021-3040: Bridgecrew Checkov: Unsafe deserialization of Terraform files allows code execution

- Severity: Medium 6.7 (CVSS:3.1, scored by palo_alto) `CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:L`
- 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.29%, higher than 71% of CVEs (2026-12-01)
- Published: 2021-06-10T12:33:06.414Z
- Modified: 2026-09-08T08:45:54.146Z
- Also known as: BIT-CHECKOV-2021-3040
- Weaknesses: CWE-502
- Assigned by: palo_alto

## Description

An unsafe deserialization vulnerability in Bridgecrew Checkov by Prisma Cloud allows arbitrary code execution when processing a malicious terraform file. This issue impacts Checkov 2.0 versions earlier than Checkov 2.0.139. Checkov 1.0 versions are not impacted.

(As written by CVE List.)

## Affected

- Palo Alto Networks Bridgecrew Checkov: from 2.0 before 2.0.139 (not affected: 1.0 all)
- paloaltonetworks bridgecrew_checkov: from 2.0.0 before 2.0.139
- checkov (Bitnami): from 2.0.0 before 2.0.139

## Every score

- palo_alto: CVSS:3.1 6.7 Medium `CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:L`
- NVD: CVSS:3.1 7.2 High `CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H`
- NVD: CVSS:2.0 6.5 Medium `AV:N/AC:L/Au:S/C:P/I:P/A:P`
- Bitnami Vulnerability Database: rating High

## References

- <https://security.paloaltonetworks.com/CVE-2021-3040> (advisory, vendor-advisory)
- <https://nvd.nist.gov/vuln/detail/CVE-2021-3040> (web)

## Sources

- CVE List: [CVE-2021-3040](https://www.cve.org/CVERecord?id=CVE-2021-3040), CVE Terms of Use, modified 2024-09-16
- NVD: [CVE-2021-3040](https://nvd.nist.gov/vuln/detail/CVE-2021-3040), Public domain, modified 2026-06-17
- Bitnami Vulnerability Database: [BIT-CHECKOV-2021-3040](https://osv.dev/vulnerability/BIT-CHECKOV-2021-3040), Apache-2.0, modified 2026-09-08

---

Page: https://cve.day/CVE-2021-3040 · Whole record: https://cve.day/CVE-2021-3040.json · Rebuilt by cve.day 2026-11-25T22:58:01.771Z
