{"id":"CVE-2020-7674","aliases":["EUVD-2021-1067","GHSA-fw2f-7f87-5r6c","SNYK-JS-ACCESSPOLICY-571490"],"status":"published","title":"Improper Input Validation in access-policy","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.","severity":{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-09","score":0.02575,"percentile":0.85302,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":false},"cwes":["CWE-94"],"published":"2020-06-10T15:36:01Z","modified":"2026-10-24T10:30:48Z","affected":[{"source":"ghsa","ecosystem":"npm","package":"access-policy","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"last_affected":"3.1.0"}]}]},{"source":"osv","ecosystem":"npm","package":"access-policy","ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"last_affected":"3.1.0"}]}]}],"products":[{"vendor":"access-policy_project","product":"access-policy"}],"references":[{"url":"https://snyk.io/vuln/SNYK-JS-ACCESSPOLICY-571490","tags":["x_refsource_MISC","x_transferred","Exploit","Third Party Advisory","evidence","web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2020-7674","tags":["advisory"]},{"url":"https://github.com/advisories/GHSA-fw2f-7f87-5r6c"}],"sources":{"cve":[{"id":"CVE-2020-7674","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.","status":"published","published":"2020-06-10T15:36:01Z","modified":"2024-08-04T09:41:01.575Z","updated_at":"2026-11-02T14:35:58.331892Z"}],"euvd":[{"id":"EUVD-2021-1067","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.","status":"published","published":"2020-06-10T15:36:01Z","modified":"2024-08-04T09:41:01Z","updated_at":"2026-11-03T03:07:58.506831Z"}],"ghsa":[{"id":"GHSA-fw2f-7f87-5r6c","title":"Improper Input Validation in access-policy","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.","status":"published","published":"2021-05-17T21:00:29Z","modified":"2023-02-01T05:05:30Z","cvss":[{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical"}],"cwes":["CWE-94"],"updated_at":"2026-11-02T14:36:34.917834Z"}],"nvd":[{"id":"CVE-2020-7674","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.","status":"published","published":"2020-06-10T16:15:10.743Z","modified":"2026-06-17T03:25:14.51Z","cvss":[{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical","assessor":"primary"},{"version":"2.0","score":7.5,"vector":"AV:N/AC:L/Au:N/C:P/I:P/A:P","level":"high","assessor":"primary"}],"cwes":["CWE-94"],"updated_at":"2026-11-02T14:06:05.962132Z"}],"osv":[{"id":"CVE-2020-7674","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.","status":"published","published":"2020-06-10T16:15:10.743Z","modified":"2026-10-24T10:30:48.956682112Z","cvss":[{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical"}],"updated_at":"2026-11-02T15:44:17.34531Z"},{"id":"GHSA-fw2f-7f87-5r6c","title":"Improper Input Validation in access-policy","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.","status":"published","published":"2021-05-17T21:00:29Z","modified":"2026-07-08T06:50:02.29167805Z","cvss":[{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical"}],"cwes":["CWE-94"],"updated_at":"2026-11-02T15:46:46.760785Z"}]}}
