# CVE-2026-103012: Security feature bypass in @anthropic-ai/claude-code

> Attackers with local access can bypass enterprise security policies by forcing the tool to use a stale API key instead of the authenticated enterprise account.

- **Severity:** Low 2.0 (`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`)
- **Exploited in the wild:** Not known
- **Login needed:** Any signed-in user
- **Attackable:** Local or same network only
- **Victim action needed:** Not needed
- **Fix available:** No
- **Published:** 30 Sep 2026
- **Updated:** 30 Sep 2026
- **Also known as:** GHSA-gfvf-j8jh-jxxw

## What is CVE-2026-103012?

CVE-2026-103012 is a low-severity vulnerability in @anthropic-ai/claude-code, published on 30 Sep 2026. It can only be exploited from the same machine or local network, with no action from the victim.

### Official 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.

Weakness: CWE-696 (Incorrect Behavior Order)

## Which versions are affected by CVE-2026-103012?


## How do I fix CVE-2026-103012?

No fix has been published for CVE-2026-103012 yet. Limit exposure of the affected software until one is available.

## Is CVE-2026-103012 being exploited?

There is no known exploitation of CVE-2026-103012 in the wild and no public exploit code.

## Fix prompt for AI coding agents

```text
Check this codebase for CVE-2026-103012 and fix it if it is affected.

What it is: CVE-2026-103012 is a low-severity vulnerability in @anthropic-ai/claude-code, published on 30 Sep 2026. It can only be exploited from the same machine or local network, with no action from the victim.
Exploitation: There is no known exploitation of CVE-2026-103012 in the wild and no public exploit code.

Affected product: @anthropic-ai/claude-code. No package-level version data is available, so check the vendor advisory linked from the reference page.

Task:
1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.
2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.
3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.
4. Run the tests and summarise what changed and why.
5. If nothing in the project is affected, say so and change nothing.

Reference: https://insights.sbomify.com/CVE-2026-103012/ (Markdown: https://insights.sbomify.com/CVE-2026-103012/index.md)
```

## Sources

- CVE record: https://www.cve.org/CVERecord?id=CVE-2026-103012
- NVD: https://nvd.nist.gov/vuln/detail/CVE-2026-103012
- OSV: https://osv.dev/vulnerability/CVE-2026-103012

---
From sbomify Insights: https://insights.sbomify.com/CVE-2026-103012/
Summaries are generated and may contain mistakes; the official description above is the record.
