{"id":"CVE-2026-48170","published":"2026-08-07T21:26:54Z","modified":"2026-08-10T14:06:00Z","title":"scimPatch vulnerable to prototype pollution via unfiltered keys in patch","vendor":"thomaspoignant","product":"scim-patch","tier":"tail","description":{"text":"`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,\n`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.","provenance":"source","from":"CVE.org"},"cvss":{"score":9.1,"severity":"CRITICAL","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:H/A:L","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00403,"percentile":0.35414,"provenance":"source"},"cwes":[{"id":"CWE-1321","name":"Improperly Controlled Modification of Object Prototype Attributes"}],"references":[{"url":"https://github.com/thomaspoignant/scim-patch/security/advisories/GHSA-9m6g-wc8r-q59c","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/thomaspoignant/scim-patch/commit/260f9cd2ac5ceac3976978850bb47dcb391720f6","tags":["x_refsource_MISC"]}],"priority":{"score":13.5,"factors":[{"name":"EPSS percentile","points":7.08},{"name":"CVSS severity","points":6.37}]},"vendorSlug":"thomaspoignant","affectedVersions":[{"vendor":"thomaspoignant","product":"scim-patch","versions":["< 0.9.1"]}],"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"partial","timestamp":"2026-08-10T13:53:45.430723Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"npm","package":"scim-patch","vulnerableRanges":["<0.9.1"],"patched":["0.9.1"],"from":["GHSA-9m6g-wc8r-q59c"],"provenance":"source"}],"summary":{"text":"The scim-patch library, a Node.js SCIM PATCH implementation published by thomaspoignant, is vulnerable to prototype pollution in versions before 0.9.1, where applying a PATCH operation whose value object contains a key such as \"__proto__.someProp\" writes to Object.prototype. An attacker who can send a SCIM PATCH request to any endpoint that passes external JSON to scimPatch(), such as one accepting PATCH from an external identity provider, needs only low privileges and no user interaction to alter behaviour for every plain object in the Node process.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:37:48Z"},"euvd":{"id":"EUVD-2026-54686","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-thomaspoignant-scim-patch-cve-2026-48170","children":[{"from":"CVE-2026-48170","to":"CVE-2026-61834","relation":"successor","confidence":"high","kind":"lineage","evidence":[{"kind":"version-step","provenance":"source","package":"npm:scim-patch","fromFixed":"0.9.1","toFixed":"0.9.2","daysApart":47},{"kind":"same-code","provenance":"machine","files":["src/scimPatch.ts"],"commits":["https://github.com/thomaspoignant/scim-patch/commit/260f9cd2ac5ceac3976978850bb47dcb391720f6","https://github.com/thomaspoignant/scim-patch/commit/c86474f7a9b16191d939f59ba94eca6c6e63044b"],"basis":"rarely changed file"}]}],"packageHistory":[{"cve":"CVE-2026-48170","published":"2026-08-07","fixed":"0.9.1","kev":false},{"cve":"CVE-2026-61834","published":"2026-09-23","fixed":"0.9.2","kev":false}],"package":"npm:scim-patch"}}