Skip to navigation

Threat reportVulnerabilityTL-2026-4851

Argo CD repo-server unauthenticated RCE via KustomizeOptions --helm-command injection and Redis manifest-cache poisoning (Synacktiv, unpatched, no CVE)

highACTIVE

Synacktiv disclosed an unauthenticated code-execution flaw in the Argo CD repo-server: the internal GenerateManifest gRPC endpoint (port 8081) accepts caller-supplied KustomizeOptions.BuildOptions, allowing kustomize's --helm-command to execute an attacker-controlled script. The Redis password recovered from the pod can then be used to poison cached manifests and deploy attacker workloads on the next sync. First disclosed .

Key facts

IdentifiersTL-2026-4851
Also known asCaught in the Octopus Trap, Argo CD repo-server GenerateManifest RCE, argo-cdown
SeverityHIGH
First disclosed
Affected productsArgo Project (CNCF) Argo CD repo-server; Argo Project (CNCF) Argo CD Helm chart (network policies disabled by default)
Weaknesses (CWE)CWE-306, CWE-78, CWE-88
Toolsargo-cdown
MITRE ATT&CK techniquesT1059.004 Unix Shell, T1190 Exploit Public-Facing Application, T1552 Unsecured Credentials, T1565.001 Stored Data Manipulation, T1610 Deploy Container
MotivationUNKNOWN
Target sectorstechnology, cloud, finance, government administration, health
Target regionsGlobal
Detection rules9 (1 shown free)
Sources5 cited sources

Detection coverage

As of 2026-10-30, Threadlinqs Intelligence publishes 9 detection rule(s) for TL-2026-4851 across Splunk SPL, Microsoft KQL and Sigma, covering 8 indicator(s) of compromise. The whole corpus is readable without an account. Every threat comes with one complete detection in Splunk SPL, Microsoft KQL and Sigma, free for everyone; a free account adds daily TL Creds to unlock the rest. Paid plans add a larger daily allowance, correlation and the MCP server. Threadlinqs MCP server · View plans.

Free detection: Argo CD repo-server Kustomize --helm-command Abuse (GenerateManifest RCE) — Exploitation

Fires when the Argo CD repo-server logs a kustomize invocation whose --helm-command value is anything other than the real helm binary. This is the exploit trigger for the unpatched unauthenticated GenerateManifest flaw (TL-2026-4851, Synacktiv 'Caught in the Octopus Trap'): attacker-supplied KustomizeOptions.BuildOptions such as '--enable-helm --helm-command ./exfil.sh' make kustomize execute a script from the cloned attacker repository inside the repo-server pod.

  • Languages: Splunk SPL, Microsoft KQL, Sigma
  • ATT&CK: T1190, T1059.004
  • Data sources: kubernetes_container_logs:argocd-repo-server
  • Severity: high
  • Confidence: high

Splunk SPL

index=kubernetes sourcetype="kube:container:argocd-repo-server" "--helm-command"
| eval helm_cmd=replace(_raw, "^.*--helm-command[= ]+([^ ]+).*$", "\1")
| where match(_raw, "--helm-command") AND NOT match(helm_cmd, "^(.*/)?helm3?$")
| eval rule_id="TL-2026-4851", technique="T1190,T1059.004"
| stats count AS events min(_time) AS first_seen max(_time) AS last_seen values(helm_cmd) AS helm_cmd values(source) AS pod_log by host, rule_id, technique
| eval first_seen=strftime(first_seen, "%Y-%m-%d %H:%M:%S"), last_seen=strftime(last_seen, "%Y-%m-%d %H:%M:%S")

Microsoft KQL

ContainerLogV2
| where TimeGenerated > ago(24h)
| where ContainerName == "argocd-repo-server"
| where LogMessage has "--helm-command"
| extend HelmCommand = extract(@"--helm-command[= ]+(\S+)", 1, LogMessage)
| where isnotempty(HelmCommand) and HelmCommand !matches regex @"^(.*/)?helm3?$"
| project TimeGenerated, Computer, PodNamespace, PodName, ContainerName, HelmCommand, LogMessage

Sigma

title: Argo CD repo-server Kustomize --helm-command Non-Helm Binary (TL-2026-4851)
id: 7d3b1a52-4851-4c0e-9a11-0f2e6b8c1d01
status: experimental
description: Detects repo-server log lines showing kustomize run with --helm-command pointing at an executable other than helm, the exploit primitive of the Argo CD GenerateManifest unauthenticated RCE.
references:
  - https://www.synacktiv.com/en/publications/caught-in-the-octopus-trap-unauthenticated-rce-in-argo-cd-with-codeql.html
  - https://control-plane.io/posts/argo-cd-repo-server-rce/
author: Threadlinqs Team
date: 2026/10/30
tags:
  - attack.initial_access
  - attack.t1190
  - attack.execution
  - attack.t1059.004
logsource:
  category: application
  product: argo_cd
  service: repo-server
detection:
  selection:
    message|contains|all:
      - 'kustomize'
      - '--helm-command'
  filter_helm:
    message|re: '--helm-command[= ](\S*/)?helm3?(\s|$)'
  condition: selection and not filter_helm
falsepositives:
  - Platform teams intentionally wrapping helm with a vetted script (e.g. helm-secrets wrapper)
level: high

Known false positives:

  • Platform teams that deliberately set --helm-command to a vetted wrapper such as helm-secrets
  • Developer test clusters exercising kustomize Helm inflation

Tuning notes: Log the repo-server at info level so exec commands are recorded. Allowlist approved wrapper paths by extending the NOT match() regex. Adjust index/sourcetype to your Splunk Connect for Kubernetes or OTel container-log mapping.

8 more detection rules (Splunk SPL, Microsoft KQL, Sigma) · unlock with TL Creds. Sign up free to unlock the detection rules or query them with the Threadlinqs MCP server (Purple)
  • Kustomize Process Launched with --helm-command Non-Helm Value — Exploitation · unlock with TL Creds
  • Shell or Tool Spawned by Kustomize in Argo CD repo-server — Post-Exploitation · unlock with TL Creds
  • Shell or Redis Client Connecting to Argo CD Redis/repo-server Ports — C2 / Lateral Movement · unlock with TL Creds
  • Execution from Argo CD Repo Checkout Directory (/tmp/_argocd-repo) — Exploitation · unlock with TL Creds
  • argo-cdown / Redis Manifest-Cache Poisoning Command Line — Post-Exploitation · unlock with TL Creds
  • Argo CD Application Controller Deploying Privileged Workload — Impact (Poisoned Manifest Sync) · unlock with TL Creds
  • Argo CD Redis Password Read from Repo-Server Environment — Post-Exploitation · unlock with TL Creds
  • Unexpected Client Access to Argo CD Redis (6379) and repo-server (8081) — C2 / Lateral Movement · unlock with TL Creds

Indicators of compromise

As of 2026-10-30, Threadlinqs Intelligence tracks 8 indicators of compromise for TL-2026-4851.

8 indicators of compromise · unlock with TL Creds. Compare plans

Technical analysis

Reported to maintainers in January 2025; no patch or CVE had been issued at publication, and no in-the-wild exploitation was reported.

Argo CD is a widely deployed Kubernetes GitOps controller. Its repo-server component fetches Git repositories and renders manifests (Helm, Kustomize, plain YAML) for the other Argo CD components. Synacktiv (researcher Hugo Vincent) used a custom CodeQL model pack, which treated gRPC API-method parameters as remote flow sources and os/exec.Command/CommandContext arguments as sinks, to trace tainted data through the roughly 238,000-line Go code base.

The data flow is ManifestRequest -> KustomizeOptions.BuildOptions -> parseKustomizeBuildOptions() -> exec.Command(getBinaryPath(), params...) in kustomize.go. The repo-server gRPC service on TCP 8081 performs no authentication, so any client that can reach the port can call /repository.RepoServerService/GenerateManifest with its own BuildOptions string. Kustomize's Helm chart inflation supports --helm-command, which selects the binary used in place of helm. By pointing a Git repository's kustomization.yaml at a Helm chart and supplying '--enable-helm --helm-command ./exfil.sh' (a script shipped in the attacker-controlled repository, which Argo CD clones into the working directory), the attacker gets command execution inside the repo-server pod. The KustomizeOptions.BinaryPath override also reaches exec but needs cluster-level configuration access.

Second stage: from the repo-server pod the attacker reads the Redis password from an environment variable and connects to Argo CD's Redis (TCP 6379). Redis is typically unauthenticated at the network layer, because network policies are disabled by default in the Helm chart deployment. The attacker adds a malicious Kubernetes manifest (JSON) to a cached 'mfst|...' entry and modifies the 'git-refs|...' entry so that Argo CD sees a new commit SHA. With auto-sync (or a manual sync) the poisoned manifest is deployed with Argo CD's cluster privileges, leading to arbitrary workload deployment and potential cluster takeover. Synacktiv's argo-cdown tool automates the Redis stage (list/get/set data and add-manifest); its public release was withheld to give defenders time to apply network policies.

The flaw was demonstrated against Argo CD v2.13.3; earlier versions are likely affected, and a full version list has not been published. Synacktiv reported it in January 2025 and said repeated follow-ups through GitHub and email went unanswered. Publication followed on 2026-07-01 (the page's '01/07/2026' is DD/MM/YYYY; the hunt skeleton's 2026-01-07 date is a misreading). A separate partial fix covers the Helm chart network-policy misconfiguration (GHSA-47m3-95c7-g2g8, referenced by the researchers; the GitHub advisory page could not be retrieved for verification). Secondary reporting (The Hacker News, Cloud Security Alliance, Control Plane) states there is no patched version and no evidence of active exploitation. The defense is network isolation of the repo-server and Redis. The severity is analyst-assigned, and no CVSS score is published.

MITRE ATT&CK techniques by tactic:

Execution

T1059.004 Unix Shell; T1610 Deploy Container

Initial Access

T1190 Exploit Public-Facing Application

Credential Access

T1552 Unsecured Credentials

Impact

T1565.001 Stored Data Manipulation

Remediation

Patches

  • No patched Argo CD release for the repo-server RCE at publication; monitor the argoproj/argo-cd repository for a fix
  • Partial fix for the Helm chart network-policy misconfiguration tracked as GHSA-47m3-95c7-g2g8

Immediate actions

  • Enable Kubernetes NetworkPolicies so the repo-server (TCP 8081) and Redis (TCP 6379) are reachable only from Argo CD components (API server, application controller, notifications controller, applicationset controller)
  • Run 'kubectl get networkpolicy -A' and confirm an argocd-repo-server network policy exists
  • In the Helm chart set networkPolicy.create: true and networkPolicy.defaultDenyIngress: true
  • Rotate the Argo CD Redis password and remove it from pod environment variables where possible

Workarounds

  • Network isolation of the repo-server and Redis is the only available mitigation
  • Review pod network reachability to the Argo CD namespace from other workloads

Longer-term hardening

  • Treat GitOps platforms as tier-zero infrastructure with enhanced segmentation
  • Enable TLS and authentication for Redis
  • Scope AppProjects to restrict permitted source repositories and destinations, and apply least-privilege RBAC to sync service accounts
  • Enable audit logging on the repo-server and Redis, and monitor GenerateManifest requests and Redis writes

Affected and fixed versions

  • Argo Project (CNCF) — Argo CD repo-server
    Vulnerable versions: v2.13.3 (tested); earlier versions likely affected
  • Argo Project (CNCF) — Argo CD Helm chart (network policies disabled by default)
    Vulnerable versions: default deployments
    Fixed in: partial fix per GHSA-47m3-95c7-g2g8

Timeline

  • Synacktiv reports the repo-server flaw to the Argo CD maintainers (source gives only 'January 2025'; day not stated, so the 1st is a placeholder)
  • Follow-ups via GitHub and email go unanswered, per Synacktiv; exact dates not stated, so this entry is approximate
  • The Hacker News and others report the flaw as unpatched, with no evidence of exploitation in the wild
  • argo-cdown PoC tool withheld at disclosure to give administrators time to apply network policies; planned for later GitHub release
  • Synacktiv publishes 'Caught in the Octopus Trap' detailing the unauthenticated GenerateManifest RCE and the Redis manifest-poisoning chain; no CVE or patch exists
  • Cloud Security Alliance publishes a research note on the risk to AI/ML GitOps pipelines and recommends network isolation and audit logging
  • Control Plane publishes mitigation and detection guidance: default-deny NetworkPolicy for ports 8081 and 6379, Redis TLS, AppProject scoping

Sources cited

Previous and next in vulnerability

Drafted by the Threadlinqs research pipeline from 5 sources; published ; last updated —.

Threadlinqs Intelligence — Real-Time Threat Detection Platform

// threat_feed
$ sort --newest
Showing all threats

Live intelligence console

Threat level

Latest Threats