Description
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.
Published: 2026-09-30
Score: 2 Low
EPSS: < 1% Very Low
KEV: No
Impact: Policy Bypass
Action: Update
AI Analysis

Impact

Claude Code incorrectly prioritized a locally stored API key, which may have been saved during an earlier login or directly in the application configuration, over the credentials of the authenticated user. When the server rejected that stored key, the application continued to operate under the stale key without loading the organization’s server‑managed policy, such as permission deny rules or model restrictions. This allows an attacker who can read the local configuration or recover a stored key to run the application in an unmanaged mode, potentially using enterprise resources without the intended safeguards.

Affected Systems

Anthropic’s Claude Code was affected for Enterprise users running version 2.0.68 and for Work (Team) users running version 2.1.38, both of which had recently introduced server‑managed settings. Users who have enabled auto‑updates received the fix automatically; users performing manual updates should upgrade to version 2.1.260 or later.

Risk and Exploitability

The CVSS score of 2 indicates a low severity vulnerability. No evidence of public exploits exists and the EPSS score is not available; it is therefore not currently tracked for exploitation potential. The vulnerability requires local access to a device that holds the compromised API key and no previously cached policy, making it an attack requiring physical or remote control of the machine. Because it does not allow remote code execution or privilege escalation beyond bypassing policy controls, it is unlikely to be widely exploited.

Generated by OpenCVE AI on October 1, 2026 at 03:43 UTC.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade Anthropic Claude Code to version 2.1.260 or later.
  • Remove or rotate any locally stored API keys from the application configuration or login history to prevent reuse of stale credentials.
  • After updating, verify that server‑managed policies are being applied; if not, clear cached settings and restart the application to ensure policy enforcement.

Generated by OpenCVE AI on October 1, 2026 at 03:43 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Thu, 01 Oct 2026 00:15:00 +0000

Type Values Removed Values Added
Title API Key Credential Misuse Leading to Unauthorized Policy Application in Claude Code claude-code: claude-code: Security policy bypass via improper credential prioritization
Weaknesses CWE-280
References
Metrics threat_severity

None

cvssV3_1

{'score': 3.3, 'vector': 'CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N'}

threat_severity

Low


Wed, 30 Sep 2026 21:00:00 +0000

Type Values Removed Values Added
First Time appeared Anthropic
Anthropic claude Code
Vendors & Products Anthropic
Anthropic claude Code

Wed, 30 Sep 2026 15:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Wed, 30 Sep 2026 13:15:00 +0000

Type Values Removed Values Added
Title API Key Credential Misuse Leading to Unauthorized Policy Application in Claude Code

Wed, 30 Sep 2026 11:45:00 +0000

Type Values Removed Values Added
Description 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.
Weaknesses CWE-696
References
Metrics cvssV4_0

{'score': 2, 'vector': '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'}


Subscriptions

Anthropic Claude Code
cve-icon MITRE

Status: PUBLISHED

Assigner: Anthropic

Published:

Updated: 2026-09-30T14:28:45.094Z

Reserved: 2026-09-29T21:06:44.918Z

Link: CVE-2026-103012

cve-icon Vulnrichment

Updated: 2026-09-30T14:28:40.911Z

cve-icon NVD

Status : Awaiting Analysis

Published: 2026-09-30T12:17:12.303

Modified: 2026-09-30T16:12:10.307

Link: CVE-2026-103012

cve-icon Redhat

Severity : Low

Publid Date: 2026-09-30T11:30:38Z

Links: CVE-2026-103012 - Bugzilla

cve-icon OpenCVE Enrichment

Updated: 2026-10-01T03:45:17Z

Weaknesses
  • CWE-280

    Improper Handling of Insufficient Permissions or Privileges

  • CWE-696

    Incorrect Behavior Order