CVE-2026-12887

Medium

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.

SeverityMedium
CVSS5.1
Exploit probability—
ProductOctopus Server
PublishedOct 27, 2026
First seenOct 27, 2026

How to fix

Update
  • Octopus Deploy Octopus Server2026.1.674, 2026.2.973, 2026.3.5839 or later

Affected products

ProductAffected versionsFixed in
Octopus Deploy Octopus Server2023.0.0 ≤ v < 2026.1.674, 2026.1 ≤ v < 2026.1.674, 2026.2 ≤ v < 2026.2.973, 2026.3 ≤ v < 2026.3.58392026.1.674, 2026.2.973, 2026.3.5839

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.