Skip to content
Heist/ feed
Back to feed
Medium

API key leak in codeium-chrome

Type: advisorySources: OSV

codeium-chrome is an open source code completion plugin for the chrome web browser. The service worker of the codeium-chrome extension doesn't check the sender when receiving an external message. This allows an attacker to host a website that will steal the user's Codeium api-key, and thus impersonate the user on the backend autocomplete server. This issue has not been addressed. Users are advised to monitor the usage of their API key.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2024-28120
Confirmed fixed CVEs
Not specified
Updated in this feed
4 Nov 2026, 13:45 UTC · Revision 1

Source evidence

API key leak in codeium-chrome

core-osv · Original source

Published 11 Mar 2024, 21:14 UTC

codeium-chrome is an open source code completion plugin for the chrome web browser. The service worker of the codeium-chrome extension doesn't check the sender when receiving an external message. This allows an attacker to host a website that will steal the user's Codeium api-key, and thus impersonate the user on the backend autocomplete server. This issue has not been addressed. Users are advised to monitor the usage of their API key.

osv:CVE-2024-28120
Complete source record
{
  "id": "edfda83eff668c4d60ac713d5b0ef8ac61b6a3e7845b2a52413e45bf7f245fe5",
  "url": "https://osv.dev/vulnerability/CVE-2024-28120",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "API key leak in codeium-chrome",
    "summary": "codeium-chrome is an open source code completion plugin for the chrome web browser. The service worker of the codeium-chrome extension doesn't check the sender when receiving an external message. This allows an attacker to host a website that will steal the user's Codeium api-key, and thus impersonate the user on the backend autocomplete server. This issue has not been addressed. Users are advised to monitor the usage of their API key.",
    "evidence": "osv:CVE-2024-28120",
    "products": [],
    "severity": "medium",
    "structured": {
      "id": "CVE-2024-28120",
      "aliases": [
        "CVE-2024-28120",
        "GHSA-8c7j-2h97-q63p"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/exafunction/codeium-chrome",
              "type": "GIT",
              "events": [
                {
                  "introduced": "53351b4b3dba1da3d3f50e3b2cd5c7eb3db3da6e"
                },
                {
                  "last_affected": "53351b4b3dba1da3d3f50e3b2cd5c7eb3db3da6e"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "range": [
                      {
                        "introduced": "0"
                      },
                      {
                        "last_affected": "1.2.52"
                      }
                    ],
                    "source": "AFFECTED_FIELD",
                    "strategy": "StringRangeExpression"
                  },
                  {
                    "cpe": "cpe:2.3:a:codeium:codeium:1.2.52:*:*:*:*:chrome:*:*",
                    "range": [
                      {
                        "introduced": "1.2.52"
                      },
                      {
                        "last_affected": "1.2.52"
                      }
                    ],
                    "source": "CPE_STRING"
                  }
                ]
              }
            }
          ],
          "versions": [
            "1.2.52"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-28120.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:36.309591598Z",
      "provider": "osv",
      "references": [
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/28xxx/CVE-2024-28120.json",
        "https://github.com/Exafunction/codeium-chrome/security/advisories/GHSA-8c7j-2h97-q63p",
        "https://nvd.nist.gov/vuln/detail/CVE-2024-28120",
        "https://securitylab.github.com/advisories/GHSL-2024-027_GHSL-2024-028_codeium-chrome"
      ],
      "provider_metadata": {
        "cwe_ids": [
          "CWE-200",
          "CWE-284"
        ],
        "cna_assigner": "GitHub_M",
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/28xxx/CVE-2024-28120.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2024-28120",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 503277,
  "published_at": "2024-03-11T21:14:22.675+00:00"
}