CVE-2026-3236
Octopus Deploy vulnerability analysis and mitigation

Overview

CVE-2026-3236 is an Incorrect Authorization vulnerability in Octopus Server that allows authenticated users to create a new API key from an existing access token, with the resulting API key having a lifetime that exceeds that of the original access token used to generate it. This effectively allows a user to extend their access beyond the intended expiration of their credentials. The vulnerability was published on March 5, 2026, with a patch made available on March 12, 2026. Affected versions include Octopus Server 2023.1.4189 through 2025.3.14761 (exclusive) and 2025.4.51 through 2025.4.10409 (exclusive). It carries a CVSS v3.1 base score of 4.3 (Medium) (Octopus Advisory, Red Hat CVE).

Technical details

The root cause is classified as CWE-863 (Incorrect Authorization), where the server fails to properly enforce the lifetime constraints of an access token when it is used to mint a new API key. Specifically, the authorization logic does not propagate or enforce the expiration of the originating access token onto the newly created API key, allowing the derived key to outlive its parent credential. Exploitation requires a low-privileged, authenticated network-accessible account and no user interaction. No public proof-of-concept code has been identified at this time (Octopus Advisory, Red Hat CVE).

Impact

Successful exploitation allows an authenticated attacker to persist access to an Octopus Server instance beyond the intended expiration of their credentials by generating a long-lived API key from a short-lived access token. This primarily affects integrity (unauthorized credential persistence) with limited confidentiality impact, as the attacker could use the extended API key to continue interacting with the deployment automation platform after their session should have expired. There is no direct availability impact, but persistent unauthorized access to a CI/CD orchestration platform like Octopus Server could facilitate supply chain attacks or unauthorized deployment actions (Octopus Advisory).

Exploitability

No public exploit code or in-the-wild exploitation has been reported for CVE-2026-3236. The EPSS score is approximately 0.038%, indicating a low probability of exploitation in the near term. The vulnerability is not listed in the CISA Known Exploited Vulnerabilities (KEV) catalog. Exploitation requires an authenticated low-privileged account, which limits the attack surface compared to unauthenticated vulnerabilities (Octopus Advisory, Red Hat CVE).

Exploitation steps

  1. Authenticate: Obtain a valid low-privileged user account on a vulnerable Octopus Server instance (versions 2023.1.4189–2025.3.14761 or 2025.4.51–2025.4.10409).
  2. Acquire an access token: Log in and obtain a short-lived access token through the Octopus Server authentication mechanism.
  3. Create a new API key: Use the access token to call the Octopus Server API endpoint responsible for API key creation, submitting a request to mint a new API key with a desired (extended) lifetime.
  4. Exploit the authorization flaw: Due to the incorrect authorization logic, the server issues a new API key whose expiration is not bounded by the original access token's lifetime, resulting in a long-lived credential.
  5. Persist access: Use the newly created long-lived API key to continue authenticating to the Octopus Server API even after the original access token has expired, maintaining persistent access to deployment pipelines and resources (Octopus Advisory).

Indicators of compromise

  • Logs: Octopus Server audit logs showing API key creation events (ApiKey created) initiated via an access token, particularly where the new API key's expiration significantly exceeds the access token's expected lifetime.
  • Logs: Authentication events using API keys that were created close to or after the expiration of the originating user session or access token.
  • Network: API calls to Octopus Server key management endpoints (e.g., /api/users/{userId}/apikeys) from authenticated sessions that should have expired.
  • Application: Presence of API keys in the Octopus Server user management console with unusually long or unexpected expiration dates relative to organizational policy.

Mitigation and workarounds

Octopus Deploy has released patched versions addressing this vulnerability: users on the 2023.x–2025.3.x branch should upgrade to 2025.3.14761 or later, and users on the 2025.4.x branch should upgrade to 2025.4.10409 or later. As a workaround, administrators should audit existing API keys for unexpected lifetimes and revoke any keys that appear to have been created with excessively long expirations. Restricting API key creation permissions to trusted users and monitoring audit logs for anomalous key creation activity is also recommended (Octopus Advisory).

Community reactions

Coverage of CVE-2026-3236 has been limited to automated vulnerability tracking platforms and aggregators. A brief technical summary was published by Infinit Security (Infinit Security). No significant vendor statements beyond the official advisory, notable researcher commentary, or broad media coverage have been identified.

Additional resources


SourceThis report was generated using AI

Related Octopus Deploy vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2026-4881MEDIUM6
  • Octopus Deploy logoOctopus Deploy
  • cpe:2.3:a:octopus:octopus_server
NoYesJun 04, 2026
CVE-2026-8296MEDIUM5.6
  • Octopus Deploy logoOctopus Deploy
  • cpe:2.3:a:octopus:octopus_server
NoYesJun 19, 2026
CVE-2026-12702MEDIUM5.1
  • Octopus Deploy logoOctopus Deploy
  • cpe:2.3:a:octopus:octopus_server
NoYesJul 24, 2026
CVE-2026-3237LOW2.3
  • Octopus Deploy logoOctopus Deploy
  • cpe:2.3:a:octopus:octopus_server
NoYesMar 17, 2026
CVE-2026-3236LOW2.3
  • Octopus Deploy logoOctopus Deploy
  • cpe:2.3:a:octopus:octopus_server
NoYesMar 05, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management