Skip to main content

Lagoon Core EUVDEUVD-2026-107326

| CVE-2026-113788 CRITICAL
OS Command Injection (CWE-78)
2026-10-21 GitHub_M
9.4
CVSS 4.0 · Vendor: GitHub_M
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Authenticate with valid Lagoon account
  2. Delivery
    Connect to Lagoon core ssh service
  3. Exploit
    Inject crafted username/arguments
  4. Execution
    Trigger OS command injection
  5. Impact
    Execute arbitrary code, escalate to admin

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization OS command sanitization, avoid shell exec
MITRE ATT&CK

2 techniques across 1 tactic: Execution

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Exploitation requires an authenticated Lagoon user account (PR:L) and network access to the ssh service of Lagoon core specifically - the separate ssh-portal service and its components are NOT affected. The flaw is reachable by sending a crafted ssh username/argument that fails to map cleanly to a namespace (the condition addressed by PR #4153). Limiting factors: the attacker must already be a provisioned Lagoon user (not anonymous), only the ssh service in Lagoon core is vulnerable, and only versions prior to 2.33.1 are exposed (fixed in v2.33.2 / helm chart v1.62.2). Operators who have disabled the Lagoon core ssh service, or who rely solely on ssh-portal, are not exploitable. Detection is possible by monitoring the ssh service container logs for the string 'too many arguments'.

Impact

This is a genuine high-priority issue for organizations actually running Lagoon core, though its real-world blast radius is constrained by prerequisites and product footprint. The vendor-supplied CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:L/UI:N) with full high impact to both vulnerable and subsequent systems (VC/VI/VA:H, SC/SI/SA:H) scores 9.4, reflecting OS command injection (CWE-78) in the ssh service that yields arbitrary code execution and potential escalation to administrative permissions - consistent with the description. The critical limiter, explicitly stated by the vendor, is PR:L: an attacker MUST already possess a valid Lagoon user account, so this is authenticated abuse by an existing (possibly low-privileged) tenant rather than fully anonymous internet exploitation. No EPSS score, CISA KEV listing, or public POC was provided in the input, so there is no public exploit identified at time of analysis and no evidence of active exploitation - this is a patch-promptly priority for Lagoon operators, not a mass-exploitation emergency. The CWE-78 command-injection nature plus a documented detection signature ('too many arguments' in ssh container logs) indicates the fix (PR #4153: reject ssh usernames that can't map to a namespace) addresses a concrete, triggerable flaw rather than a theoretical one.

Exploit ScenarioDerived

An attacker who holds a legitimate (even low-privilege) Lagoon user account connects to the Lagoon core ssh service and supplies a crafted ssh username/argument that is not properly validated, injecting OS commands that execute in the ssh service context. By escaping normal command handling the attacker runs arbitrary code and can escalate toward administrative permissions across the platform. No public exploit code was identified in the provided data, but the vendor documents a log signature ('too many arguments') indicating the flaw is reliably triggerable.

Act Now Prioritize within 24-48h. Why: CRITICAL severity.
Patch available 0.3% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Oct 21, 2026

Command injection in the ssh service of Lagoon core (uselagoon/lagoon) lets an authenticated Lagoon user execute arbitrary commands on the core container, which can be leveraged to escalate to elevated administrative permissions across the platform. Affected deployments are those running a Lagoon core release before the fix shipped in v2.33.2 (helm chart lagoon-core v1.62.2); note the advisory text says "prior to 2.33.1" while the actual patch landed in 2.33.2, so 2.33.2 should be treated as the first safe version. Exploitation requires a provisioned account (CVSS vector PR:L, authenticated) and network reachability to the Lagoon core ssh service specifically; the separate ssh-portal service is not affected. No public exploit code or confirmed active exploitation was identified at time of analysis, and the issue is detectable by watching the ssh service container logs for the string "too many arguments".

RemediationAI

Upgrade Lagoon core to v2.33.2, or to the lagoon/lagoon-core Helm chart v1.62.2 which packages it - this is the vendor-released patch and contains PR #4153, which rejects SSH usernames that cannot map to a namespace (see https://github.com/uselagoon/lagoon/releases/tag/v2.33.2 and the advisory https://github.com/uselagoon/lagoon/security/advisories/GHSA-f8mw-q232-qjfp). If an immediate upgrade is not possible, the vendor-sanctioned workaround is to disable the ssh service in Lagoon core entirely; this closes the attack path with the side effect that users lose direct core SSH access, but the ssh-portal service and its components are unaffected by this bug and can continue to serve users, so traffic should be redirected there. Additionally, restrict network reachability to the Lagoon core ssh endpoint to known administrative networks or VPN ranges rather than exposing it broadly, and audit provisioned Lagoon accounts since a valid user account is a prerequisite (CVSS PR:L) - revoking unused accounts reduces the pool of potential initiators but does not substitute for patching. For detection, alert on the string "too many arguments" in the ssh service container logs, which indicates a username that failed to map to a namespace and may signal an injection attempt; enable retention and forwarding of those logs before applying the upgrade so that retroactive hunting remains possible.

Affected VersionsENISA

lagoon < 2.33.2

Affected Packages

euvd lagoon fix: 2.33.2

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

CWE-78 (Improper Neutralization of Special Elements used in an OS Command) in Lagoon core's ssh service, which accepts inbound SSH connections and derives a Kubernetes namespace from the supplied SSH username in order to place users into their project environments. The username value was passed into a shell invocation without adequate sanitization, so a crafted username containing additional arguments or shell metacharacters is interpreted as a command rather than a namespace identifier - the fix in PR #4153 ("reject ssh usernames that can't map to a namespace") adds validation that rejects usernames which do not resolve to a legitimate namespace. Because the vulnerable process runs inside lagoon-core with platform-level credentials and access to the Kubernetes API, successful injection yields command execution in that context, which is why the assessed scope is changed (S:C) with high confidentiality, integrity, and availability impact on both the vulnerable component and downstream environments. The observable side effect - shell tooling emitting "too many arguments" - is a direct artifact of the extra argument reaching a command that expected a single namespace parameter. The CPE (cpe:2.3:a:uselagoon:lagoon:*:*:*:*:*:*:*:*) is unpinned, so operators must determine exposure by deployed version rather than by CPE matching.

Know when Lagoon gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (GitHub_M) PRIMARY 9.4 CRITICAL
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H
vuln.today AI 9.9 CRITICAL

Network-reachable ssh service with low complexity but a required Lagoon account (PR:L); command injection escapes the service context and escalates to admin, so scope changes (S:C) with full C/I/A impact.

3.1 AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H
4.0 AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H

Primary rating from Vendor (GitHub_M).

CVSS VectorVendor: GitHub_M

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
Low
User Interaction
None
Vulnerable system: Confidentiality
High
Vulnerable system: Integrity
High
Vulnerable system: Availability
High
Subsequent system: Confidentiality
High
Subsequent system: Integrity
High
Subsequent system: Availability
High

Lifecycle Timeline

2
Patch available
Oct 21, 2026 - 17:18 EUVD
CVE Published
Oct 21, 2026 - 15:31 cve.org
CRITICAL 9.4

DescriptionCVE.org

Lagoon is an application delivery platform for Kubernetes. Versions prior to 2.33.1 have a vulnerability in the ssh service in Lagoon core that would allow an attacker to execute arbitrary code which could lead to, among other things, elevated administrative permissions. It is mitigated by the fact that an attacker must have a Lagoon user account. Exploitation may be detected by checking the container logs of the ssh service for: too many arguments. The vulnerability was fixed in Lagoon v2.33.2, which is included in the lagoon/lagoon-core helm chart v1.62.2. As a workaround, the ssh service in Lagoon core can be disabled. The ssh-portal service and components are not effected and can continue to be used.

Technical POC Analysis

Bug class: CWE-78, Improper Neutralization of Special Elements used in an OS Command ("OS Command Injection").

Full technical POC analysis - root cause, step-by-step exploitation and patch breakdown - is part of the Pro and Business plans.

Executive ViewAI

Why It Matters

Lagoon's core SSH service carries a critical command-injection vulnerability (CVE-2026-113788) that lets any authenticated user with a provisioned account seize administrative control of the entire deployment platform. Teams relying on Lagoon for CI/CD are affected because a single low-privileged developer account-or a compromised one-could be used to alter pipelines, reach secrets, and disrupt releases. No public exploit code has been identified at time of analysis, but every Lagoon core release before v2.33.2 remains exposed and warrants immediate attention from platform owners.

Business Impact: High
Compensating Controls

Apply vendor patch.

Threat Intelligence Overview

EPSS Score
0.3%
Top 77% exploitable
Prevalence
Low
niche Kubernetes application-delivery platform, limited enterprise footprint
Data Quality
5 sources
Confidence: Medium

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity CRITICAL
CISA KEV No
Public POC No
EPSS 0.3%
Patch available Yes
Active threat No
Deciding rule
CRITICAL severity
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation· derived
None
System Exposure· derived
Open
Automatable· derived
No
Human Impact
High

Priority Score

47
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +47
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

OS command injection occurs when an application passes unsanitized user input directly into system shell commands.

Remote Code Execution represents the critical moment when an attacker successfully runs arbitrary code on a target system without physical access.

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy