Back
CVE-2020-7674
access-policy through 3.1.0 is vulnerable to Arbitrary Code Execution. User input provided to the `template` function is executed by the…
Critical9.8EPSS 2.6%
- Published
- Updated
- Reserved
- Assigned by
- snyk
Description
access-policy through 3.1.0 is vulnerable to Arbitrary Code Execution. User input provided to the `template` function is executed by the `eval` function resulting in code execution.
Scores
| Scored by | CVSS | Score | Vector |
|---|---|---|---|
| NVDNVD · Modified | 3.1 | Critical9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
- EPSS (exploitation in 30 days)
- 2.6% · top 15% of all CVEs (7 Nov 2026)
Loading the EPSS history…
The list uses the assigner's score when there is one, then CISA's, then NVD's: Critical 9.8.
Weakness
- Arbitrary Code Execution
- CWE-94 (opens in a new tab)All about CWE-94 and its CVEs
Affected products
access-policy
- affected All versions including 3.1.0
Affected packages
From reviewed advisories of the GitHub Advisory Database.
- npmaccess-policyGHSA-fw2f-7f87-5r6c (opens in a new tab)
References (1)
- https://snyk.io/vuln/SNYK-JS-ACCESSPOLICY-571490 (opens in a new tab)x_refsource_MISCx_transferred
Sources
The same CVE in the primary databases and aggregators, to check against.
- CVE.org record (opens in a new tab)
- CVE List JSON (GitHub) (opens in a new tab)
- NVD (opens in a new tab)
- FIRST EPSS (opens in a new tab)
- OSV.dev (opens in a new tab)
- GitHub Advisory GHSA-fw2f-7f87-5r6c (opens in a new tab)
- CIRCL Vulnerability-Lookup (opens in a new tab)
Badge for a README or a ticket
[](https://trackcve.app/cve/CVE-2020-7674)Record last updated .