Skip to main content

CVE-2026-82409: CWE-116: Improper Encoding or Escaping of Output in klever-io klever-go

0
High
VulnerabilityCVE-2026-82409cvecve-2026-82409cwe-116
Published: 09/23/2026 (09/23/2026, 19:23:45 UTC)
Source: CVE Database V5
Vendor/Project: klever-io
Product: klever-go

Description

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.

CVSS v4.0

Score 8.4high

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
Low
User Interaction
None
Vuln. Confidentiality
None
Vuln. Integrity
High
Vuln. Availability
High
Subsq. Confidentiality
None
Subsq. Integrity
High
Subsq. Availability
Low
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

Affected software

klever-io

klever-go

Affected versions
<1.7.20
github.com/klever-io/klever-go
pkg:golang/github.com/klever-io/klever-go
Affected versions
<1.7.20

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 09/23/2026, 19:47:40 UTC

Technical Analysis

In klever-go versions before 1.7.20, the function serializing data for updating accounts inserts the attacker-controlled acc.Name value into Elasticsearch bulk JSON and NDJSON requests without proper escaping. Since the SetAccountName transaction accepts UTF-8 account names with special characters (quotes, backslashes, newlines), these characters can break the JSON structure, causing rejection of bulk batches or injection of additional bulk actions that can create, overwrite, or delete documents in indices writable by the indexer. The vulnerability is persistent because the manipulated state is replayed by new or historical indexers. Exploitation does not require direct access to the Elasticsearch service or the indexing host. The vulnerability is addressed in klever-go version 1.7.20.

Potential Impact

An attacker can craft account names that break JSON serialization in Elasticsearch bulk requests, potentially causing denial of service by rejecting bulk batches or enabling injection of additional bulk actions that manipulate Elasticsearch documents. This can lead to unauthorized creation, modification, or deletion of documents in indices writable by the indexer. The vulnerability affects persistent state and can be triggered without direct access to the Elasticsearch service or indexing host, increasing the attack surface.

Mitigation Recommendations

Upgrade klever-go to version 1.7.20 or later, where this issue is fixed by properly escaping account names in Elasticsearch bulk requests. No additional mitigation is required if the upgrade is applied.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.2
Assigner Short Name
GitHub_M
Date Reserved
2026-08-28T22:00:43.513Z
Cvss Version
4.0
State
PUBLISHED

Threat ID: 6ab42979f7a7c541063b50be

Added to database: 09/23/2026, 19:33:13 UTC

Last enriched: 09/23/2026, 19:47:40 UTC

Last updated: 09/24/2026, 01:57:04 UTC

Views: 11

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses