{"id":"CVE-2026-48795","aliases":["CVE-2026-48795","GHSA-qcm7-3vpr-hj5h"],"related":[],"kind":"vulnerability","state":"published","title":"Incomplete fix for CVE-2026-25754 in @adonisjs/bodyparser","summary":"AdonisJS is a TypeScript-first web framework. From 10.1.3 until 10.1.5 and 11.0.3, AdonisJS @adonisjs/bodyparser incompletely fixed CVE-2026-25754 because nested multipart field payloads such as user.__proto__.polluted and constructor.prototype still caused lodash _.set() via @poppinss/utils to create plain intermediate objects and pollute Object.prototype. This issue is fixed in versions 10.1.5 and 11.0.3.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"AdonisJS is a TypeScript-first web framework. From 10.1.3 until 10.1.5 and 11.0.3, AdonisJS @adonisjs/bodyparser incompletely fixed CVE-2026-25754 because nested multipart field payloads such as user.__proto__.polluted and constructor.prototype still caused lodash _.set() via @poppinss/utils to create plain intermediate objects and pollute Object.prototype. This issue is fixed in versions 10.1.5 and 11.0.3.","source":"cvelist"},{"lang":"en","text":"### Summary\n\nThe fix for [GHSA-f5x2-vj4h-vg4c](https://github.com/adonisjs/core/security/advisories/GHSA-f5x2-vj4h-vg4c) / CVE-2026-25754 introduced in commit [`40e1c71`](https://github.com/adonisjs/bodyparser/commit/40e1c71f958cffb74f6b91bed6630dca979062ed) is incomplete and can be bypassed through nested prototype pollution payloads.\n\nThe original patch replaced the internal `FormFields` storage object with `Object.create(null)`, preventing direct payloads such as `__proto__.polluted`. However, payloads containing a non-dangerous segment before `__proto__` or `constructor.prototype`, such as `user.__proto__.polluted`, still lead to `Object.prototype` pollution.\n\nThis issue is exploitable remotely through a single unauthenticated `multipart/form-data` request using the default configuration.\n\n### Affected versions\n\n- `>= 10.1.3 < 10.1.5`\n- `>= 11.0.0-next.9 < 11.0.3`\n\n### Details\n\nThe regression tests added by the original fix only covered direct payloads such as:\n\n- `__proto__.polluted`\n- `constructor.prototype.polluted`\n\nThese payloads are blocked because the root object no longer inherits from `Object.prototype`.\n\nHowever, lodash `_.set()` (via `@poppinss/utils`) still creates intermediate objects using plain `{}` values. Once a normal segment is encountered, subsequent `__proto__` or `constructor.prototype` segments regain access to `Object.prototype`.\n\n### Impact\n\nAn unauthenticated attacker can remotely pollute `Object.prototype` on any route accepting multipart/form-data requests behind `BodyParserMiddleware`.\n\nBecause the pollution is process-wide, the impact may include authorization bypasses, unexpected behavior in downstream libraries, or prototype pollution gadget chains leading to remote code execution.\n\n### Patches\n\nFixes targeting v6 and v7 have been published below.\n\nUsers should upgrade to a version that includes the following fix:\n\n- https://github.com/adonisjs/bodyparser/releases/tag/v10.1.5\n- https://github.com/adonisjs/bodyparser/releases/tag/v11.0.3\n\n### References\n\n- [CWE-1321](https://cwe.mitre.org/data/definitions/1321.html)\n- Prior advisory this bypasses: [GHSA-f5x2-vj4h-vg4c](https://github.com/adonisjs/core/security/advisories/GHSA-f5x2-vj4h-vg4c) / CVE-2026-25754","format":"markdown","source":"ghsa"},{"lang":"es","text":"AdonisJS es un framework web TypeScript-first. Desde la 10.1.3 hasta la 10.1.5 y la 11.0.3, AdonisJS @adonisjs/bodyparser corrigió incompletamente CVE-2026-25754 porque las cargas útiles de campos multipart anidados como user.__proto__.polluted y constructor.prototype aún hacían que lodash _.set() a través de @poppinss/utils creara objetos intermedios planos y contaminara Object.prototype. Este problema está corregido en las versiones 10.1.5 y 11.0.3.","source":"nvd"}],"published":"2026-06-30T18:34:32.000Z","modified":"2026-10-24T21:10:00.130Z","severity":{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:H","score":8.6,"rating":"HIGH"},"severities":[{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:H","score":8.6,"rating":"HIGH"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:H","score":8.6,"rating":"HIGH"}],"cwes":["CWE-1321"],"affected":[{"ranges":[{"version":">= 10.1.3, < 10.1.5","status":"affected"},{"version":">= 11.0.0-next.9, < 11.0.3","status":"affected"}],"vendor":"adonisjs","product":"core","source":"cvelist"},{"ranges":[{"type":"semver","introduced":"10.1.3","status":"affected","fixed":"10.1.5"}],"ecosystem":"npm","package":"@adonisjs/bodyparser","purl":"pkg:npm/%40adonisjs/bodyparser","source":"ghsa"},{"ranges":[{"type":"semver","introduced":"11.0.0-next.9","status":"affected","fixed":"11.0.3"}],"ecosystem":"npm","package":"@adonisjs/bodyparser","purl":"pkg:npm/%40adonisjs/bodyparser","source":"ghsa"}],"references":[{"url":"https://github.com/adonisjs/core/security/advisories/GHSA-qcm7-3vpr-hj5h","tags":["web","x-refsource-confirm"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/adonisjs/bodyparser/commit/8a85eb0c2061b0caca10faedbfc2cf24b56cf9f6","tags":["x-refsource-misc"],"sources":["cvelist","nvd"]},{"url":"https://github.com/adonisjs/bodyparser/commit/aa96908f7b3f64c19e15d2d2d916b69137bdf469","tags":["x-refsource-misc"],"sources":["cvelist","nvd"]},{"url":"https://github.com/adonisjs/bodyparser/releases/tag/v10.1.5","tags":["web","x-refsource-misc"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/adonisjs/bodyparser/releases/tag/v11.0.3","tags":["web","x-refsource-misc"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/adonisjs/core/security/advisories/GHSA-f5x2-vj4h-vg4c","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/adonisjs/bodyparser/commit/40e1c71f958cffb74f6b91bed6630dca979062ed","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/adonisjs/core","tags":["package"],"sources":["ghsa"]}],"credits":[],"assigner":"GitHub_M","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"yes","technicalImpact":"partial","date":"2026-07-16T18:49:46.350Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-48795","url":"https://www.cve.org/CVERecord?id=CVE-2026-48795","licence":"CVE Terms of Use","modified":"2026-07-16T18:49:54.392Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-qcm7-3vpr-hj5h","url":"https://github.com/advisories/GHSA-qcm7-3vpr-hj5h","licence":"CC-BY-4.0","modified":"2026-09-10T03:50:50.187Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-48795","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-48795","licence":"Public domain","modified":"2026-10-24T21:10:00.130Z"}],"updatedAt":"2026-11-25T22:59:28.356Z","epss":{"score":0.003,"percentile":0.24497,"date":"2026-12-01T12:00:22.000Z"}}