{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2026-46403","id":"CVE-2026-46403","title":"Klever-Go KVM read-only execution can commit contract delete and upgrade side effects","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 rejec","descriptionLong":"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.","published":"2026-07-21T19:51:18.745Z","updated":"2026-10-28T02:30:49.231234146Z","reserved":"2026-05-13T21:04:10.932Z","status":"Deferred","rejected":false,"assigner":"GitHub_M","metric":{"version":"3.1","score":6.3,"vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:N/I:H/A:N","rating":"medium","source":"GitHub_M"},"metrics":[{"version":"3.1","score":6.3,"vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:N/I:H/A:N","rating":"medium","source":"GitHub_M"},{"version":"3.1","score":6.3,"vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:N/I:H/A:N","rating":"medium","source":"github.com"},{"version":"3.1","score":6.3,"vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:N/I:H/A:N","rating":"medium","source":"OSV"},{"version":"3.1","score":6.3,"vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:N/I:H/A:N","rating":"medium","source":"GitHub"}],"rating":"medium","products":["klever-io klever-go"],"affectedProducts":[{"vendor":"klever-io","product":"klever-go","defaultStatus":null,"versions":[{"version":"< 1.7.17","status":"affected"}],"platforms":[]}],"packages":[{"ecosystem":"Go","name":"github.com/klever-io/klever-go","purl":"pkg:golang/github.com/klever-io/klever-go","ranges":["<1.7.17"],"fixed":["1.7.17"],"advisory":"GHSA-jc6w-wmfc-fh33"}],"cwes":["CWE-693"],"aliases":["GHSA-jc6w-wmfc-fh33","GO-2026-5461"],"references":[{"url":"https://github.com/klever-io/klever-go/security/advisories/GHSA-jc6w-wmfc-fh33","tags":["x_refsource_CONFIRM","exploit","advisory","web"]},{"url":"https://github.com/klever-io/klever-go/commit/333f6ec910906e227705fc5767dc897d8fbfc862","tags":["x_refsource_MISC","fix","web"]},{"url":"https://github.com/klever-io/klever-go/commit/68b94a40824fac2d848a4ded6eb7c91ada6ce9ef","tags":["x_refsource_MISC","fix","web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/46xxx/CVE-2026-46403.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-46403","tags":["advisory"]},{"url":"https://github.com/klever-io/klever-go","tags":["package"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":true,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"partial"},"epss":0.00478,"epssPercentile":0.41933,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2026-46403","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-46403","ok":true,"note":"Deferred"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2026-46403","ok":true,"note":"1 package"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-jc6w-wmfc-fh33","ok":true,"note":"GHSA-jc6w-wmfc-fh33"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2026-46403","ok":true,"note":"scored 2026-11-18"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}