Home / StacklokLabs / mkp / CVE-2026-50125
CVE-2026-50125: is it exploited, and which versions of StacklokLabs mkp are affected and fixed?
CVE-2026-50125 is a denial of service (uncontrolled resource consumption) vulnerability in StacklokLabs mkp. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 15:39 UTC). Affected: github.com/StacklokLabs/mkp before 0.4.1 (GitHub advisory GHSA-qw5r-ppcg-f8rj). Fixed in 0.4.1 (GitHub advisory GHSA-qw5r-ppcg-f8rj). Severity: High (7.5, CVSS 3.1, from GitHub_M).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 15:39 UTC, CVE record November 19, 2026, 07:07 UTC and NVD November 19, 2026, 07:07 UTC.
What is CVE-2026-50125?
MKP: Unbounded Pod Log Read via Attacker-Controlled `limitBytes`/`tailLines` Causes Memory Exhaustion
MKP is a Model Context Protocol server for Kubernetes. Prior to 0.4.1, cmd/server/main.go exposes the default HTTP endpoint and pkg/mcp/server.go registers the unauthenticated get_resource tool, which accepts attacker-controlled limitBytes and tailLines values for the pods logs subresource. buildPodLogOpts() in pkg/k8s/subresource.go parses those values as unbounded int64 parameters, and defaultGetPodLogs() copies the returned Kubernetes log stream through io.Copy into an in-memory bytes.Buffer without an application-side cap. A remote attacker who can reach the default port 8080 MCP endpoint and select a pod with sufficiently large accumulated logs can send one tools/call request that causes large allocations and additional response copies, while the request-frequency limiter does not constrain per-request volume. This can exhaust process memory, terminate the MKP server, and deny the MCP service; observed testing showed more than one GiB of RSS growth while handling a 128 MiB requested stream. This issue is fixed in version 0.4.1.
From the CVE record by GitHub_M, last updated September 24, 2026, 20:41 UTC.
Which versions are affected, and which fix it?
| Vendor | Product | Affected | Fixed or not affected from |
|---|---|---|---|
| StacklokLabs | mkp | < 0.4.1 |
As the CVE record by GitHub_M states it, last updated September 24, 2026. Version ranges are the CNA's; a version the record calls not affected is usually the fix.
Which packages are affected, and in which version is each fixed?
| Ecosystem | Package | Affected | Fixed in | Advisory |
|---|---|---|---|---|
| Go | github.com/StacklokLabs/mkp | < 0.4.1 | 0.4.1 | GHSA-qw5r-ppcg-f8rj |
GitHub Advisory Database, reviewed advisories (CC BY 4.0); advisory updated July 14, 2026. Summary: MKP: Unbounded Pod Log Read via Attacker-Controlled `limitBytes`/`tailLines` Causes Memory Exhaustion.
How severe is CVE-2026-50125?
| Score | Version | Vector | Source |
|---|---|---|---|
| High 7.5 | CVSS 3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H | GitHub_M |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2026-50125 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- CISA SSVC
- Exploitation: poc; automatable: yes; technical impact: partial (CISA ADP, September 24, 2026)
- EPSS
- 0.49% probability of exploitation activity in the next 30 days, percentile 43.7 (FIRST EPSS, scores of December 3, 2026)
What kind of flaw is it?
- CWE-400 Uncontrolled Resource Consumption
Where are the vendor advisories and references?
- https://github.com/StacklokLabs/mkp/security/advisories/GHSA-qw5r-ppcg-f8rj x_refsource_CONFIRM
- https://github.com/StacklokLabs/mkp/commit/37bf6bac862aa3b1c71b8aa1b8364eae7818962d x_refsource_MISC
When was it published, and where is the official record?
- Reserved
- June 3, 2026
- Published
- September 17, 2026, 19:52 UTC
- CVE record updated
- September 24, 2026, 20:41 UTC by GitHub_M
- NVD
- Deferred, last modified September 30, 2026, 17:32 UTC
- Last checked
- CVE list November 19, 2026, 07:07 UTC; NVD November 19, 2026, 07:07 UTC; KEV December 3, 2026, 15:39 UTC; EPSS December 3, 2026
- Official record
- cve.org · NVD
Questions about CVE-2026-50125
Is CVE-2026-50125 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 15:39 UTC. FIRST's EPSS gives it a 0.49% chance of exploitation activity in the next 30 days (scores of December 3, 2026).
Which versions of StacklokLabs mkp are affected by CVE-2026-50125?
github.com/StacklokLabs/mkp before 0.4.1, per the GitHub advisory GHSA-qw5r-ppcg-f8rj. The tables above give every range the sources list.
Which version fixes CVE-2026-50125?
0.4.1, per the GitHub advisory GHSA-qw5r-ppcg-f8rj. Check the vendor's advisory before you rely on it.
How severe is CVE-2026-50125?
High (7.5, CVSS 3.1, from GitHub_M). The severity table above shows each score with its source.
Where is the official record of CVE-2026-50125?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.