# Argo CD's API server does not enforce project sourceNamespaces

Advisory record · `GHSA-2gvw-w6fj-7m3c`

- **Identifiers:** `GHSA-2gvw-w6fj-7m3c` · `BIT-argo-cd-2024-31990` · `CVE-2024-31990` · `GO-2024-2728`
- **State:** Confirmed
- **Severity:** CVSS 4.8 Medium
- **Critical:** No
- **Weakness (CWE):** [CWE-863](https://cwe.mitre.org/data/definitions/863.html)
- **Tags:** [Broken access control](https://agentprime.io/advisories/tag/access-control.md)
- **Published:** 15 Apr 2024
- **Updated:** 7 Aug 2026
- **Reviewed by a person:** No

Published by the GitHub Advisory Database at 15 Apr 2024, 20:20 UTC. agentprime has not analysed this yet, so whether it affects any app is not known.

## Affected packages

- `github.com/argoproj/argo-cd/v2` (Go): affected `>=2.4.0, <2.8.16 || >=2.9.0, <2.9.12 || >=2.10.0, <2.10.7`; fixed in `2.8.16`, `2.9.12`, `2.10.7`

## Machine-written summary

Summary written by Claude Haiku from the source advisory. Not reviewed by a person.

> Argo CD versions 2.4.0 through 2.8.15, 2.9.0 through 2.9.11, and 2.10.0 through 2.10.6 are affected. The API server does not enforce a project's sourceNamespaces setting, so a user with limited application permissions can create an Application in a namespace the project should not allow and later move it into a different project, then edit it through the UI despite the admin restricting changes to GitOps only. Upgrade to 2.8.16, 2.9.12, or 2.10.7.

Written 6 Nov 2026.

## Not analysed yet

We haven’t published our analysis of this Advisory yet. Once a person has reviewed it, this page will say what’s vulnerable, what has to be true for your app to be affected, and how to check.

## Severity and exploitation

- 4.8 Medium, CVSS 3.1: `CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:N/I:N/A:H`, from CNA (GitHub_M)

- **CISA KEV:** Not listed.
- **EPSS:** 0.0044, the 39th percentile, on 21 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.

## Timeline

- 15 Apr 2024, 10:45 UTC: [Published by the maintainers as a GitHub repository advisory](https://github.com/argoproj/argo-cd/security/advisories/GHSA-2gvw-w6fj-7m3c)
- 31 Oct 2026, 14:53 UTC: First seen by agentprime
- 31 Oct 2026, 14:53 UTC: [Confirmed by OSV](https://osv.dev/vulnerability/GHSA-2gvw-w6fj-7m3c)

## Sources

- [GitHub Advisory Database: GHSA-2gvw-w6fj-7m3c](https://github.com/advisories/GHSA-2gvw-w6fj-7m3c)
- [OSV: GHSA-2gvw-w6fj-7m3c](https://osv.dev/vulnerability/GHSA-2gvw-w6fj-7m3c)
- <https://github.com/argoproj/argo-cd/security/advisories/GHSA-2gvw-w6fj-7m3c>
- <https://nvd.nist.gov/vuln/detail/CVE-2024-31990>
- <https://github.com/argoproj/argo-cd/commit/c514105af739eebedb9dbe89d8a6dd8dfc30bb2c>
- <https://github.com/argoproj/argo-cd/commit/c5a252c4cc260e240e2074794aedb861d07e9ca5>
- <https://github.com/argoproj/argo-cd/commit/e0ff56d89fbd7d066e9c862b30337f6520f13f17>
- <https://github.com/argoproj/argo-cd>

Facts on this page come from the GitHub Advisory Database (CC-BY 4.0), OSV and the other sources listed, as published. We don’t reproduce full advisory descriptions, which can contain exploit code.

## Check whether this affects you

A Match means an installed version is in the affected range above. Most don’t affect the app; agentprime hasn’t analysed this one yet.

- With the agentprime MCP server (<https://api.agentprime.io/mcp>), ask your agent to check the project: `check_lockfile` sends a lockfile, `check_packages` a list of installed packages, and both return the Matches and the upgrades that clear them. `get_advisory` returns this record. Setup: <https://agentprime.io/mcp.md>
- In a browser: <https://agentprime.io/check/> reads your lockfile in the browser, never uploading it.
- Whether it touches your code, with file and line: the Claude Code plugin, <https://agentprime.io/plugin.md>
- As JSON: <https://api.agentprime.io/v1/advisories/GHSA-2gvw-w6fj-7m3c>, or `POST https://api.agentprime.io/v1/match` with your packages (<https://agentprime.io/api.md>)

---

The web page: <https://agentprime.io/advisories/GHSA-2gvw-w6fj-7m3c/>. Everything for agents: <https://agentprime.io/llms.txt>.
