All vulnerabilities

Servers and applications

GHSA-mfgm-4p7x-3ccr

Repository create with upsert overwrites existing repositories without the update permission

Severity
High 7.7
Published
24 Nov 2026
Last changed
24 Nov 2026
Added to UpHeron
24 Nov 2026
Fixed in
3.4.15, 3.5.9, 3.6.3
Weakness
Incorrect authorization (CWE-863)
Attack
Over the network · Needs a user account · No user action needed
Attacker can
Change data
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:N/I:H/A:N
Sources
Project advisories (GitHub)

Description

When a repository or write repository already exists, a create request with the upsert option overwrites it while checking only the create permission. Direct updates require update. A user who may add repositories (repositories, create) or write repositories (write-repositories, create), but is not allowed to change them, can overwrite the configuration of an existing repository with the same URL and project. This covers its credentials, proxy, no-proxy list, TLS and SSH settings, and the insecure flag. The caller does not need to read the existing repository first. Any field left out of the request is cleared.

An attacker can point an existing repository at a proxy they control. Argo CD then fetches manifests through that proxy (for an HTTPS repository, the attacker also sets insecure), so the attacker can serve their own revision. Applications that use the repository, including ones with automated sync, then deploy the attacker's manifests to their destination clusters.

From argoproj/argo-cd's security advisory. Shortened; the full text is there.

Workarounds

Until you can upgrade, do not grant repositories, create or write-repositories, create to any role that should not also be able to update those repositories. Review your RBAC policies, including project roles used for project-scoped repositories, and either remove the create grant or limit its object pattern so it does not match repositories that already exist.

Workarounds as given by argoproj/argo-cd's security advisory.

Affected software

SoftwareAffected versions
Argo CDServers and applications · github:argoproj/argo-cd
  • From 2.14.0 before 3.4.15
  • From 3.5 before 3.5.9
  • From 3.6 before 3.6.3

About Argo CD

Declarative Continuous Deployment for Kubernetes

From its GitHub repository.
Docker Hub pulls
149,277,303Docker Hub, 22 Nov 2026
GitHub stars
24,671GitHub, 22 Nov 2026
Forks
8,111GitHub, 22 Nov 2026
Latest release
v3.6.2GitHub, 22 Nov 2026
Released
18 Nov 2026GitHub
License
Apache-2.0GitHub
First published on GitHub
9 Feb 2018GitHub

Release lines

ReleaseLatestSecurity fixes
3.63.6.2Yes
3.53.5.8Yes
3.43.4.14Yes
3.33.3.19Ended 4 Nov 2026
3.23.2.12Ended 4 Aug 2026
3.13.1.16Ended 5 May 2026

From endoflife.date.

References