{"id":"CVE-2026-46403","published":"2026-07-21T19:51:18Z","modified":"2026-07-22T14:28:22Z","title":"Klever-Go KVM read-only execution can commit contract delete and upgrade side effects","vendor":"klever-io","product":"klever-go","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":6.3,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:N/I:H/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00478,"percentile":0.42157,"provenance":"source"},"cwes":[{"id":"CWE-693","name":"Protection Mechanism Failure"}],"references":[{"url":"https://github.com/klever-io/klever-go/security/advisories/GHSA-jc6w-wmfc-fh33","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/klever-io/klever-go/commit/333f6ec910906e227705fc5767dc897d8fbfc862","tags":["x_refsource_MISC"]},{"url":"https://github.com/klever-io/klever-go/commit/68b94a40824fac2d848a4ded6eb7c91ada6ce9ef","tags":["x_refsource_MISC"]}],"priority":{"score":12.8,"factors":[{"name":"EPSS percentile","points":8.43},{"name":"CVSS severity","points":4.41}]},"vendorSlug":"klever-io","affectedVersions":[{"vendor":"klever-io","product":"klever-go","versions":["< 1.7.17"]}],"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"partial","timestamp":"2026-07-22T14:26:16.323007Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Go","package":"github.com/klever-io/klever-go","vulnerableRanges":["<1.7.17"],"patched":["1.7.17"],"from":["GHSA-jc6w-wmfc-fh33","GO-2026-5461"],"provenance":"source"}],"summary":{"text":"Klever-Go, the Go implementation of the Klever blockchain protocol, prior to 1.7.17, has a flaw in its KVM read-only execution path where the contract delete and upgrade host-core functions do not check the read-only state, so state-changing side effects can be produced. An attacker with a network-reachable account that is able to deploy or control a contract, and who can get another contract to invoke it through read-only execution, can cause the target contract to be deleted or upgraded, with the attack complexity being high.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:47:50Z"},"euvd":{"id":"EUVD-2026-46390","exploited":false,"provenance":"source"}}