{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2026-12887","id":"CVE-2026-12887","title":"Octopus Server script execution outside parent directory in package deployment","description":"In affected versions of Octopus Server, a user with permission to upload a malicious nuget package is able to deploy a script step so the script executes outside of the parent directory.","descriptionLong":"In affected versions of Octopus Server, a user with permission to upload a malicious nuget package is able to deploy a script step so the script executes outside of the parent directory.","published":"2026-10-27T13:15:22.608Z","updated":"2026-11-04T18:17:43.833Z","reserved":"2026-06-22T10:55:01.254Z","status":"Awaiting Analysis","rejected":false,"assigner":"Octopus","metric":{"version":"4.0","score":5.1,"vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:N/VC:N/VI:L/VA:L/SC:N/SI:N/SA:N","rating":"medium","source":"Octopus"},"metrics":[{"version":"4.0","score":5.1,"vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:N/VC:N/VI:L/VA:L/SC:N/SI:N/SA:N","rating":"medium","source":"Octopus"},{"version":"4.0","score":5.1,"vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:N/VC:N/VI:L/VA:L/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X","rating":"medium","source":"octopus.com"}],"rating":"medium","products":["Octopus Deploy Octopus Server"],"affectedProducts":[{"vendor":"Octopus Deploy","product":"Octopus Server","defaultStatus":"unaffected","versions":[{"status":"affected","version":"2023.0.0","lessThan":"2026.1.674","versionType":"custom"},{"status":"affected","version":"2026.1","lessThan":"2026.1.674","versionType":"custom"},{"status":"affected","version":"2026.2","lessThan":"2026.2.973","versionType":"custom"},{"status":"affected","version":"2026.3","lessThan":"2026.3.5839","versionType":"custom"}],"platforms":["Windows","Linux"]}],"packages":[],"cwes":["CWE-22"],"aliases":[],"references":[{"url":"https://advisories.octopus.com/post/2026/sa2026-14/","tags":[]}],"patchReferenced":false,"fixAvailable":false,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial"},"epss":0.00313,"epssPercentile":0.24689,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2026-12887","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-12887","ok":true,"note":"Awaiting Analysis"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2026-12887","ok":false,"note":"no open-source package data"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2026-12887","ok":true,"note":"scored 2026-11-19"}],"aiTitle":true,"tech":[],"critical":[],"attention":null}