Does Claude Code's advisory record meet our security review for known incidents?
Claude Code's disclosed vulnerabilities are published as GitHub security advisories on the anthropics/claude-code repository, which listed 36 published advisories when read in November 2026 (GitHub security advisories for Claude Code). The entries relevant to this review include sandbox escapes, a file write outside the workspace, a managed settings bypass and a plugin commit SHA pin bypass. Your reviewer should read each advisory against the versions your teams actually run, because the affected range determines exposure. Ask which advisories touch the sandbox, the Edit tool, managed settings and plugins, and record the affected and patched versions beside each one.
Fixes reach users automatically only on standard auto-update. Anthropic's advisories state that users on standard auto-update already receive fixes, while users who update manually must upgrade themselves. For GHSA-7835-87q9-rgvv (CVE-2026-55607, rated high with a CVSS score of 7.7), the affected versions run from 2.1.38 before 2.1.163, and the advisory points to 2.1.163 or later as the fix. Confirm on every machine which install method and update channel is in use, then check the installed version against the patched release for each advisory. Any machine on a manual update path needs its own version check, because no automatic fix will arrive there.
The advisory record is one input to your decision, and it does not clear Claude Code on its own. A published list shows what was reported and disclosed, not what remains undisclosed, and the count will change as new advisories are published. The managed settings advisory, GHSA-gfvf-j8jh-jxxw (rated low), means enterprise policy was not applied when a stored API key was preferred over enterprise sign-in, so confirm that your managed settings enforce the sign-in method on every endpoint. Record the review date, the advisory count you saw, and the minimum version you require, then schedule a repeat check against the live list.
Disclosed advisories by severity, dates and fixed versions
This table compares the four Claude Code advisories covered by our research on issue type, rating, publication date, affected scope and the fix or upgrade step. Read the fixed version column first, because only one advisory gives a version in the supplied facts, and check each advisory page before deciding a machine is current.
| Advisory | Issue and rating | Published and scope | Fix or upgrade step |
|---|---|---|---|
| GHSA-7835-87q9-rgvv (CVE-2026-55607) | Sandbox escape through git worktree path confusion; high, CVSS 7.7 | Published June 25, 2026; versions from 2.1.38 before 2.1.163; exploitation needed a malicious repository with prompt injection content | Upgrade to 2.1.163 or later; standard auto-update receives the fix, manual updaters must upgrade themselves |
| GHSA-5xjx-9qx6-jcrv | TOCTOU race in the Edit tool allowing file writes outside the workspace; high | Published October 26, 2026; affected versions not stated in supplied facts | No fixed version given in our facts; confirm on the advisory page |
| GHSA-gfvf-j8jh-jxxw | Managed settings not applied when a stored API key was preferred over enterprise sign-in; low | Published September 29, 2026; affects machines where a stored key overrode enterprise sign-in | No fixed version given in our facts; confirm on the advisory page and verify managed settings on each machine |
| GHSA-pq7j-f95f-qfcv | Plugin commit SHA pin bypass allowing installation of attacker-controlled code; high | Published October 9, 2026; affected versions not stated in supplied facts | No fixed version given in our facts; confirm on the advisory page and review installed plugins |
How a sandbox escape, a write outside the workspace and a settings bypass work
The three published Claude Code advisories in this group each defeated a different control layer, and that difference decides what an admin should check. The first, GHSA-7835-87q9-rgvv (CVE-2026-55607, high, CVSS 7.7), was a sandbox escape caused by path confusion around git worktrees. Exploitation required running Claude Code against a malicious repository that also carried prompt injection content, so the agent was steered into treating repository-supplied paths as trusted. The sandbox boundary was the layer that failed. Affected versions ran from 2.1.38 before 2.1.163.
The second, GHSA-5xjx-9qx6-jcrv (published October 26, 2026, rated high), was a time-of-check to time-of-use race in the Edit tool. Claude Code checked that a target path was inside the workspace, but the file could change between that check and the write, so the write could land outside the working directory. This defeated the working directory boundary, which is a separate control from the OS-level sandbox. A workspace check that passes once is not enough if the path can be swapped before the write happens.
The third, GHSA-gfvf-j8jh-jxxw (published September 29, 2026, rated low), was a managed settings bypass. When a stored API key was preferred over enterprise sign-in, managed settings were not applied, so the controls an administrator had pushed to the machine could be skipped. This defeated managed settings precedence rather than any runtime guard. Because the settings layer is the one admins rely on to enforce policy, a bypass here weakens every other control that depends on it. For each advisory, confirm the affected range, the patched version and whether your fleet auto-updates before you assume a control still holds.
Where each disclosed flaw sits in the enforcement path
The diagram starts with a malicious repository or plugin whose content carries prompt injection into a developer session. The input passes the plugin pin check, the managed settings check and the permission rules before it reaches the Edit tool and the Bash sandbox. Each advisory node marks the control it bypassed: the plugin pin, the API key precedence issue, the Edit tool race and the sandbox escape. For each machine, confirm that managed settings are enforced at startup, that the installed version includes the fix, and that auto-update is working.
Disclosed advisories mapped to the controls they bypassed.
Which Claude Code controls would have limited each incident
No single control covers every published Claude Code advisory. Each card names the advisory it bears on, what the control would have limited, and what it would have left open, so reviewers can match controls to the risks they accept.
OS-level Bash sandbox
The Bash sandbox runs shell commands under operating system isolation for filesystem and network access. It is the control closest to the sandbox escape in GHSA-7835-87q9-rgvv, which required running Claude Code against a malicious repository with prompt injection content and affects versions from 2.1.38 before 2.1.163. Confirm whether your admins can make the sandbox mandatory on every managed machine. It would not have covered file writes made by the Edit tool, the path in GHSA-5xjx-9qx6-jcrv, so check which tools run inside the isolation boundary.
Read the advisoryPermission rules and Manual mode
Allow and deny rules, together with Manual mode, decide which actions run without a person approving them. Against the prompt injection path in GHSA-7835-87q9-rgvv, a tighter ruleset and per-action approval would have stopped many injected commands before they ran. Approval prompts do not help when the flaw sits in a tool's own write path. If the defect bypasses the permission check, as a race in the Edit tool could, no prompt appears. Check which mode your developers use and whether deny rules cover paths outside the project.
Managed settings enforced at endpoint
Endpoint-managed settings, delivered through MDM or managed-settings.json, set policy that developers cannot override locally. GHSA-gfvf-j8jh-jxxw, rated low and published September 29, 2026, describes managed settings not applied when a stored API key was preferred over enterprise sign-in. Endpoint enforcement was the layer under test there. After each update, verify the effective policy on a sample of managed machines. Managed settings govern configuration, so they would not have stopped a tool-level write flaw such as the Edit tool race in GHSA-5xjx-9qx6-jcrv.
Plugin allowlisting and restriction
GHSA-pq7j-f95f-qfcv, rated high and published October 9, 2026, describes a plugin commit SHA pin bypass that allowed installing attacker-controlled code. Allowlisting approved plugin sources blocks installs from unapproved origins. Pinning approved plugins to reviewed versions also keeps approved code from changing without review. It would not have stopped a plugin your team approved that later proved malicious, and it does not address the sandbox or write defects in the other advisories. Check which plugin sources developers can add on their own machines.
How admin response changes by machine management model
Installs on standard auto-update receive fixes without any action from the user or the admin, according to the advisories published on the anthropics/claude-code repository. For these machines the main question is not whether a fix will arrive but whether the update channel is working and whether the installed version has moved past the affected range. An admin should confirm that auto-update has not been disabled by a local setting, a policy or a broken network path, since a machine that silently stops updating will keep the old version.
- Confirm the update channel: check that auto-update is enabled on managed machines and has not been turned off by a local or policy setting.
- Check the installed version: run
claude --versionon a sample of machines and compare it with the patched versions listed for each advisory. - Watch for stalled updates: look for machines that report an old version long after a release, since these may be blocked by network or proxy rules.
- Record the date: keep a dated record of the version found on each machine so the timeline of exposure can be reconstructed later.
- Review the advisory fix range: match each advisory's affected range against the version inventory rather than assuming the latest release is installed.
The check to run is a version inventory against the advisory's affected range, repeated after each new advisory is published.
Installs that users update themselves, whether through the npm package @anthropic-ai/claude-code or the native installer, do not receive fixes until someone upgrades them. Anthropic's advisories state that manual updaters must upgrade themselves, so the exposure window for these machines lasts as long as the install is left unchanged. The admin response here is to push or prompt an upgrade and to verify that it happened, because nothing in the normal workflow will do it for the user.
- Separate the two install paths: an npm install and a native install are upgraded by different commands, so the inventory should record which path each machine uses.
- Set a target version: for CVE-2026-55607 the advisory names 2.1.163 or later as the fixed release, so use that version or a later one as the minimum.
- Upgrade and re-check: after an upgrade, confirm the installed version rather than trusting the command's exit status.
- Track stragglers: list machines still below the minimum version and assign owners to bring each one up to date.
- Plan for personal machines: developers who use Claude Code on machines you do not manage need a clear instruction, since these installs are the most likely to remain on an affected version.
Confirm the installed version and the install path on every manually updated machine, and keep the list of machines below the minimum version until it is empty.
Machines outside endpoint management include contractor laptops, personal devices used for work, and any workstation where the organization cannot push software or read its version. These installs have the weakest visibility, so the admin response depends on learning they exist before a fix can be checked. Since the advisories say patched versions must be installed by the user on manual paths, an unmanaged machine should be treated as exposed until its version has been confirmed.
- Find the installs: ask developers to report Claude Code installs on unmanaged devices and check access logs or onboarding records where they exist.
- Require a version report: make a current version statement a condition for keeping access to company repositories or Claude Code accounts.
- Limit what unmanaged installs can reach: confirm which repositories, credentials and internal networks those machines can use, because sandbox and permission issues matter most where the agent can read sensitive files.
- Set a removal path: decide in advance whether a machine that cannot be upgraded loses access to company resources.
- Confirm the managed settings do not apply: managed settings only reach machines where they are deployed, so an unmanaged install is outside the controls you set centrally.
For each unmanaged machine, confirm the installed version, the install path and the resources it can reach before treating the risk as closed.
Checks to run on managed machines before approving use
This sequence confirms that every managed machine runs a Claude Code build that includes the fixes for the published advisories, that the update path will keep it there, and that managed settings hold under the sign-in conditions the advisories describe. Each step produces a record you can attach to the approval decision.
Inventory every Claude Code installation
The IT or endpoint team lists each machine where Claude Code is present, covering both the npm package @anthropic-ai/claude-code and the native installer, since the two are installed and updated separately. For each machine, record the install method, the user account, and the exact installed version reported by the binary. The step is done when the inventory accounts for every endpoint in your device management system and no installation is unidentified.
Confirm the update channel for each install
For each installation, confirm whether it follows standard auto-update or whether a user or script updates it manually. Advisories state that auto-update users receive fixes automatically, while manual updaters must upgrade themselves. Mark every manual install as a remediation item, and note any machine where auto-update is disabled by policy. The step is done when each installation carries a recorded update method and every manual install has an owner.
Compare versions against each advisory's fixed release
Read each published advisory on the anthropics/claude-code security advisories page and note its affected range and fixed release. For example, the sandbox escape in GHSA-7835-87q9-rgvv affects versions from 2.1.38 before 2.1.163, so a machine must be at 2.1.163 or later. Check each inventoried version against every advisory that applies, not only the most recent one. The step is done when every machine is recorded as at or above the fixed release for each applicable advisory, or is listed for upgrade.
Verify managed settings under mixed sign-in
Test the case the managed settings advisory describes: a machine where enterprise sign-in is active and a stored API key is also present. The advisory GHSA-gfvf-j8jh-jxxw reports that managed settings were not applied in that state when the stored key was preferred. On a test machine in that condition, confirm that the policy you depend on, such as the allowed login method and the restrictions you have set, is in effect after the client starts. Also confirm the version on that machine includes the fix. The step is done when the test result and version are recorded.
Review plugin sources and install paths
Review which plugin sources are permitted on managed machines and which marketplaces or repositories users can add. The advisory GHSA-pq7j-f95f-qfcv describes a commit SHA pin bypass that allowed installing attacker-controlled code, so a pinned reference is not a sufficient control on its own. Confirm the installed version includes the fix and list the plugins currently present on each machine. The step is done when the approved plugin sources are documented and any unapproved plugin found on a machine is flagged for removal.
Re-check the advisory list on a recurring schedule
Assign a named owner to read the anthropics/claude-code advisory list on a fixed recurring cycle that your change process sets, and to repeat steps one through five for any new advisory. Record the advisory count at each check; the list showed 36 published advisories when read in November 2026, so a rising count is the signal to review. Confirm that the owner also watches for new advisories affecting the installed channel. The step is done when the schedule, owner, and last-checked date are in your records.
What the advisory record does not tell a reviewer
A published advisory list shows what Anthropic has disclosed, not everything that has gone wrong or everything that could. The cards below cover the gaps a reviewer should close with their own controls, version tracking and testing before approving Claude Code on managed machines.
Fixed versions missing for most advisories
Only one of the four advisories in this review states a specific fixed version in the supplied record, which is 2.1.163 for the git worktree sandbox escape. For the Edit tool race, the managed settings bypass and the plugin pin bypass, the reviewer should ask Anthropic for the first patched release and record it. Keep an internal version register that lists the installed Claude Code build on every managed machine, so you can compare it against each advisory's guidance.
Advisory listNo record of exploitation in the wild
The advisories describe the conditions needed to trigger each issue, but a published advisory does not show whether anyone has used it against a real organization. Do not read the absence of reported exploitation as proof that none occurred. Ask Anthropic directly whether any of these issues were exploited before disclosure, and treat the answer as a vendor statement rather than independent confirmation.
Advisory counts understate unreported risk
The repository's Security tab listed 36 published advisories when the record was read in November 2026. That count reflects disclosed issues only. It does not measure bugs that were never reported, findings still under review, or flaws in your own configuration, such as agent rules that allow broad shell access. Compare vendors on how they handle reports and patches, not on advisory totals alone.
Prompt injection persists beyond single fixes
Fixing one advisory does not remove the category of risk. Prompt injection can arrive through repository files, web content and tool outputs, and it can steer an agent toward actions that a patch did not anticipate. Keep permission rules tight, avoid running the agent against untrusted repositories on sensitive machines, and run your own adversarial testing against the agent setup at regular intervals.
Vendor response times need confirmation
The advisory record shows publication dates but not how long Anthropic took to acknowledge, triage or fix each report. Ask for the vendor's stated handling timeline and whether it applies to Enterprise customers. Put expected notification channels and advisory response steps into your contract or internal runbook so your team learns about fixes without relying on a manual check of the repository.
Questions buyers ask about Claude Code advisories before approval
Do the published Claude Code advisories affect Enterprise plans differently from Team plans?
The researched facts for this page do not say whether any advisory affects Enterprise plans differently from Team plans, so confirm this with Anthropic before approval. Ask whether each advisory applies to the npm package and the native installer in the same way, and whether any managed setting or server-side control changes exposure on a given plan. The advisories describe the client versions affected, which is what your machines run, so plan tier should not be assumed to remove a client-side risk. Record the answer in your approval file with the date you asked and the person who replied.
How do we get alerts when Anthropic publishes a new Claude Code advisory?
Watch the GitHub security advisories list for the anthropics/claude-code repository, which is where Anthropic publishes its advisories. Use GitHub's notification settings for security alerts on that repository if your team has an account that can receive them, and assign one owner to review new entries each week. Pair this with a check of the installed version on managed machines, since an advisory only helps you once someone compares the affected version range with what is deployed. Document the owner, the review cadence and the escalation path in your change process.
Who is responsible for fixing an installed Claude Code version that is affected?
Your organization owns the fix on each machine, although the update path depends on how Claude Code was installed. Anthropic's advisories state that users on standard auto-update already receive fixes, while users who update manually must upgrade themselves. Inventory every machine by install method, including the npm package @anthropic-ai/claude-code and the native installer, then confirm which ones auto-update. Machines that pin a version or update manually need a tracked upgrade, for example to 2.1.163 or later for CVE-2026-55607 as the advisory describes. Assign that work to endpoint management or the platform team, not to individual developers.
Do we need an incident review for past Claude Code use before the advisory dates?
An incident review is worth doing when the affected version range overlaps with use on your machines, because the advisories describe conditions that could let work leave the intended boundary. Start by matching each advisory's affected versions and publication date against your installation records and version history, where you have them. Then check whether developers worked on untrusted repositories or processed content that could carry prompt injection, since the sandbox escape advisory requires that condition. Whether a formal review is needed is a decision for your security and legal leads, and the record of that decision should be kept.
Which managed machines should we check first for the managed settings bypass?
Check machines where managed settings are expected to apply and where developers may hold a stored API key. The advisory GHSA-gfvf-j8jh-jxxw describes managed settings not being applied when a stored API key was preferred over enterprise sign-in, so verify on sample machines that the policy is active under each sign-in state. Confirm the managed settings file or MDM profile is present, and test with a developer account that has both a personal login and a stored key. Keep the test results as evidence, and repeat the check after each version upgrade.
What does a scoping engagement for Claude Code advisories cost and how long does it take?
DeployOpen does not publish a price list, and a quote follows from a written scope that most engagements agree before work starts. The main cost drivers are the number of machines and how they are managed, whether through MDM, manual installs or a mix, and how deep the testing goes, such as version inventory only or checks of managed settings and sandbox behavior on sample machines. Ongoing monitoring, upgrades and continuous testing can be covered by a retainer. Ask for the deliverables, the testing scope, the assumptions about your environment and the timeline in writing. No duration figure is supplied for this work, so take the timeline from the written scope.
Can our own team handle the advisory checks without an outside partner?
Yes, a team with endpoint management access and someone who reads security advisories can run the core checks in-house. The work is a recurring inventory of versions, a review of each new advisory against that inventory, a test of managed settings and sandbox behavior on sample machines, and a record of the decisions taken. The effort rises with the number of machine management models in use and with the depth of testing your security reviewers require. Outside help is most useful for a one-time scoping exercise or for independent testing of your configuration.
What to confirm with Anthropic before a Claude Code rollout
Before approving Claude Code, put a short set of written questions to Anthropic about patch timing, because the advisories in this topic show that fixes reach users on different schedules. Ask which plan tier (Team, Enterprise, Console with API billing, or a third-party cloud route) receives security fixes at the same time as the public advisory, and whether any tier depends on the customer to update. Ask also whether a fix for a managed settings bypass, such as the one described in GHSA-gfvf-j8jh-jxxw, ships to every install channel at once, including the npm package @anthropic-ai/claude-code and the native installer. Ask whether a fix that lands on one channel is ever delayed for another, and how the vendor expects you to confirm that your fleet has moved.
Ask how you will learn about new advisories. The advisory feed on the anthropics/claude-code repository is public, but confirm whether Anthropic offers direct notification to customer security contacts, what lead time it gives for high-severity items, and whether a customer success or account contact is responsible for pre-disclosure notice. Ask who on the vendor side answers questions about whether an advisory affects your deployment, and whether a written response is available for your audit file. Also confirm how quickly a new advisory is linked from the repository after publication.
Ask which records can prove the version state of each machine at a given date. Confirm whether Claude Code reports its installed version through OpenTelemetry usage monitoring or any administrative console, whether the managed settings your organization pushes are logged with a timestamp, and whether those logs can be exported for the period covered by an advisory. Ask how long these records are kept and whether retention differs by plan. If the answer is that no such log exists, plan to capture version data from your own endpoint management tool so you can show which machines ran a vulnerable build between the publication date and the date you upgraded.
How DeployOpen helps you test and govern Claude Code after an advisory
DeployOpen plans, implements, hardens and documents self-hosted open-source platforms inside your own infrastructure, and runs security testing that includes AI and agent security. When a Claude Code advisory is published, we can help your team confirm exposure on managed machines, test the affected controls and document what changed.
How we scope
- Engagements are fixed-scope, with the advisories, machines, and control areas to review agreed in writing first.
- We confirm which Claude Code versions and install methods (npm package or native installer) are in use across your fleet.
- Scope names the managed settings, permission rules and sandbox configuration that each review will examine.
How we build
- We test whether an advisory's conditions can be reproduced in a controlled test environment that you approve.
- Testing covers the sandbox boundary, file write paths and managed settings precedence against the advisory's described behavior.
- Findings are logged with the affected version range, the observed behavior and the upgrade or configuration change recommended.
How we hand over
- You receive written documentation of the review method, test results and the version and configuration evidence gathered.
- Deliverables include a checklist your administrators can rerun on managed machines after each Claude Code update.
- We document which items remain your responsibility, such as the update channel decision and the policy you enforce.
How we support
- Ongoing support, upgrades and continuous testing are available as a retainer for teams that track new advisories.
- A retainer can cover re-testing after each published advisory, so your evidence stays current with the vendor's releases.
- Confirm with your DeployOpen contact how advisory monitoring and response times would be defined in the written scope.

