{"id":"CVE-2026-129551","kind":"vulnerability","aliases":["CVE-2026-129551"],"related":[],"title":"Tensei REST: sort parameter lets unauthenticated users pollute JavaScript objects","description":"Tensei through 0.11.5 contains a prototype pollution vulnerability in parseSortFromStringToObject of @tensei/rest that allows unauthenticated attackers to set Object.prototype properties via the sort parameter. Attackers can send a sort value like __proto__.<name>:<value> to list, fetch-one, update or delete routes before authorization, altering application logic and causing denial of service.","summary":"The @tensei/rest package turns the sort query parameter into an object without filtering dangerous keys, so a value such as __proto__ can set properties on Object.prototype. An unauthenticated attacker can use this on list, fetch, update and delete routes to change application logic or cause a denial of service.","severity":"medium","cvss":6.9,"epss":null,"exploited":false,"exploited_at":null,"products":[],"ecosystems":[],"tags":["node","npm","package","rest-api","tensei"],"not_affected_if":["package-not-used","routes-not-exposed","version-above-0.11.5"],"how_to_check":"- Check whether the project depends on `@tensei/rest` (`npm ls @tensei/rest`)\n- Note the installed version; the sources say the flaw covers versions through `0.11.5`\n- Check whether the sort parameter reaches the REST routes exposed to the internet","fix":"- `@tensei/rest`: unknown; the sources do not name a fixed version","status":"open","published_at":"2026-11-16T12:17:53+00:00","first_seen_at":"2026-11-16T12:40:57+00:00","triaged_at":"2026-11-16T12:42:53+00:00","updated_at":"2026-11-16T12:42:53+00:00","category":"package","confidence":0.7,"triage":{"at":"2026-11-16T12:42:53Z","model":"claude-haiku-5-5","output":{"fix":"- `@tensei/rest`: unknown; the sources do not name a fixed version","reach":"internet","title":"Tensei REST: sort parameter lets unauthenticated users pollute JavaScript objects","impact":"medium","summary":"The @tensei/rest package turns the sort query parameter into an object without filtering dangerous keys, so a value such as __proto__ can set properties on Object.prototype. An unauthenticated attacker can use this on list, fetch, update and delete routes to change application logic or cause a denial of service.","audience":"developers","category":"package","nicknames":[],"who_cares":["npm","tensei","rest-api","node"],"confidence":0.7,"fix_status":"unknown","needs_auth":"no","worst_case":"Object prototype altered, application logic changed, service denied","analyst_note":"Find the fixed version of @tensei/rest and confirm the sort-parameter exposure via the vulnerability database entry and the vulncheck advisory.","how_to_check":"- Check whether the project depends on `@tensei/rest` (`npm ls @tensei/rest`)\n- Note the installed version; the sources say the flaw covers versions through `0.11.5`\n- Check whether the sort parameter reaches the REST routes exposed to the internet","plain_action":"","product_name":"","needs_analyst":true,"not_affected_if":["package-not-used","version-above-0.11.5","routes-not-exposed"],"who_is_affected":"Applications that use @tensei/rest through 0.11.5 and expose its REST routes, including list, fetch-one, update and delete, to requests that carry a sort parameter. Routes that are not exposed or that do not use this package are not affected. The sources do not say whether authentication runs before the sort parsing, beyond stating that the attack works before authorization.","user_interaction":"no","product_ecosystem":"","needs_special_setup":"unknown","severity_if_unknown":"medium"},"cost_usd":0.000784,"input_tokens":4616,"output_tokens":644,"severity_before":"medium"},"analyst_status":null,"analyst_note":null,"search":"'-129551':13A,16A '-2026':12A,15A '0.11.5':75C 'allow':86C 'alter':116C 'api':22B 'applic':65B,117C 'attack':52B,88C,97C 'author':115C 'caus':68B,120C 'chang':64B 'contain':76C 'cve':11A,14A 'danger':37B 'delet':61B,112C 'denial':70B,121C 'fetch':58B,108C 'fetch-on':107C 'filter':36B 'javascript':9A 'key':38B 'let':5A 'like':103C 'list':57B,106C 'logic':66B,118C 'node':17B 'npm':18B 'object':10A,34B 'object.prototype':49B,91C 'one':109C 'packag':19B,26B 'paramet':4A,31B,96C 'parsesortfromstringtoobject':82C 'pollut':8A,79C 'properti':47B,92C 'proto':44B,104C 'prototyp':78C 'queri':30B 'rest':2A,21B 'rest-api':20B 'rout':62B,113C 'send':99C 'servic':72B,123C 'set':46B,90C 'sort':3A,29B,95C,101C 'tensei':1A,23B,73C 'tensei/rest':25B,84C 'turn':27B 'unauthent':6A,51B,87C 'updat':59B,110C 'use':54B 'user':7A 'valu':41B,102C 'via':93C 'vulner':80C 'without':35B","nicknames":[],"mitigations":[],"who_affected":"Applications that use @tensei/rest through 0.11.5 and expose its REST routes, including list, fetch-one, update and delete, to requests that carry a sort parameter. Routes that are not exposed or that do not use this package are not affected. The sources do not say whether authentication runs before the sort parsing, beyond stating that the attack works before authorization.","tier":"C","verified":{},"analyst_revisit_at":null,"fix_status":"unknown","audience":"developers","plain_action":null,"pkeys":[],"ptokens":[],"labels":["medium","node","npm","package","restapi","tensei"],"campaign_type":null,"search_a":"'-129551':13A,16A '-2026':12A,15A 'cve':11A,14A 'javascript':9A 'let':5A 'object':10A 'paramet':4A 'pollut':8A 'rest':2A 'sort':3A 'tensei':1A 'unauthent':6A 'user':7A","search_b":"'api':22B 'applic':65B 'attack':52B 'caus':68B 'chang':64B 'danger':37B 'delet':61B 'denial':70B 'fetch':58B 'filter':36B 'key':38B 'list':57B 'logic':66B 'node':17B 'npm':18B 'object':34B 'object.prototype':49B 'packag':19B,26B 'paramet':31B 'properti':47B 'proto':44B 'queri':30B 'rest':21B 'rest-api':20B 'rout':62B 'servic':72B 'set':46B 'sort':29B 'tensei':23B 'tensei/rest':25B 'turn':27B 'unauthent':51B 'updat':59B 'use':54B 'valu':41B 'without':35B","search_c":"'0.11.5':75C 'allow':86C 'alter':116C 'applic':117C 'attack':88C,97C 'author':115C 'caus':120C 'contain':76C 'delet':112C 'denial':121C 'fetch':108C 'fetch-on':107C 'like':103C 'list':106C 'logic':118C 'object.prototype':91C 'one':109C 'paramet':96C 'parsesortfromstringtoobject':82C 'pollut':79C 'properti':92C 'proto':104C 'prototyp':78C 'rout':113C 'send':99C 'servic':123C 'set':90C 'sort':95C,101C 'tensei':73C 'tensei/rest':84C 'unauthent':87C 'updat':110C 'valu':102C 'via':93C 'vulner':80C","cause_entry":null,"cause_path":null,"disclosures_checked_at":null,"first_public_at":"2026-11-16T12:17:53+00:00","kev":null,"cvss_vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:L/VA:L/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X","cvss_by":"disclosure@vulncheck.com","poc_count":0,"sources":[{"source":"nvd","external_id":"CVE-2026-129551","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-129551","severity":null,"published_at":"2026-11-16T12:17:53+00:00","modified_at":"2026-11-16T12:17:53+00:00","first_seen_at":"2026-11-16T12:40:57+00:00","fetched_at":"2026-11-16T12:40:57+00:00","note":null}],"documents":[{"id":169505,"url":"https://www.vulncheck.com/advisories/tensei-through-0.11.5-unauthenticated-prototype-pollution-via-sort-parameter","title":"Third-party advisory: www.vulncheck.com","kind":"advisory","source":"nvd","publisher":"research","text":null,"published_at":null,"relation":"advisory","confidence":null,"note":"Third-party advisory: www.vulncheck.com"}],"disclosures":[],"exploit_sources":[],"notice":"Free to read, with fair use of about 60 pages a minute. For higher limits or API access: sales@infrastack.ai"}