---
id: CVE-2026-103012
title: >-
  Claude Code selected an API key stored by Claude Code, for example from an
  earlier `/login` or written directly to its configuration, ahead of the user's
  valid Claude Enterprise or Team sign-in when fetching the organization's
  server-man…
summary: >-
  Claude Code selected an API key stored by Claude Code, for example from an
  earlier `/login` or written directly to its configuration, ahead of the user's
  valid Claude Enterprise or Team sign-in when fetching the organization's
  server-man…
severity: low
cvss: 2
cvssVector: 'CVSS:4.0/AV:L/AC:L/AT:P/PR:L/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N'
cwe:
  - CWE-696
vendor: Anthropic
product: '@anthropic-ai/claude-code'
affected:
  - '@anthropic-ai/claude-code >= 2.0.68 < 2.1.260'
published: '2026-09-30'
updated: '2026-09-30'
sourceUpdated: '2026-09-30T12:17:12.303'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2026-103012'
references:
  - url: >-
      https://github.com/anthropics/claude-code/security/advisories/GHSA-gfvf-j8jh-jxxw
    label: 98a01053-8a31-4f6d-9aa9-252be161adc6
tags:
  - nvd
  - cve.org
cvssSource: cna
ingestedAt: '2026-09-30T12:02:58.588Z'
ssvc:
  exploitation: none
  automatable: 'no'
  technicalImpact: partial
  timestamp: '2026-09-30T14:28:28.868892Z'
---

## Overview

Claude Code selected an API key stored by Claude Code, for example from an earlier `/login` or written directly to its configuration, ahead of the user's valid Claude Enterprise or Team sign-in when fetching the organization's server-managed settings, even though the session itself authenticated with the Enterprise or Team account. When the settings endpoint rejected that stored key, the session started without the organization's server-managed policy (such as permission deny rules, model restrictions and managed-only locks) or, if a previously cached copy existed on the machine, kept applying that stale copy without receiving later policy changes — while continuing to operate as the organization's account. Triggering this required local access to a device with such a stored API key; the no-policy case additionally required that no managed settings had previously been cached. Endpoint-managed (MDM or file-based) settings were not affected. Claude for Enterprise organizations were affected from version 2.0.68; Claude for Work (Team) organizations from version 2.1.38, when server-managed settings became available to them.

Users on standard Claude Code auto-update have received this fix already. Users performing manual updates are advised to update to version 2.1.260 or later.

Thank you to Tamas Voros / NVIDIA AI Red Team for reporting this issue.

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.
