All reports
Low

rollbar vulnerable to prototype pollution

Affected versions

Affected versions
>= 3.0.0-alpha1, <= 3.0.0-beta4
Fixed version
3.0.0-beta5
Affected versions
<= 2.26.4
Fixed version
2.26.5

Exploitation

CVE-2025-57325

Probability of exploitation in the next 30 days: 0.39%

FIRST EPSS · 2026-11-24

Description

Impact

Prototype pollution potential with the utility function rollbar/src/utility.set(). No impact when using the published public interface.

If application code directly imports set from rollbar/src/utility and then calls set with untrusted input in the second argument, it is vulnerable to prototype pollution.

POC:

const obj = {};
require("rollbar/src/utility").set(obj, "__proto__.polluted", "vulnerable");
console.log({}.polluted !== undefined ? '[POLLUTION_TRIGGERED]':'');
Patches

Fixed in version 2.26.5 and 3.0.0-beta5.

Workarounds

If application code directly imports set from rollbar/src/utility, ensure that the second argument does not receive untrusted input.

References

https://github.com/rollbar/rollbar.js/issues/1333#issuecomment-3353720946

Links

Credits

  • waltjones
  • brianr