# CVE-2026-46403: Klever-Go KVM read-only execution can commit contract delete and upgrade side effects

- Severity: Medium 6.3 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:N/I:H/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.48%, higher than 42% of CVEs (2026-12-02)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-05-21T16:53:32.000Z
- Modified: 2026-10-24T19:10:00.127Z
- Also known as: GHSA-jc6w-wmfc-fh33, GO-2026-5461
- Weaknesses: CWE-693
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial
- Assigned by: GitHub_M

## Description

Klever-Go is the Go implementation of the Klever blockchain protocol. Prior to 1.7.17, KVM exposes `ExecuteReadOnlyWithTypedArguments` as a read-only execution mechanism. The hook saves the previous read-only state, sets `runtime.SetReadOnly(true)`, executes the destination context, and then restores the previous read-only state. However, the indirect contract delete and upgrade paths do not reject execution when `runtime.ReadOnly()` is true. As a result, a contract reached through read-only execution can call the production delete hook for a target contract it owns. The delete path appends the target address to `vmOutput.DeletedAccounts`, the output context merges `DeletedAccounts` into the caller output, and the smart contract processor later processes the VM output by deleting accounts listed in that field. The root cause is that read-only mode is applied as runtime state, but not enforced by the state-changing delete and upgrade host-core paths. This breaks the expected isolation boundary for workflows that rely on read-only calls to inspect another contract without allowing that callee to produce state-changing VM output. The issue is fixed in v1.7.17. Contract delete and upgrade host-core paths now reject execution when `runtime.ReadOnly()` is true. The invariant is regression-tested for delete, upgrade, storage writes, value transfers, and any VM output field that can later mutate chain state.

(As written by CVE List.)

## Affected

- klever-io klever-go: < 1.7.17
- github.com/klever-io/klever-go (Go): before 1.7.17

## Every score

- GitHub_M: CVSS:3.1 6.3 Medium `CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:N/I:H/A:N`
- GitHub: CVSS:3.1 6.3 Medium `CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:N/I:H/A:N`

## References

- <https://github.com/klever-io/klever-go/security/advisories/GHSA-jc6w-wmfc-fh33> (exploit, advisory, web)
- <https://github.com/klever-io/klever-go/commit/333f6ec910906e227705fc5767dc897d8fbfc862> (fix, web)
- <https://github.com/klever-io/klever-go/commit/68b94a40824fac2d848a4ded6eb7c91ada6ce9ef> (fix, web)
- <https://github.com/klever-io/klever-go> (package)

## Sources

- CVE List: [CVE-2026-46403](https://www.cve.org/CVERecord?id=CVE-2026-46403), CVE Terms of Use, modified 2026-07-22
- GitHub Advisory Database: [GHSA-jc6w-wmfc-fh33](https://github.com/advisories/GHSA-jc6w-wmfc-fh33), CC-BY-4.0, modified 2026-06-25
- Go Vulnerability Database: [GO-2026-5461](https://pkg.go.dev/vuln/GO-2026-5461), CC-BY-4.0, modified 2026-06-25
- NVD: [CVE-2026-46403](https://nvd.nist.gov/vuln/detail/CVE-2026-46403), Public domain, modified 2026-10-24

---

Page: https://cve.day/CVE-2026-46403 · Whole record: https://cve.day/CVE-2026-46403.json · Rebuilt by cve.day 2026-11-25T22:59:29.389Z
