# CVE-2024-7726: Arbitrary Code execution via exposed JTAG port in Kioxia CM6, PM6, PM7

> Attackers with physical access can exploit an exposed JTAG port to execute arbitrary code and bypass firmware signature verification on Kioxia SSDs.

- **Severity:** Medium 5.7 (`CVSS:4.0/AV:P/AC:L/AT:P/PR:N/UI:N/VC:L/VI:H/VA:N/SC:L/SI:H/SA:N`)
- **Exploited in the wild:** Not known
- **Login needed:** Not needed
- **Attackable:** Local or same network only
- **Victim action needed:** Not needed
- **Fix available:** No
- **Published:** 20 Dec 2024
- **Updated:** 20 Dec 2024
- **Also known as:** GHSA-3hh8-94j4-62rh

## What is CVE-2024-7726?

CVE-2024-7726 is a medium-severity vulnerability in Kioxia CM6, published on 20 Dec 2024. It can only be exploited from the same machine or local network, with no action from the victim.

### Official description

There exists an unauthenticated accessible JTAG port on the Kioxia PM6, PM7 and CM6 devices - On the Kioxia CM6, PM6 and PM7 disk drives it was discovered that the 2 main CPU cores of the SoC can be accessed via an open JTAG debug port that is exposed on the drive’s circuit board. Due to the wide cutout of the enclosures, the JTAG port can be accessed without having to open the disk enclosure. Utilizing the JTAG debug port, an attacker with (temporary) physical access can get full access to the firmware and memory on the 2 main CPU cores within the drive including the execution of arbitrary code, the modification of firmware execution flow and data or bypassing the firmware signature verification during boot-up.

Weakness: CWE-306 (Missing Authentication for Critical Functionality)

## Which versions are affected by CVE-2024-7726?

It affects 3 products.


Products: Kioxia Cm6 Firmware, Kioxia Pm6 Firmware, Kioxia Pm7 Firmware.

## How do I fix CVE-2024-7726?

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

## Is CVE-2024-7726 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2024-7726 exists.

## Fix prompt for AI coding agents

```text
Check this codebase for CVE-2024-7726 and fix it if it is affected.

What it is: CVE-2024-7726 is a medium-severity vulnerability in Kioxia CM6, published on 20 Dec 2024. It can only be exploited from the same machine or local network, with no action from the victim.
Exploitation: It is not confirmed as exploited in the wild, but public exploit code for CVE-2024-7726 exists.

Affected product: Kioxia CM6. 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-2024-7726/ (Markdown: https://insights.sbomify.com/CVE-2024-7726/index.md)
```

## Sources

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

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