
Catalogue CVE
CVE-2026-46406
Claude Code is an agentic coding tool. From 2.1.59…
A flaw was found in Claude Code. The /copy command created responses in a predictable, world-readable temporary file without proper isolation or symlink protection. This allowed a local unprivileged user to read sensitive information from a privileged user's Claude response, potentially containing secrets or credentials. Additionally, an attacker could exploit this by planting a symlink to overwrite an arbitrary file with the response text. @anthropic-ai/claude-code: Claude Code: Information disclosure and file overwrite via insecure temporary file in /copy command Red Hat rates this Moderate with a CVSS score of 6.8, higher than NIST's 6.1. The difference is in the confidentiality and integrity metrics. Claude Code responses might contain secrets, API keys, credentials, and code, which is why Red Hat scores confidentiality as High rather than Low. On integrity, the symlink attack lets an unprivileged user redirect the write to any file the privileged process can touch — SSH authorized_keys, shell configs, application credentials. That can translate directly to privilege escalation, and Red Hat scores accordingly. Exploitation requires a local account on the same system as the privileged user, who must also run the /copy command. The only Red Hat product shipping a vulnerable version is OpenShift Lightspeed (ships 2.1.123). Red Hat Dev Spaces ships 2.1.138 and is not affected. The CVSS score(s) listed for this vulnerability do not reflect the associated product's status, and are included for informational purposes to better understand the severity of this vulnerability.
- Gravité
- Medium · CVSS 6.8
CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:L - Published
- Source
- [NVD] · [CVE record]
- EPSS
- 0.15% · Oct 29, 2026
Reported versions and fixes
Each observation applies to its named package, distribution, and release. Distribution backports can fix a vulnerability while retaining an older upstream version number.
| Distribution / release | Package | Version | Status | Source |
|---|---|---|---|---|
| UnknownRelease not reported | claude_code | 2.1.128 | UnknownSource applicability is not established | Provider not reported |
Provider details and historical evidence
| Distribution / release | Package | Version | Status | Source |
|---|---|---|---|---|
| UnknownRelease not reported | claude_code | 2.1.128 | UnknownSource applicability is not established | Provider not reported |
Original provider fields
{
"package_releases": [],
"fixed_versions": [],
"distribution_packages": [
{
"name": "claude_code",
"fixed_version": "2.1.128",
"applicability_unknown": true
},
{
"name": "claude_code",
"ranges": [
{
"fixed": "2.1.128",
"introduced": "2.1.58",
"last_affected": "",
"start_excluding": ""
}
],
"ecosystem": "cpe",
"provider_url": "https://nvd.nist.gov/vuln/detail/CVE-2026-46406",
"fixed_version": "2.1.128",
"provider_source": "nvd",
"provider_record_id": "NVD-CVE-2026-46406",
"provider_updated_at": "2026-10-25T21:10:00.770"
}
]
}OpenFactory catalog packages
Aucun paquet correspondant dans ce catalogue.
Observé:
Références
- [https://github.com/anthropics/claude-code/security/advisories/GHSA-4vp2-6q8c-pvq2]
- [https://nvd.nist.gov/vuln/detail/CVE-2026-46406]
- [https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-46406.json]
[FIRST EPSS] · [National Vulnerability Database (NVD)] · [Red Hat security advisories and VEX]