Teableに認証済みユーザーが任意のファイルを書き換えられる脆弱性
概要
Teableの添付ファイル署名API(POST /api/attachments/signature)で、パス・トラバーサルにより任意のファイルへ書き込まれるおそれがあります。影響するのは、既定のローカルストレージを使う環境で、release.2026-07-21T11-27-40Z.2320より前の版です。修正版のrelease.2026-07-21T11-27-40Z.2320以降に更新してください。
AI要約
SecPulse が外部の生成 AI を使って作った要約です。誤りを含むことがあります。重要な判断の前に、下の原文と参照URLを確認してください。
Teableの添付ファイル署名API(POST /api/attachments/signature)で、パス・トラバーサルにより任意のファイルへ書き込まれるおそれがあります。影響するのは、既定のローカルストレージを使う環境で、release.2026-07-21T11-27-40Z.2320より前の版です。修正版のrelease.2026-07-21T11-27-40Z.2320以降に更新してください。
原文の説明 取得元が公開している説明をそのまま載せています (多くは英語)。
Teable is an AI spreadsheet for business. Prior to release.2026-07-21T11-27-40Z.2320, a registered user can supply path traversal sequences in the hash field accepted by POST /api/attachments/signature when the default local storage provider is in use. In apps/nestjs-backend/src/features/attachments/plugins/local.ts, LocalStorage.presigned uses the client-controlled hash as the storage filename, and LocalStorage.save resolves that path and copies the uploaded request body without calling assertPathWithinStorage on the write path. The read path uses the jail, but the write path does not, allowing the resolved destination to escape the configured storage directory. Because the backend container runs as uid 0, the attacker can write or overwrite arbitrary root-owned files, which can corrupt the instance or lead to root code execution. Object-storage deployments that do not use LocalStorage.save are not affected by this sink. This issue is fixed in release.2026-07-21T11-27-40Z.2320.
出典: CVE.org (CVE Program・cvelistV5) NVD GitHub Advisory
参照URL
- advisory github.com
- advisory github.com
- advisory nvd.nist.gov
- patch github.com
- patch github.com
- web github.com