Teableに認証済みユーザーが任意のファイルを書き換えられる脆弱性
Summary
Teableの添付ファイル署名API(POST /api/attachments/signature)で、パス・トラバーサルにより任意のファイルへ書き込まれるおそれがあります。影響するのは、既定のローカルストレージを使う環境で、release.2026-07-21T11-27-40Z.2320より前の版です。修正版のrelease.2026-07-21T11-27-40Z.2320以降に更新してください。
AI summary
Produced by SecPulse using an external AI model; it may contain mistakes. Check the original description and references below before acting on it.
Teableの添付ファイル署名API(POST /api/attachments/signature)で、パス・トラバーサルにより任意のファイルへ書き込まれるおそれがあります。影響するのは、既定のローカルストレージを使う環境で、release.2026-07-21T11-27-40Z.2320より前の版です。修正版のrelease.2026-07-21T11-27-40Z.2320以降に更新してください。
Original description The description as published by the source.
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.
Source: CVE.org (CVE Program・cvelistV5) NVD GitHub Advisory
References
- advisory github.com
- advisory github.com
- advisory nvd.nist.gov
- patch github.com
- patch github.com
- web github.com