Description
A vulnerability was detected in tanstack db up to 0.6.8. Affected by this vulnerability is the function select of the file src/query/compiler/select.ts of the component Alias Path Handler. The manipulation results in improperly controlled modification of object prototype attributes. The attack may be launched remotely. The exploit is now public and may be used. The patch is identified as ac09b1177a100eafa85cba3cd09dd1f53f933ded. A patch should be applied to remediate this issue.
Published: 2026-07-13
Score: 5.3 Medium
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

A flaw in the select function of TanStack db’s Alias Path Handler allows an attacker to manipulate object prototype attributes through untrusted input. This prototype pollution can alter program behavior by adding or modifying properties on built‑in objects, potentially leading to unintended side effects. The weakness is identified by CWE‑1321 and CWE‑94, indicating uncontrolled prototype manipulation and code injection respectively.

Affected Systems

TanStack db versions up to and including 0.6.8 are impacted. The vulnerability resides in src/query/compiler/select.ts within the Alias Path Handler component. This range covers all releases prior to the patch commit ac09b1177a100eafa85cba3cd09dd1f53f933ded.

Risk and Exploitability

The CVSS score of 5.3 denotes moderate severity, while the EPSS score is below 1% and the vulnerability is not listed in CISA’s KEV catalog. An attacker can launch the exploit remotely, and a public exploit demonstrates the ability to induce prototype pollution by feeding malicious input into the select function. The low EPSS indicates that incidents are presently rare, but the impact of prototype pollution can be widespread if the affected code executes in a privileged context.

Generated by OpenCVE AI on July 31, 2026 at 11:04 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Apply the official patch identified by commit ac09b1177a100eafa85cba3cd09dd1f53f933ded, which corrects the prototype handling logic in the select function.
  • Upgrade TanStack db to a version newer than 0.6.8 to ensure the prototype pollution fix is applied.
  • Restrict or sanitize input to the select function, ensuring that values cannot introduce unexpected prototype keys, or defer usage of that API when dealing with untrusted data.

Generated by OpenCVE AI on July 31, 2026 at 11:04 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Wed, 15 Jul 2026 16:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'poc', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Mon, 13 Jul 2026 23:15:00 +0000

Type Values Removed Values Added
Description A vulnerability was detected in tanstack db up to 0.6.8. Affected by this vulnerability is the function select of the file src/query/compiler/select.ts of the component Alias Path Handler. The manipulation results in improperly controlled modification of object prototype attributes. The attack may be launched remotely. The exploit is now public and may be used. The patch is identified as ac09b1177a100eafa85cba3cd09dd1f53f933ded. A patch should be applied to remediate this issue.
Title tanstack db Alias Path select.ts select prototype pollution
First Time appeared Tanstack
Tanstack db
Weaknesses CWE-1321
CWE-94
CPEs cpe:2.3:a:tanstack:db:*:*:*:*:*:*:*:*
Vendors & Products Tanstack
Tanstack db
References
Metrics cvssV2_0

{'score': 4, 'vector': 'AV:N/AC:L/Au:S/C:N/I:P/A:N/E:POC/RL:OF/RC:C'}

cvssV3_0

{'score': 4.3, 'vector': 'CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N/E:P/RL:O/RC:C'}

cvssV3_1

{'score': 4.3, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N/E:P/RL:O/RC:C'}

cvssV4_0

{'score': 5.3, 'vector': 'CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N/E:P'}


cve-icon MITRE

Status: PUBLISHED

Assigner: VulDB

Published:

Updated: 2026-07-15T15:49:45.254Z

Reserved: 2026-07-13T15:40:19.194Z

Link: CVE-2026-15607

cve-icon Vulnrichment

Updated: 2026-07-15T15:41:17.912Z

cve-icon NVD

No data.

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-07-31T11:15:05Z

Weaknesses
  • CWE-1321

    Improperly Controlled Modification of Object Prototype Attributes ('Prototype Pollution')

  • CWE-94

    Improper Control of Generation of Code ('Code Injection')