All CVEs / Access-policy Project
CVE-2020-7674Access-policy Project Access-policy
Critical 9.8 No auth needed
Follow: this CVE · Access-policy Project · Access-policy Project Access-policy We alert you by email or Slack (account required).
- Priority
- 74
- CVSS 3.1
- 9.8
- EPSS
- 2.6% probability of exploitation in 30 days · percentile 86
- Auth required
- No
- Published
- Jun 10, 2020
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-94
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
What happens
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.
What to do
- Apply the vendor's security update for Access-policy.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| npm | access-policy |
≤ 3.1.0 |
no fixed version | — |
Per OSV / GitHub Advisories (GHSA-fw2f-7f87-5r6c). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| access-policy_project | access-policy | ≤ 3.1.0 |
Official sources
References
Links published by the sources. Open them with care.
- snyk.io Exploit Third Party Advisory