{"id":"GHSA-jj8j-82j2-7ph7","aliases":[],"summary":"Secret masking is skipped when last-applied-configuration is not valid JSON (incomplete fix for CVE-2026-45737)","published_at":"2026-11-20T04:04:43Z","modified_at":"2026-11-20T04:04:43Z","products":[{"slug":"argo-cd","name":"Argo CD","category":"gitops-cicd"}],"rating":{"severity":"medium","score":6.3,"vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:H/I:N/A:N","attack_path":"internet_authenticated","user_interaction":false,"malicious":false},"fix_available":true,"kev":{"listed":false,"ransomware":false},"public_exploit":false,"exploits":[],"priority":8.3,"record_count":1,"vendors":["GitHub"],"details":"### Impact\n\nThe fix for [GHSA-rg3g-4rw9-gqrp](https://github.com/argoproj/argo-cd/security/advisories/GHSA-rg3g-4rw9-gqrp) (CVE-2026-45737) masks Secret values stored in the `kubectl.kubernetes.io/last-applied-configuration` annotation before showing diffs. It only did so when the annotation contained valid JSON. If a Secret's annotation could not be parsed, the masking step was skipped and the annotation, including any plaintext `data` or `stringData` values in it, was returned unmasked. Users who can view the Application's diff, including through server-side diff, could read those values.\n\nThe affected versions are those that include the CVE-2026-45737 fix but not this one: v3.2.12 and later 3.2 releases, v3.3.10 through v3.3.13, v3.4.2 through v3.4.6, and v3.5.0. Earlier versions are affected by CVE-2026-45737 itself.\n\nAn attacker needs permission to view the Application, and the live Secret must carry a `last-applied-configuration` annotation that isn't valid JSON.\n\n### Patches\n\nA patch for this vulnerability has been released in the following Argo CD versions:\n\n* v3.6.0\n* v3.5.1\n* v3.4.7\n* v3.3.14\n\nSecret masking now fails closed: an annotation that can't be parsed is replaced entirely.\n\n### Workarounds\n\n* Remove the `kubectl.kubernetes.io/last-applied-configuration` annotation from Secrets, or manage them with [server-side apply](https://argo-cd.readthedocs.io/en/stable/user-guide/sync-options/#server-side-apply), which doesn't add it.\n* Limit who can view Applications that manage Secrets using [RBAC](https://argo-cd.readthedocs.io/en/stable/operator-manual/rbac/).\n\n### Credits\n\nThe Argo CD team would like to thank @MarwenOnGit for responsibly disclosing this issue. The Argo CD team also found and fixed it independently; thanks to @pjiang-dev and @agaudreault for the fix.\n\n### References\n\n* Fix: [994e271bc](https://github.com/argoproj/argo-cd/commit/994e271bcc3c591540bbe778bf09df303dcbf5f7) ([#28989](https://github.com/argoproj/argo-cd/pull/28989))\n* Incomplete fix of: [GHSA-rg3g-4rw9-gqrp](https://github.com/argoproj/argo-cd/security/advisories/GHSA-rg3g-4rw9-gqrp) (CVE-2026-45737)\n\n### For more information\n\n* Open an issue in [the Argo CD issue tracker](https://github.com/argoproj/argo-cd/issues) or [discussions](https://github.com/argoproj/argo-cd/discussions)\n* Join us on [Slack](https://argoproj.github.io/community/join-slack) in channel #argo-cd","affected_stack":[{"ecosystem":"Go","package":"github.com/argoproj/argo-cd/v3","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.3.0 || >= 3.3.10"}]},{"type":"ECOSYSTEM","events":[{"introduced":"3.3.0"},{"fixed":"3.3.14 || >= 3.4.2"}]},{"type":"ECOSYSTEM","events":[{"introduced":"3.4.0"},{"fixed":"3.5.1"}]}],"fixed":["3.3.0 || >= 3.3.10","3.3.14 || >= 3.4.2","3.5.1"],"provider":"github-repo-advisories","source":"GHSA-jj8j-82j2-7ph7","relation":"self"}],"affected_other":[],"product_status":[],"records":[{"provider":"github-repo-advisories","source_id":"GHSA-jj8j-82j2-7ph7","relation":"self","url":"https://github.com/argoproj/argo-cd/security/advisories/GHSA-jj8j-82j2-7ph7","license":"GitHub Terms of Service","published_at":"2026-11-20T04:04:43Z","modified_at":"2026-11-20T04:04:43Z","summary":"Secret masking is skipped when last-applied-configuration is not valid JSON (incomplete fix for CVE-2026-45737)","details":"### Impact\n\nThe fix for [GHSA-rg3g-4rw9-gqrp](https://github.com/argoproj/argo-cd/security/advisories/GHSA-rg3g-4rw9-gqrp) (CVE-2026-45737) masks Secret values stored in the `kubectl.kubernetes.io/last-applied-configuration` annotation before showing diffs. It only did so when the annotation contained valid JSON. If a Secret's annotation could not be parsed, the masking step was skipped and the annotation, including any plaintext `data` or `stringData` values in it, was returned unmasked. Users who can view the Application's diff, including through server-side diff, could read those values.\n\nThe affected versions are those that include the CVE-2026-45737 fix but not this one: v3.2.12 and later 3.2 releases, v3.3.10 through v3.3.13, v3.4.2 through v3.4.6, and v3.5.0. Earlier versions are affected by CVE-2026-45737 itself.\n\nAn attacker needs permission to view the Application, and the live Secret must carry a `last-applied-configuration` annotation that isn't valid JSON.\n\n### Patches\n\nA patch for this vulnerability has been released in the following Argo CD versions:\n\n* v3.6.0\n* v3.5.1\n* v3.4.7\n* v3.3.14\n\nSecret masking now fails closed: an annotation that can't be parsed is replaced entirely.\n\n### Workarounds\n\n* Remove the `kubectl.kubernetes.io/last-applied-configuration` annotation from Secrets, or manage them with [server-side apply](https://argo-cd.readthedocs.io/en/stable/user-guide/sync-options/#server-side-apply), which doesn't add it.\n* Limit who can view Applications that manage Secrets using [RBAC](https://argo-cd.readthedocs.io/en/stable/operator-manual/rbac/).\n\n### Credits\n\nThe Argo CD team would like to thank @MarwenOnGit for responsibly disclosing this issue. The Argo CD team also found and fixed it independently; thanks to @pjiang-dev and @agaudreault for the fix.\n\n### References\n\n* Fix: [994e271bc](https://github.com/argoproj/argo-cd/commit/994e271bcc3c591540bbe778bf09df303dcbf5f7) ([#28989](https://github.com/argoproj/argo-cd/pull/28989))\n* Incomplete fix of: [GHSA-rg3g-4rw9-gqrp](https://github.com/argoproj/argo-cd/security/advisories/GHSA-rg3g-4rw9-gqrp) (CVE-2026-45737)\n\n### For more information\n\n* Open an issue in [the Argo CD issue tracker](https://github.com/argoproj/argo-cd/issues) or [discussions](https://github.com/argoproj/argo-cd/discussions)\n* Join us on [Slack](https://argoproj.github.io/community/join-slack) in channel #argo-cd","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:H/I:N/A:N","source":"GHSA-jj8j-82j2-7ph7"}],"affected":[{"ecosystem":"Go","package":"github.com/argoproj/argo-cd/v3","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.3.0 || >= 3.3.10"}]},{"type":"ECOSYSTEM","events":[{"introduced":"3.3.0"},{"fixed":"3.3.14 || >= 3.4.2"}]},{"type":"ECOSYSTEM","events":[{"introduced":"3.4.0"},{"fixed":"3.5.1"}]}],"fixed":["3.3.0 || >= 3.3.10","3.3.14 || >= 3.4.2","3.5.1"],"provider":"github-repo-advisories","source":"GHSA-jj8j-82j2-7ph7","relation":"self"}],"product_status":[],"references":[{"type":"ADVISORY","url":"https://github.com/argoproj/argo-cd/security/advisories/GHSA-jj8j-82j2-7ph7"}]}],"references":[{"type":"ADVISORY","url":"https://github.com/argoproj/argo-cd/security/advisories/GHSA-jj8j-82j2-7ph7"}],"sources":[{"provider":"github-repo-advisories","source_id":"GHSA-jj8j-82j2-7ph7","url":"https://github.com/argoproj/argo-cd/security/advisories/GHSA-jj8j-82j2-7ph7","license":"GitHub Terms of Service","modified_at":"2026-11-20T04:04:43Z","relation":"self"}]}
