{"api_version":"1","generated_at":"2026-07-23T12:07:15+00:00","cve":"CVE-2020-15228","urls":{"html":"https://cve.report/CVE-2020-15228","api":"https://cve.report/api/cve/CVE-2020-15228.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2020-15228","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2020-15228"},"summary":{"title":"CVE-2020-15228","description":"In the `@actions/core` npm module before version 1.2.6,`addPath` and `exportVariable` functions communicate with the Actions Runner over stdout by generating a string in a specific format. Workflows that log untrusted data to stdout may invoke these commands, resulting in the path or environment variables being modified without the intention of the workflow or action author. The runner will release an update that disables the `set-env` and `add-path` workflow commands in the near future. For now, users should upgrade to `@actions/core v1.2.6` or later, and replace any instance of the `set-env` or `add-path` commands in their workflows with the new Environment File Syntax. Workflows and actions using the old commands or older versions of the toolkit will start to warn, then error out during workflow execution.","state":"PUBLIC","assigner":"security-advisories@github.com","published_at":"2020-10-01 18:15:00","updated_at":"2021-11-18 17:52:00"},"problem_types":["CWE-77"],"metrics":[],"references":[{"url":"http://packetstormsecurity.com/files/159794/GitHub-Widespread-Injection.html","name":"http://packetstormsecurity.com/files/159794/GitHub-Widespread-Injection.html","refsource":"MISC","tags":["Exploit","Third Party Advisory","VDB Entry"],"title":"GitHub Widespread Injection ≈ Packet Storm","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://github.com/actions/toolkit/security/advisories/GHSA-mfwh-5m23-j46w","name":"https://github.com/actions/toolkit/security/advisories/GHSA-mfwh-5m23-j46w","refsource":"CONFIRM","tags":["Third Party Advisory"],"title":"`add-path` and `set-env` Runner commands are processed via stdout · Advisory · actions/toolkit · GitHub","mime":"text/html","httpstatus":"200","archivestatus":"0"},{"url":"https://www.cve.org/CVERecord?id=CVE-2020-15228","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2020-15228","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[{"cve_year":"2020","cve_id":"15228","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"toolkit_project","cpe5":"toolkit","cpe6":"*","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"node.js","cpe12":"*","cpe13":"*"},{"cve_year":"2020","cve_id":"15228","vulnerable":"1","versionEndIncluding":"1","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"toolkit_project","cpe5":"toolkit","cpe6":"*","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"node.js","cpe12":"*","cpe13":"*"}],"vendor_comments":[],"enrichments":{"kev":null,"epss":null,"legacy_qids":[{"cve":"CVE-2020-15228","qid":"980056","title":"Nodejs (npm) Security Update for @actions/core (GHSA-mfwh-5m23-j46w)"}]},"source_records":{"cve_program":{"CVE_data_meta":{"ASSIGNER":"security-advisories@github.com","ID":"CVE-2020-15228","STATE":"PUBLIC","TITLE":"Environment Variable Injection in GitHub Actions"},"affects":{"vendor":{"vendor_data":[{"product":{"product_data":[{"product_name":"toolkit","version":{"version_data":[{"version_value":"< 1.2.6"}]}}]},"vendor_name":"actions"}]}},"data_format":"MITRE","data_type":"CVE","data_version":"4.0","description":{"description_data":[{"lang":"eng","value":"In the `@actions/core` npm module before version 1.2.6,`addPath` and `exportVariable` functions communicate with the Actions Runner over stdout by generating a string in a specific format. Workflows that log untrusted data to stdout may invoke these commands, resulting in the path or environment variables being modified without the intention of the workflow or action author. The runner will release an update that disables the `set-env` and `add-path` workflow commands in the near future. For now, users should upgrade to `@actions/core v1.2.6` or later, and replace any instance of the `set-env` or `add-path` commands in their workflows with the new Environment File Syntax. Workflows and actions using the old commands or older versions of the toolkit will start to warn, then error out during workflow execution."}]},"impact":{"cvss":{"attackComplexity":"HIGH","attackVector":"NETWORK","availabilityImpact":"NONE","baseScore":3.5,"baseSeverity":"LOW","confidentialityImpact":"LOW","integrityImpact":"NONE","privilegesRequired":"LOW","scope":"CHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:L/I:N/A:N","version":"3.1"}},"problemtype":{"problemtype_data":[{"description":[{"lang":"eng","value":"CWE-20 Improper Input Validation"}]}]},"references":{"reference_data":[{"name":"https://github.com/actions/toolkit/security/advisories/GHSA-mfwh-5m23-j46w","refsource":"CONFIRM","url":"https://github.com/actions/toolkit/security/advisories/GHSA-mfwh-5m23-j46w"},{"refsource":"MISC","name":"http://packetstormsecurity.com/files/159794/GitHub-Widespread-Injection.html","url":"http://packetstormsecurity.com/files/159794/GitHub-Widespread-Injection.html"}]},"source":{"advisory":"GHSA-mfwh-5m23-j46w","discovery":"UNKNOWN"}},"nvd":{"publishedDate":"2020-10-01 18:15:00","lastModifiedDate":"2021-11-18 17:52:00","problem_types":["CWE-77"],"metrics":{"baseMetricV3":{"cvssV3":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:N/I:L/A:N","attackVector":"NETWORK","attackComplexity":"LOW","privilegesRequired":"LOW","userInteraction":"NONE","scope":"CHANGED","confidentialityImpact":"NONE","integrityImpact":"LOW","availabilityImpact":"NONE","baseScore":5,"baseSeverity":"MEDIUM"},"exploitabilityScore":3.1,"impactScore":1.4},"baseMetricV2":{"cvssV2":{"version":"2.0","vectorString":"AV:N/AC:L/Au:S/C:N/I:P/A:N","accessVector":"NETWORK","accessComplexity":"LOW","authentication":"SINGLE","confidentialityImpact":"NONE","integrityImpact":"PARTIAL","availabilityImpact":"NONE","baseScore":4},"severity":"MEDIUM","exploitabilityScore":8,"impactScore":2.9,"acInsufInfo":false,"obtainAllPrivilege":false,"obtainUserPrivilege":false,"obtainOtherPrivilege":false,"userInteractionRequired":false}},"configurations":{"CVE_data_version":"4.0","nodes":[{"operator":"OR","children":[],"cpe_match":[{"vulnerable":true,"cpe23Uri":"cpe:2.3:a:toolkit_project:toolkit:*:*:*:*:*:node.js:*:*","versionEndExcluding":"1.2.6","cpe_name":[]}]}]}},"legacy_mitre":{"record":{"CveYear":"2020","CveId":"15228","Ordinal":"176607","Title":"CVE-2020-15228","CVE":"CVE-2020-15228","Year":"2020"},"notes":[{"CveYear":"2020","CveId":"15228","Ordinal":"1","NoteData":"In the `@actions/core` npm module before version 1.2.6,`addPath` and `exportVariable` functions communicate with the Actions Runner over stdout by generating a string in a specific format. Workflows that log untrusted data to stdout may invoke these commands, resulting in the path or environment variables being modified without the intention of the workflow or action author. The runner will release an update that disables the `set-env` and `add-path` workflow commands in the near future. For now, users should upgrade to `@actions/core v1.2.6` or later, and replace any instance of the `set-env` or `add-path` commands in their workflows with the new Environment File Syntax. Workflows and actions using the old commands or older versions of the toolkit will start to warn, then error out during workflow execution.","Type":"Description","Title":null},{"CveYear":"2020","CveId":"15228","Ordinal":"2","NoteData":"2020-10-01","Type":"Other","Title":"Published"},{"CveYear":"2020","CveId":"15228","Ordinal":"3","NoteData":"2020-11-03","Type":"Other","Title":"Modified"}]}}}