# CVE-2026-33863: Convict has prototype pollution via load(), loadFile(), and schema initialization

- Severity: Critical (CVSS:4.0, scored by GitHub) `CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Published: 2026-03-26T18:50:33.000Z
- Modified: 2026-03-26T19:11:25.577Z
- Also known as: GHSA-hf2r-9gf9-rwch
- Weaknesses: CWE-1321

## Description

### Impact
Two unguarded prototype pollution paths exist, not covered by previous fixes:

1. `config.load()` / `config.loadFile()` — `overlay()` recursively merges config data without checking for forbidden keys. Input containing` __proto__` or `constructor.prototype` (e.g. from a JSON file) causes the recursion to reach `Object.prototype` and write attacker-controlled values onto it.
2. Schema initialization — passing a schema with `constructor.prototype.*` keys to `convict({...})` causes default-value propagation to write directly to `Object.prototype` at startup.

Depending on how polluted properties are consumed, impact ranges from unexpected behavior to authentication bypass or RCE.

### Workarounds
Do not pass untrusted data to load(), loadFile(), or convict().

### Resources
Prior advisory: [GHSA-44fc-8fm5-q62h](https://github.com/mozilla/node-convict/security/advisories/GHSA-44fc-8fm5-q62h)
Related issue: [https://github.com/mozilla/node-convict/issues/423](https://github.com/mozilla/node-convict/issues/423)

(As written by GitHub Advisory Database.)

## Affected

- convict (npm): before 6.2.5

## References

- <https://github.com/mozilla/node-convict/security/advisories/GHSA-44fc-8fm5-q62h> (web)
- <https://github.com/mozilla/node-convict/security/advisories/GHSA-hf2r-9gf9-rwch> (web)
- <https://github.com/mozilla/node-convict/issues/423> (web)
- <https://github.com/mozilla/node-convict> (package)

## Sources

- GitHub Advisory Database: [GHSA-hf2r-9gf9-rwch](https://github.com/advisories/GHSA-hf2r-9gf9-rwch), CC-BY-4.0, modified 2026-03-26

---

Page: https://cve.day/CVE-2026-33863 · Whole record: https://cve.day/CVE-2026-33863.json · Rebuilt by cve.day 2026-11-25T22:56:45.580Z
