Critical
Security advisory
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.
- Products
- Not specified
- Affected versions
- Not specified
- Fixed versions
- Not specified
- CVEs
- CVE-2020-7674
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 1 Nov 2026, 07:07 UTC · Revision 1
Source evidence
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.
osv:CVE-2020-7674
Complete source record
{
"id": "97b9671acad3caeb1ac5955b891dc5d6ae91c49209d623b40961b8843b383461",
"url": "https://osv.dev/vulnerability/CVE-2020-7674",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "CVE-2020-7674",
"summary": "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.",
"evidence": "osv:CVE-2020-7674",
"products": [],
"severity": "critical",
"structured": {
"id": "CVE-2020-7674",
"aliases": [
"CVE-2020-7674",
"GHSA-fw2f-7f87-5r6c",
"SNYK-JS-ACCESSPOLICY-571490"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://github.com/tupleaustin/access-policy",
"type": "GIT",
"events": [
{
"introduced": "0"
},
{
"last_affected": "64d9bdbc32227b59560918d2771d0a446616de77"
}
],
"database_specific": {
"extracted_events": [
{
"cpe": "cpe:2.3:a:access-policy_project:access-policy:*:*:*:*:*:node.js:*:*",
"range": [
{
"introduced": "0"
},
{
"last_affected": "3.1.0"
}
],
"source": "CPE_RANGE"
}
]
}
}
],
"versions": [
"v3.1.0",
"v3.0.0"
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2020-7674.json"
}
}
],
"modified": "2026-10-24T10:30:48.956682112Z",
"provider": "osv",
"references": [
"https://snyk.io/vuln/SNYK-JS-ACCESSPOLICY-571490"
],
"provider_metadata": {}
},
"related_cves": [
{
"value": "CVE-2020-7674",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 436893,
"published_at": "2020-06-10T16:15:10.743+00:00"
}