---
id: "CVE-2026-129551"
page: "https://infrastack.ai/live/CVE-2026-129551"
kind: "vulnerability"
aliases: ["CVE-2026-129551"]
title: "Tensei REST: sort parameter lets unauthenticated users pollute JavaScript objects"
severity: "medium"
cvss: 6.9
epss: null
exploited: false
status: "open"
category: "package"
products: []
ecosystems: []
tags: ["node", "npm", "package", "rest-api", "tensei"]
not_affected_if: ["package-not-used", "routes-not-exposed", "version-above-0.11.5"]
published_at: "2026-11-16T12:17:53+00:00"
first_seen_at: "2026-11-16T12:40:57+00:00"
updated_at: "2026-11-16T12:42:53+00:00"
sources: [{"source": "nvd", "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-129551", "first_seen_at": "2026-11-16T12:40:57+00:00"}]
exploit_sources: []
---

# Tensei REST: sort parameter lets unauthenticated users pollute JavaScript objects

Link for people: https://infrastack.ai/live/CVE-2026-129551 (this .md is for agents)

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.

_Summary, check and fix written by a model from the sources; labelled as such._

## How to check

- Check whether the project depends on `@tensei/rest` (`npm ls @tensei/rest`)
- Note the installed version; the sources say the flaw covers versions through `0.11.5`
- 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

## Timeline

- 2026-11-16T12:40:57+00:00 nvd https://nvd.nist.gov/vuln/detail/CVE-2026-129551

## Documents

- [advisory] Third-party advisory: www.vulncheck.com https://www.vulncheck.com/advisories/tensei-through-0.11.5-unauthenticated-prototype-pollution-via-sort-parameter

## From the sources

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.

---

_Free to read, with fair use of about 60 pages a minute. For higher limits or API access: sales@infrastack.ai_
