Description
Improperly controlled modification of object prototype attributes ('prototype pollution') vulnerability in Apache Thrift all JS bindings.



This issue affects Apache Thrift: before 0.25.0.



Users are recommended to upgrade to version 0.25.0 and re-generate JS code, which fixes the issue.
Published: 2026-10-02
Score: 6.3 Medium
EPSS: < 1% Very Low
KEV: No
Impact: Prototype Pollution
Action: Immediate Upgrade
AI Analysis

Impact

This vulnerability is a classic prototype pollution flaw, where the server accepts a map key from the network wire that, when deserialized by the JavaScript bindings, overwrites an object's __proto__ or prototype property. The result is that shared prototypes can be modified, potentially allowing malicious code to influence the behavior of any object that inherits from the polluted prototype. In JavaScript this can lead to unpredictable execution paths, data corruption, or even remote code execution if subsequent code utilizes the polluted property values. The weakness is described by CWE‑1321, which captures uncontrolled modification of an object's prototype.

Affected Systems

The issue affects Apache Thrift implementations that expose JavaScript bindings, specifically any release prior to version 0.25.0. Users who rely on the generated JS client or server code from older Thrift packages are vulnerable. This includes all standard Thrift libraries that support JavaScript, irrespective of language of the other peer.

Risk and Exploitability

The CVSS base score of 6.3 indicates a moderate severity with an impact that can affect confidentiality, integrity, and availability. No EPSS score is available, so the likelihood of exploitation is unclear, and the vulnerability is not currently listed in the CISA Known Exploited Vulnerabilities catalog. Attackers would need to inject a malicious map key into a Thrift message that is processed by the vulnerable JavaScript code, which makes the primary attack vector remote over any network channel that uses Thrift. If an attacker can maintain persistence or execute code against a JavaScript environment that accesses the polluted prototype, the resulting damage could be substantial.

Generated by OpenCVE AI on October 2, 2026 at 13:00 UTC.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade Apache Thrift to version 0.25.0 or later and regenerate all JavaScript bindings to apply the fix.
  • Recompile or rebuild client and server code that imports the Thrift-generated JavaScript modules to ensure the updated bindings are used.
  • Validate that the updated library does not expose unchecked prototype modifications by reviewing recent changes and performing unit tests that cover serialization of map keys.

Generated by OpenCVE AI on October 2, 2026 at 13:00 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Sat, 03 Oct 2026 06:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Fri, 02 Oct 2026 15:15:00 +0000

Type Values Removed Values Added
First Time appeared Apache
Apache thrift
Vendors & Products Apache
Apache thrift

Fri, 02 Oct 2026 11:45:00 +0000

Type Values Removed Values Added
Description Improperly controlled modification of object prototype attributes ('prototype pollution') vulnerability in Apache Thrift all JS bindings. This issue affects Apache Thrift: before 0.25.0. Users are recommended to upgrade to version 0.25.0 and re-generate JS code, which fixes the issue.
Title Apache Thrift, Apache Thrift, Apache Thrift: A map key from the wire can replace a decoded object's prototype in generated JavaScript
Weaknesses CWE-1321
References
Metrics cvssV4_0

{'score': 6.3, 'vector': 'CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N'}


cve-icon MITRE

Status: PUBLISHED

Assigner: apache

Published:

Updated: 2026-10-02T17:31:43.876Z

Reserved: 2026-09-07T22:00:32.242Z

Link: CVE-2026-86536

cve-icon Vulnrichment

Updated: 2026-10-02T17:31:37.534Z

cve-icon NVD

Status : Deferred

Published: 2026-10-02T12:17:22.100

Modified: 2026-10-02T18:17:06.720

Link: CVE-2026-86536

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-10-02T14:44:32Z

Weaknesses
  • CWE-1321

    Improperly Controlled Modification of Object Prototype Attributes ('Prototype Pollution')