{"schema":"/api/v1/schema/cve.json","api_version":"1","id":"CVE-2021-21298","published":"2021-02-26T17:15:12.337000Z","last_modified":"2026-06-17T03:35:14.507000Z","status":"Modified","cvss":{"version":"3.1","score":6.5,"severity":"MEDIUM","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N","source":"nvd@nist.gov","primary":true},"auth":true,"cwes":["CWE-22"],"cpes":[{"criteria":"cpe:2.3:a:nodered:node-red:*:*:*:*:*:node.js:*:*","part":"a","vendor":"nodered","product":"node-red","version_end_excluding":"1.2.8"}],"cpes_truncated":false,"vendors":["nodered"],"products":["nodered/node-red"],"epss":{"score":0.01093,"percentile":0.66412,"date":"2026-12-01","model_version":"v2026.06.15"},"cat":"app","platform":"multi","eol":false,"packages":[{"advisory":"GHSA-m33v-338h-4v9f","ecosystem":"npm","name":"@node-red/runtime","purl":"pkg:npm/%40node-red/runtime","ranges":[{"introduced":"0","fixed":"1.2.8"}],"versions":[],"versions_truncated":false}],"severity":"medium","priority_score":39,"links":{"html_es":"/es/cve/CVE-2021-21298/","html_en":"/en/cve/CVE-2021-21298/","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2021-21298","cve_org":"https://www.cve.org/CVERecord?id=CVE-2021-21298"},"untrusted":{"vendor_name":"Nodered","product_name":"Node-red","desc_en":"Node-Red is a low-code programming for event-driven applications built using nodejs. Node-RED 1.2.7 and earlier has a vulnerability which allows arbitrary path traversal via the Projects API. If the Projects feature is enabled, a user with `projects.read` permission is able to access any file via the Projects API. The issue has been patched in Node-RED 1.2.8. The vulnerability applies only to the Projects feature which is not enabled by default in Node-RED. The primary workaround is not give untrusted users read access to the Node-RED editor.","affected":[{"untrusted_vendor":"node-red","untrusted_product":"node-red","versions":[]}],"references":[{"url":"https://github.com/node-red/node-red/commit/74db3e17d075f23d9c95d7871586cf461524c456","tags":["Patch","Third Party Advisory"]},{"url":"https://github.com/node-red/node-red/releases/tag/1.2.8","tags":["Release Notes","Third Party Advisory"]},{"url":"https://github.com/node-red/node-red/security/advisories/GHSA-m33v-338h-4v9f","tags":["Third Party Advisory"]},{"url":"https://www.npmjs.com/package/%40node-red/runtime","tags":[]}]}}