@prisma/studio-core 0.34.1 bundles kysely 0.28.10 (CVE-2026-32763, CVE-2026-33468, CVE-2026-44635)
まだ誰も着手していません。
評価
- 難易度
- 2/5
- 見積もり時間
- 1〜3時間
- 初心者へのやさしさ
- 42/100
- issue の種類
- バグ
- 明瞭さ
- 明確に書かれている
- 活発さ
- 活発
- 技術スタック
- javascript, mysql, postgresql, sql, sqlite, typescript
- 領域
- build-system, data, security
調査の方向性
The stale kysely copy comes from the kysely devDependency pin in prisma/studio's package.json, and the bundle is produced by the build that writes dist/metafile-esm.json. Start by checking that pin and the lockfile, then bump it to at least 0.28.17 and rebuild. Done means the metafile lists only kysely >= 0.28.17 and the published-tarball check in the issue passes. This touches release steps and a security fix, so confirm with maintainers before publishing.
索引モデルが issue の本文から書いたものです。
説明
While scanning published npm packages for bundled third-party code we found that @prisma/[email protected] (npm latest) inlines kysely 0.28.10 into dist/ (chunk-W46LCTJX.js and the dist/data/*-core adapters). It comes from the devDependency pin "kysely": "0.28.10" in prisma/studio's package.json. The older @prisma/[email protected] carries the same copy.
- CVE-2026-32763 (GHSA-wmrf-hv6w-mr66): SQL injection via unsanitized JSON path keys (fixed 0.28.12)
- CVE-2026-33468 (GHSA-8cpq-38p9-67gx): MySQL SQL injection via insufficient backslash escaping in
sql.lit(string)and similar literal paths (fixed 0.28.14) - CVE-2026-44635 (GHSA-pv5w-4p9q-p3v2): JSON-path traversal injection via unsanitized path-leg metacharacters in
JSONPathBuilder.key()/.at()(fixed 0.28.17)
kysely is not declared as a dependency, so npm audit and SCA tools cannot flag it for you or for Studio users.
We have not assessed exploitability in Studio. Because the copy ships where dependency audits cannot see it, it is easy to miss. We would suggest updating it when convenient, and sooner if untrusted input can reach it in your setup.
Suggested fix: bump the kysely devDependency to >= 0.28.17 and rebuild/publish @prisma/studio-core (and -licensed, if it is still distributed).
Studio distribution
Embedded (@prisma/studio-core as published on npm); this concerns the published package itself, not one setup.
Database
All adapters bundle the same kysely copy; CVE-2026-33468 applies to MySQL / MariaDB, the other two to JSON-path queries.
Prisma & studio-core versions
@prisma/studio-core 0.34.1 (npm latest, 2026-10-15).
Steps to reproduce
Checked against the published tarball on 2026-11-02:
npm pack @prisma/[email protected] && tar xzf prisma-studio-core-0.34.1.tgz
grep -o 'node_modules/.pnpm/kysely@[0-9.]*' package/dist/metafile-esm.json | sort | uniq -c
Output:
1476 node_modules/.pnpm/[email protected]
Expected behavior
The published bundle carries kysely >= 0.28.17.
Actual behavior
Every kysely input in the build metafile is kysely 0.28.10.
- 主要言語
- TypeScript
- スター
- 2.2k
- フォーク
- 91
- 平均マージ
- 15時間 27分
- マージ済み PR(30日)
- 3
環境構築
- Dockerfile または Docker Compose ファイルあり
- プルリクエストのテンプレートなし
- コントリビューションガイドなし
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
prisma/studio のほかの issue
-
kind/feature
難易度 3/5 1〜2日 初心者へのやさしさ 54/100
-
難易度 3/5 1〜2日 初心者へのやさしさ 62/100
-
kind/bug
難易度 2/5 1〜3時間 初心者へのやさしさ 45/100
-
Staged edits are silently dropped when a global search is active再び着手できるかも このイシューのプルリクエストはマージされずにクローズされました。 オープン
難易度 3/5 1〜2日 初心者へのやさしさ 30/100
-
SQL view on MySQL runs the whole script when a string contains a backslash-escaped quote対応中かも @RaphaelFakhri が 33 日前に担当しました。 オープン
難易度 3/5 1〜2日 初心者へのやさしさ 72/100
似ている issue
-
kind:defect
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 66/100
mux-labs/mux-frontend#1240 ·
メンテナーはふだん 1 日以内に返信
-
area: agents-mcp priority: normal
難易度 2/5 1〜3時間 初心者へのやさしさ 64/100
メンテナーはふだん 1 日以内に返信
-
Wait for the IDS correction dialog to settle in the stale-audit test対応中かも @louistrue が今日担当しました。 オープンready
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
メンテナーはふだん 1 日以内に返信
-
Hono path parameters with a regex pattern keep the pattern in the OpenAPI path対応中かも @0z5a が今日担当しました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
cloudflare/chanfana#400 ·
メンテナーはふだん 1 日以内に返信