p PatchFirst

CVE-2026-48170

CVE-2026-48170 · scimPatch vulnerable to prototype pollution via unfiltered keys in patch

Cette page présente des faits issus de sources publiques. Consultez l’avis original avant toute mise à jour.

`scim-patch`, a library to perform SCIM patch, prior to version 0.9.1 performs prototype pollution when applying a SCIM PATCH operation whose `value` object contains a key like `"__proto__.someProp"`. After one such patch, `Object.prototype.someProp` is set process-wide, affecting every plain object in the Node process. Any service that calls `scimPatch()` on attacker-controlled JSON (i.e. any SCIM endpoint accepting `PATCH` from an external IdP) is exploitable on a stock Node runtime. Version 0.9.1 contains a patch. A workaround is available. Calling `Object.freeze(Object.prototype)` (and the same on `Array.prototype`, `Function.prototype`) at process startup neutralizes this class of bug — assignment to a frozen prototype becomes a silent no-op in sloppy mode or a `TypeError` in strict mode. Node's `--frozen-intrinsics` flag does this for built-ins automatically.

CVSS 9.1 · Critique · EPSS 0,4% · Correctif disponible

Publication
Mise à jour

Pile logicielle: node

Produits et versions concernés

  • scim-patch

    Versions du logiciel
    • < 0.9.1: Concernée

    Aucun correctif publié

  • scim-patch npm

    Plages de versions concernées
    • SEMVER: < 0.9.1

    Mettez à jour vers 0.9.1

Sources originales

Vérifiez votre serveur →