CVE-2026-104100 Teable: Arbitrary root file write via attachment presign hash path traversal
설명
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.
영향 받는 제품 제품 1개
-
해결 버전 있음
teableio
teable
영향 받는 버전
- release.2026-07-21T11-27-40Z.2320 미만
해결 버전
- release.2026-07-21T11-27-40Z.2320 이상
참고 자료 4건
- github.com https://github.com/teableio/teable/commit/cce429cb4bfc2d22732aca4835da90353f9c7fd6 (새 창)
- github.com https://github.com/teableio/teable/pull/3613 (새 창)
- github.com https://github.com/teableio/teable/releases/tag/release.2026-07-21T11-27-40Z.2320 (새 창)
- github.com https://github.com/teableio/teable/security/advisories/GHSA-h4hg-45pv-pv8j (새 창)