{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "extracted_events": [
              {
                "introduced": "0"
              },
              {
                "fixed": "12.128.2"
              }
            ],
            "source": [
              "AFFECTED_FIELD",
              "DESCRIPTION"
            ]
          },
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "6685e5f11adef257bf3d085e481f4d8ebcec602e"
            }
          ],
          "repo": "https://github.com/Cap-go/capgo.app",
          "type": "GIT"
        }
      ]
    }
  ],
  "aliases": [
    "GHSA-j2f4-4pfc-p8rx"
  ],
  "database_specific": {
    "cna_assigner": "VulnCheck",
    "cwe_ids": [
      "CWE-320"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/56xxx/CVE-2026-56254.json"
  },
  "details": "In @capgo/capacitor-updater (Cap-go/capgo) before 12.128.2, the end-to-end encryption scheme distributes the private key to each device that downloads the app. Because the public key can be derived from the private key, an attacker performing a man-in-the-middle attack or compromising the Capgo server can create a validly signed update bundle and cause devices to install an update not produced by the original app maker.",
  "id": "CVE-2026-56254",
  "modified": "2026-08-12T03:51:19.670693600Z",
  "published": "2026-07-10T13:57:52.184Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/56xxx/CVE-2026-56254.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/Cap-go/capgo/security/advisories/GHSA-j2f4-4pfc-p8rx"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-56254"
    },
    {
      "type": "ADVISORY",
      "url": "https://www.vulncheck.com/advisories/capacitor-updater-end-to-end-encryption-bypass-via-private-key-distribution"
    }
  ],
  "schema_version": "1.9.0",
  "severity": [
    {
      "score": "CVSS:4.0/AV:N/AC:H/AT:N/PR:N/UI:N/VC:L/VI:H/VA:L/SC:N/SI:N/SA:N",
      "type": "CVSS_V4"
    }
  ],
  "summary": "capacitor-updater - End-to-End Encryption Bypass via Private Key Distribution"
}