scimPatch vulnerable to prototype pollution via unfiltered keys in patch
Key facts
- Attack vector
- Network
- Privileges required
- Low
- User interaction
- None
- Attack complexity
- Low
- Impact type
- —
- Confidentiality · integrity · availability
- Low · High · Low
- Fix status
- Fixed
Attack profile from CVSS 3.1 · CNA. Fix status from CNA and GitHub.
Summary
`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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- Poc
- Automatable
- No
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| thomaspoignant | scim-patch | before 0.9.1 | 0.9.1 | Patch available | CNA |
| — | scim-patch (npm) | before 0.9.1 | 0.9.1 | Patch available | GHSA-9m6g-wc8r-q59c |
- scim-patch Vendorthomaspoignant Affected before 0.9.1 Fixed in 0.9.1 Patch available CNA
- scim-patch (npm) Vendor— Affected before 0.9.1 Fixed in 0.9.1 Patch available GHSA-9m6g-wc8r-q59c
Remediation
- Fix · CNA scim-patch (thomaspoignant) Fixed in 0.9.1
- Fix · GHSA-9m6g-wc8r-q59c scim-patch (npm) Fixed in 0.9.1 Advisory →
Timeline
- 2026-10-02 Threatist record created from CVE-2026-48170
- 2026-10-03 Alias added: GHSA-9m6g-wc8r-q59c
References
More thomaspoignant vulnerabilities
- TI-2026-44253 scim-patch: Mutation of Inherited Built-in Method Objects CVSS 3.1MEDIUM 4.3
Sources
- CVE-2026-48170 · CVE Program
- CVE-2026-48170 · NVD
- FIRST EPSS
- GHSA-9m6g-wc8r-q59c · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences