Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessSubmit SetAccountName tx with crafted name
-
DeliveryMalicious name persisted in consensus account state
-
ExploitIndexer serializes account into ES _bulk NDJSON
-
ExecutionQuotes/newlines break JSON, inject forged bulk actions
-
PersistCreate/overwrite/delete indexer documents or reject batch
-
ImpactPayload replayed by every future indexer
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Output encoding for downstream
|
| Exploitation Conditions | Exploitation requires the ability to submit a SetAccountName transaction (any low-privilege on-chain account, hence PR:L) whose name contains quotes, backslashes, or newlines - accepted because only UTF-8 validity and length are checked - and the target deployment must run an Elasticsearch indexer (indexer/common.go serializedDataForUpdateAccounts) that processes account state into _bulk requests. No access to the indexing host or the Elasticsearch port is required, and no victim interaction is needed. Limiting factors: the deployment must actually operate the Elasticsearch indexer component and the affected version must be prior to 1.7.20; impact is bounded to indices the indexer can write. Because the malicious name persists in consensus state, the condition is satisfied not only for the current indexer but for any future or historical indexer that replays the account. |
| Impact | This is a genuine, high-priority integrity flaw rather than a CVSS-inflated non-issue. The CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:L/UI:N) shows a remotely reachable, low-complexity, low-privilege path with no user interaction, and the impact profile (VI:H/VA:H on the vulnerable system, SI:H/SA:L on the subsequent Elasticsearch system) reflects real damage: attacker-controlled data can create, overwrite, or delete documents in indexer-writable indices and can reject bulk batches. The most decision-relevant nuance is persistence and blast radius: the malicious account name is stored in consensus account state and REPLAYED by any new or historical indexer, so the attacker does not need direct access to the indexing host or the Elasticsearch port - a single SetAccountName transaction poisons every indexer that later processes the account. A vendor advisory PoC exists (GHSA-7c7c-373r-gfjj, mirrored in the added common_test.go), so 'publicly available exploit code exists.' No EPSS score and no KEV entry were provided; absence of these is not reassuring here because the affected product is a niche blockchain node with a small installed base, which naturally produces low observed exploitation regardless of technical ease. Confidentiality is correctly rated N - this is an integrity/availability problem, not data theft. No signals conflict; the CVSS vector, description, and patch diff are mutually consistent. |
| Exploit ScenarioDerived | An attacker submits a low-privilege SetAccountName transaction on the Klever chain, setting their account name to a UTF-8 string containing quotes and newlines that closes the Elasticsearch _bulk painless JSON and appends forged NDJSON bulk actions (the advisory PoC writes a fake document into the transactions index). When any indexer serializes that account into an Elasticsearch _bulk request, the injected actions execute against indices the indexer can write, or the malformed body causes the whole batch to be rejected. Because the poisoned name lives in consensus state, every new or re-syncing indexer replays the payload, and public PoC code is available in the GHSA advisory. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Sep 23, 2026
Maliciously crafted on-chain account names processed by Klever-Go prior to 1.7.20 are spliced into Elasticsearch _bulk request bodies without JSON escaping, allowing an attacker who can submit a SetAccountName transaction to inject forged bulk actions that create, overwrite, or delete documents in any index the indexer can write to. Because the name is stored in consensus account state, the poisoned value is replayed by new and historical indexers, and no access to the indexing host or the Elasticsearch port is required. Severity is rated 8.4 (CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:H/VA:H/SC:N/SI:H/SA:L; our independent assessment CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:N/I:H/A:H), exploitation requires an authenticated low-privilege on-chain account plus a deployment that actually runs the Elasticsearch indexer, and the issue is fixed in 1.7.20; no public exploit identified at time of analysis, though the upstream fix ships a regression test that reproduces the advisory's injection construction.
RemediationAI
Upgrade every Klever-Go node that runs the Elasticsearch indexer to version 1.7.20, which escapes account names via converters.JsonEscape in indexer/common.go before they are embedded in _bulk bodies; the exact fix is in commits f00366768b24be18fa7ae9de2e1905caa8b350af and f54ea730cc80a3ba4f906586a7d221b281548190 and the release is https://github.com/klever-io/klever-go/releases/tag/v1.7.20, with details in https://github.com/klever-io/klever-go/security/advisories/GHSA-7c7c-373r-gfjj. Patching the serializer closes the injection, but because the malicious name persists in consensus state, existing documents should be audited: search the indices the indexer can write for unexpected or forged documents and, if necessary, delete and rebuild affected indices from trusted chain state using the patched binary. Until the upgrade is deployed, the most effective compensating control is to shrink the blast radius by giving the indexer's Elasticsearch credentials a dedicated API key scoped with write access only to the expected, non-critical indices (for example indices with an indexer-specific prefix) so injected bulk actions cannot touch other data; the trade-off is that index mappings and any cross-index workflow must be re-checked, and any index outside the allowed set will silently fail to be written. Disabling the Elasticsearch indexer entirely removes the attack path at the cost of losing search and indexing availability, and blocking the Elasticsearch port on the network does not help because the injection is a logical format break executed by the indexer's own legitimate connection. Enable Elasticsearch audit or slowlog logging on bulk requests so injected actions can be detected, and monitor for account names containing quotes, backslashes, or newlines while a patched release is being rolled out.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 2 packages in go, euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
Klever-Go is the Go implementation of the Klever blockchain protocol. Its optional Elasticsearch indexer serializes consensus account state into Elasticsearch _bulk requests, which are newline-delimited JSON (NDJSON) documents: a metadata line ({"update":{...}}) followed by a source line containing a painless script and its params. In indexer/common.go, the function serializedDataForUpdateAccounts built that source line by interpolating the account's Name field directly into the JSON text with string formatting. The SetAccountName transaction validates only that the name is valid UTF-8 and within a length limit, so a name containing a double quote, backslash, or newline is accepted and persisted in consensus account state. When the indexer later emits the bulk body, those characters terminate the JSON string early, letting the attacker close the enclosing braces and inject newline-delimited lines that Elasticsearch parses as additional bulk actions against whatever indices the indexer's credentials can write. This is a classic output-encoding failure (CWE-116, improper encoding or escaping of output): untrusted data crosses into a structured document format without contextual escaping. The fix in commits f00366768b24be18fa7ae9de2e1905caa8b350af and f54ea730cc80a3ba4f906586a7d221b281548190 wraps acc.Name with converters.JsonEscape() so name content is delivered as data rather than structure, and the accompanying tests confirm a malicious name now occupies exactly two NDJSON lines and round-trips verbatim through json.Unmarshal. The attack is logically remote (AV:N) because the injected transaction propagates through consensus and is consumed by the indexer without any network path to the indexing host; scope is changed because the compromised resource (the indexer/Elasticsearch data store) is distinct from the vulnerable component, with confidentiality impact assessed as none since the injection targets document writes rather than reads.
Know when Go gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:H/VA:H/SC:N/SI:H/SA:L
Remote low-priv transaction (PR:L) with no interaction; vulnerable blockchain node poisons a separate Elasticsearch system (S:C); no data disclosure (C:N) but document forgery/deletion (I:H) and batch rejection (A:H).
Primary rating from Vendor (GitHub_M).
CVSS VectorVendor: GitHub_M
Lifecycle Timeline
2DescriptionCVE.org
Klever-Go is the Go implementation of the Klever blockchain protocol. Prior to 1.7.20, indexer/common.go serializedDataForUpdateAccounts places the attacker-controlled acc.Name value into an Elasticsearch _bulk JSON and NDJSON request without escaping it. The SetAccountName transaction accepts valid UTF-8 account names containing quotes, backslashes, and newlines, and the resulting name is stored in consensus account state. When an indexer processes the account, those characters can break the JSON string, reject a bulk batch, or inject additional bulk actions that create, overwrite, or delete documents in indices writable by the indexer. The persistent state value is replayed by new or historical indexers, and direct access to the indexing host or Elasticsearch port is not required. This issue is fixed in version 1.7.20.
Technical POC Analysis
CWE-116 (improper encoding/escaping of output; the advisory page itself lists no CWE, this is the assigned classification).
Full technical POC analysis - root cause, step-by-step exploitation and patch breakdown - is part of the Pro and Business plans.
Executive ViewAI
Organizations running the Klever-Go blockchain indexer are exposed to a data-integrity attack in which any holder of an ordinary on-chain account can manipulate the names recorded in consensus state so that they corrupt Elasticsearch documents when replayed by the indexer, without needing any access to the indexing host or database port. Because the malicious value lives in consensus account state, it is re-emitted by every new and historical indexer that processes the chain, making the corruption persistent and hard to fully eradicate once introduced. Leadership should care because the affected systems are the authoritative analytics and reporting layer for Klever-based assets, and silent forgery or deletion of indexed records can undermine transaction monitoring, audit trails, and downstream business decisions.
Apply vendor patch (Klever-Go 1.7.20); until upgrade is complete, restrict Elasticsearch credentials to the minimum required indices, enable audit logging and alerting on bulk write and delete activity, and rely on snapshots for rapid rollback of tampered documents.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Code injection occurs when an application accepts user input and passes it directly into a language interpreter or evaluator without proper sanitization.
Denial of service against HTTP/2 server implementations allows remote unauthenticated attackers to exhaust server resour
The net/http package in Go through 1.6 does not attempt to address RFC 3875 section 4.1.18 namespace conflicts and there
Critical certificate validation bypass in Go crypto/tls during session resumption. If ClientCAs or RootCAs fields are mu
net/url in Go before 1.11.13 and 1.12.x before 1.12.8 mishandles malformed hosts in URLs, leading to an authorization by
Casdoor through 4.4.0 exposes its instance-wide built-in JWT signing private key unmasked through the /api/get-certs and
Host header injection in Nezha 2.2.3's OAuth2 redirect endpoint (/api/v1/oauth2/{provider}) allows an unauthenticated re
Session cross-wiring in SUSE NeuVector before 5.6.1 allows an unauthenticated remote attacker to obtain another user's a
Unauthenticated path traversal in Uber Kraken through 0.1.29 allows remote attackers to read files outside the configure
The "go get" implementation in Go 1.9.4, when the -insecure command-line option is used, does not validate the import pa
Denial of service in Temporal Server allows an authenticated caller holding at least namespace read permission to crash
Account takeover in Klever-Go's KleverUpdateAccountPermission built-in (all versions prior to 1.7.20) allows an attacker
Path traversal in the uniget CLI (Go module gitlab.com/uniget-org/cli) before version 0.27.6 lets a local user read and
EUVD-2026-85647
GHSA-7c7c-373r-gfjj
NVD
CVE.org
EPSS
Vulnrichment
Exploit-DB