Skip to main content

Trendyol kafka-konsumer CVE-2026-124465

| EUVDEUVD-2026-119605 HIGH
Reachable Assertion (CWE-617)
2026-11-08 VulnCheck GHSA-5hcw-679g-g6cq
7.1
CVSS 4.0 · Vendor: VulnCheck
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Obtain Kafka produce permission to topic
  2. Delivery
    Publish single oversized record
  3. Exploit
    Trigger panic in chunkMessagesOptimized flush
  4. Execution
    Consumer crashes before offset commit
  5. Impact
    Restart replays record, crash loop

Vulnerability Assessment

Weakness
CWE
ASVS 5.0
V16 - Security Logging and Error Handling Reachable assertion handling
Exploitation Conditions

Exploitation requires ALL of: (1) the application runs kafka-konsumer in batch mode (BatchConfiguration set) with MessageGroupByteSizeLimit configured to a positive value - the panic path in chunkMessagesOptimized is unreachable otherwise; (2) the attacker holds produce/write permission to the consumed topic (reflected as PR:L); (3) the malicious record exceeds MessageGroupByteSizeLimit yet stays within the Kafka broker's max message size and the reader's MaxBytes, so it is actually delivered to the chunking logic; and (4) affected version in range >=2.3.3 and <2.6.18. The self-sustaining crash loop additionally depends on a supervisor/orchestrator automatically restarting the process, because the offset of the poison record is never committed and is replayed on restart. Limiting factors: topic produce ACLs, use of non-batch consumption, or leaving MessageGroupByteSizeLimit unset all remove exposure; there is no confidentiality or integrity impact.

Impact

This is a genuine but bounded availability-only risk. The CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:N/VA:H) and the vuln.today 'this_week' decision label agree it is a real, prioritizable issue rather than CVSS-inflated noise. The VA:H with VC:N/VI:N correctly reflects a pure denial-of-service: no data is read or altered. PR:L is the pivotal limiter - the attacker must already hold permission to produce to the consumed Kafka topic, so this is not an anonymous internet-facing flaw but a threat from a compromised or malicious producer inside the messaging trust boundary. No EPSS score was supplied, so widespread-scanning probability cannot be quantified. The CVE is NOT on CISA KEV (no confirmed active exploitation), but the GHSA advisory ships a complete, deterministic reproduction, so weaponization effort is near zero for anyone with produce rights. No signals conflict; the main uncertainty is deployment footprint, since this is a niche Go library. Net: treat as a real patch-this-week item for teams running kafka-konsumer in batch mode with a byte-size limit, de-prioritized where topic produce ACLs are tightly controlled.

Exploit ScenarioDerived

An actor with permission to produce to the consumed Kafka topic (an insider, a compromised upstream service, or a misconfigured shared topic) publishes a single record larger than the configured MessageGroupByteSizeLimit but within broker/reader size limits. The batch consumer hits the panic in chunkMessagesOptimized while flushing, terminating the process before the offset is committed; a supervisor-driven restart replays the same uncommitted poison record and crashes again, producing a persistent crash loop. A detailed reproduction (including crash message 'invalid chunk byte size') is published in the GHSA advisory, so no exploit development is required.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 0.3% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Nov 08, 2026

Trendyol's kafka-konsumer Go library panics inside batch_consumer.go when a single Kafka record is larger than the configured MessageGroupByteSizeLimit, killing the consumer process before the record's offset is committed. Only applications running the library in batch mode with a positive MessageGroupByteSizeLimit are exposed, and the attacker must hold produce/write permission on the consumed topic (CVSS PR:L); the result is a persistent crash loop whenever a supervisor restarts the consumer and replays the poison record. Availability-only impact in versions 2.3.3 through 2.6.17, fixed in 2.6.18; the upstream advisory publishes a proof-of-concept reproducer, and there is no indication of active exploitation in the wild. Priority is this week rather than emergency, since exposure depends on batch configuration plus topic write access.

RemediationAI

Upgrade github.com/Trendyol/kafka-konsumer to 2.6.18 or later (release tag https://github.com/Trendyol/kafka-konsumer/releases/tag/v2.6.18, fix commit a290c08b81c70c2d5d4e1f40e4997eae34306078), which processes an oversized record in its own batch instead of panicking; the vendor advisory is https://github.com/Trendyol/kafka-konsumer/security/advisories/GHSA-jjgw-p88q-qrxr. If the upgrade cannot be applied immediately, the panic path can be removed by leaving MessageGroupByteSizeLimit unset or zero, at the cost of losing byte-based batch bounding and allowing unbounded in-memory chunk growth; alternatively, avoid batch mode for topics that untrusted principals can produce to. Tightening Kafka topic ACLs so only trusted producers can write to consumed topics reduces the attacker set, and capping the broker's max.message.bytes below the configured MessageGroupByteSizeLimit prevents an oversized record from being delivered at all, though that ceiling also constrains legitimate large payloads. Supervisor restart backoff or a poison-record quarantine slows but does not stop the crash loop, because the offending offset is never committed and is replayed on each restart.

Affected VersionsENISA

kafka-konsumer 2.3.3 <2.6.18

Affected Packages

euvd kafka_konsumer fix: 2.6.18

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

kafka-konsumer is a Go wrapper around Kafka consumption that supports batch mode via BatchConfiguration, where MessageGroupByteSizeLimit caps how many message bytes are grouped into a single batch. In chunkMessagesOptimized (batch_consumer.go, roughly lines 204-264 in v2.6.17), the code tested whether appending the next record would exceed the chunk byte limit; when the current chunk was still empty and the record by itself was already larger than the limit, the code called panic("invalid chunk byte size ...") instead of returning an error or isolating the record. Because batchConsumer.consume invokes this chunking while flushing batches - before dispatching to the application's BatchConsumeFn and before committing offsets - the panic terminates the whole Go process and the oversized record is never committed, so any automatic restart replays it and re-triggers the panic. The root cause is a reachable assertion in an input-driven path (CWE-617; the upstream advisory labels it CWE-248, an uncaught exception). The commit a290c08b81c70c2d5d4e1f40e4997eae34306078 removes the panic and instead places an oversized, indivisible message into its own chunk. Triggering requires the record to survive broker max message size and the reader's MaxBytes so it actually reaches the chunking logic.

Know when Kafka Konsumer 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

Vendor (VulnCheck) PRIMARY 7.1 HIGH
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N
vuln.today AI 6.5 MEDIUM

Remote over Kafka (AV:N), deterministic single-message trigger (AC:L), but requires topic produce rights so PR:L; availability-only crash loop gives A:H with C/I:N, scope unchanged.

3.1 AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
4.0 AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N

Primary rating from Vendor (VulnCheck).

CVSS VectorVendor: VulnCheck

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
Low
User Interaction
None
Vulnerable system: Confidentiality
None
Vulnerable system: Integrity
None
Vulnerable system: Availability
High
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

DescriptionCVE.org

Trendyol kafka-konsumer from 2.3.3 before 2.6.18 contains a denial of service vulnerability in batch_consumer.go that panics when a single record exceeds MessageGroupByteSizeLimit. Attackers able to produce to the consumed topic can publish one oversized record that terminates the consumer before offset commit, causing a persistent crash loop.

Technical POC Analysis

An explicit, unrecovered panic in the batch chunking path of batchconsumer.go (function chunkMessagesOptimized, hunk at @@ -220,15 +220,14 @@; the advisory points at batchconsumer.go:204-225 and 245-…

Full technical POC analysis - root cause, step-by-step exploitation and patch breakdown - is part of the Pro and Business plans.

Executive ViewAI

Why It Matters

A high-severity vulnerability in Trendyol's kafka-konsumer Go library (versions 2.3.3-2.6.17) allows a malicious actor with write access to a consumed topic to crash consumer processes by sending an oversized record, causing a persistent denial-of-service that disrupts data pipelines and downstream services. While exploitation requires topic write permissions and specific batch-mode configuration, the impact on availability could affect critical business operations, making timely remediation a priority for engineering leadership.

Business Impact: High
Compensating Controls

Apply vendor patch.

Threat Intelligence Overview

EPSS Score
0.3%
Top 77% exploitable
Prevalence
Low
niche open-source Go Kafka client library, limited enterprise footprint
Social Media
2
Sightings
Data Quality
6 sources
Confidence: High

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.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS 0.3%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision
Scheduled
Exploitation
Poc
System Exposure· derived
Open
Automatable
No
Human Impact
High
Technical Impact
Partial

Priority Score

36
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +36
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Denial of Service attacks render applications or systems unavailable by overwhelming resources or triggering failure conditions.

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy