ZeroHour

CVE-2026-91778

moderate

Broken permission check lets low-privilege users run arbitrary scripts in Octopus Server

CVSS 4.0
7.2 high
EPSS
Published
()
Modified
AI analysis

Octopus Server contains an incorrect authorization flaw (CWE-863) in which permission validation during script execution is performed incorrectly, allowing users holding certain scoped permission sets to execute arbitrary scripts on a worker, including the Octopus Server built-in worker, without actually possessing the required script-execution authorization. The flaw is triggered by an already-authenticated, low-privilege user invoking script execution through the normal deployment/script pathway, where the permission check fails to enforce the correct role. Successful abuse gives the attacker arbitrary code execution on the worker host, yielding high impact to that system's integrity and availability (CVSS 4.0: 7.2). Any organization running a self-hosted Octopus Server with custom or scoped teams/roles, or Octopus Cloud tenants with restricted users, is potentially affected. No public proof-of-concept exists and the issue is not listed in CISA's KEV, so exploitation status is currently none known.

What to do: Upgrade Octopus Server to the patched release identified in the vendor's advisory for CVE-2026-91778 as soon as the fixed version is confirmed. Audit custom roles, scoped permissions, and team membership for users who should not have script-execution rights, and review worker/script-step audit logs for unexpected script executions by low-privilege accounts. Consider disabling or tightly restricting use of the built-in worker and running deployment scripts on dedicated, least-privileged isolated workers to limit blast radius.

Affected
Octopus Deploy Octopus ServerSpecific affected version ranges not enumerated in the provided advisory data; see vendor advisory for CVE-2026-91778
Estimated exposure
moderate≈ tens of thousands of organizations; likely low thousands of internet-exposed self-hosted instances (estimate) — Octopus Deploy is an enterprise CI/CD product publicly cited as used by roughly 25,000+ organizations, but instances are typically deployed on internal networks or private cloud, keeping direct internet exposure to an estimated low…

Order-of-magnitude estimate by the model from install counts, market share and public scan data it knows; verify before quoting.

Description

In affected versions of Octopus Server, users with certain scoped permission sets could execute arbitrary scripts on a worker (including the Octopus Server built-in worker). Incorrect permission validation during script execution would allow the script to execute without the user possessing the required authorisation.

Weakness
CWE-863
Vector
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:H/VA:H/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

In the news

No ingested article mentions this CVE yet.