Логотип exploitDog
Консоль
Логотип exploitDog

exploitDog

redhat логотип

CVE-2026-5758

Опубликовано: 15 апр. 2026
Источник: redhat
CVSS3: 6.5
EPSS Низкий

Описание

JavaScript is vulnerable to prototype pollution in Mafintosh's protocol-buffers-schema Version 3.6.0, where an attacker may alter the application logic, bypass security checks, cause a DoS or achieve remote code execution.

A flaw was found in the protocol-buffers-schema JavaScript library. This vulnerability, known as prototype pollution, allows an attacker to inject malicious properties into an object's core definition. This could enable an attacker to change how an application behaves, bypass security measures, or cause the application to stop working (Denial of Service). In specific circumstances, this flaw could potentially lead to an attacker running unauthorized code on the system.

Отчет

Red Hat rates this flaw as Moderate. protocol-buffers-schema is a library and does not run on its own, as such, it requires an application to call it and utilize the vulnerable parsing functionality. When the pollution occurs, that application may read whatever malicious property was injected by the attacker, but then has to make a security-relevant decision (ex. granting access, spawning a process, etc.) and do it without checking whether the property actually belongs to the object or was inherited. As such, the impact of this vulnerability is entirely determined by what else is running in the process that calls the library along with what what permissions and checks it has, making the worst-case scenario of RCE only possible if that process is itself vulnerable.

Меры по смягчению последствий

If using protocol-buffers-schema, perform the following checks to help mitigate the impact of this vulnerability:

  1. Do not parse .proto files from untrusted or semi-trusted sources (ex. user uploads, external repos, third-party APIs, etc.).
  2. Audit downstream code for prototype pollution gadgets (ex. template engines, ORM configs, HTTP frameworks).
  3. Consider freezing Object.prototype in security-sensitive contexts as a defense-in-depth measure (ex. Object.freeze(Object.prototype);). If maintaining a parser or config loader:
  4. Never use reduce or bracket notation to walk user-controlled paths without filtering dangerous keys.
  5. Block __proto__, constructor, and prototype explicitly in any path traversal logic.
  6. Add negative test cases to verify that prototype pollution does not occur.

Затронутые пакеты

ПлатформаПакетСостояниеРекомендацияРелиз
Cryostat 4grafana-infinity-datasource-npmFix deferred
Red Hat Developer Hubrhdh/rhdh-hub-rhel9Fix deferred
Red Hat OpenShift AI (RHOAI)rhoai/odh-mlflow-rhel9Fix deferred
Self-service automation portal 2ansible-automation-platform/automation-portalFix deferred

Показывать по

Дополнительная информация

Статус:

Moderate
Дефект:
CWE-915
https://bugzilla.redhat.com/show_bug.cgi?id=2458736protocol-buffers-schema: protocol-buffers-schema: Remote code execution via prototype pollution

EPSS

Процентиль: 42%
0.00534
Низкий

6.5 Medium

CVSS3

Связанные уязвимости

CVSS3: 6.5
nvd
4 месяца назад

JavaScript is vulnerable to prototype pollution in Mafintosh's protocol-buffers-schema Version 3.6.0, where an attacker may alter the application logic, bypass security checks, cause a DoS or achieve remote code execution.

CVSS3: 6.5
github
4 месяца назад

Mafintosh's protocol-buffers-schema is vulnerable to prototype pollution

EPSS

Процентиль: 42%
0.00534
Низкий

6.5 Medium

CVSS3