Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.
Sources: National Vulnerability Database, CISA KEV, Exploit-DB
CVE-2026-112004 Overview
CVE-2026-112004 is an authorization bypass vulnerability in Teable, an open-source database collaboration platform. The flaw exists in the folder rename endpoint PATCH /api/base/:baseId/node/folder/:folderId. The handler validates base|update permissions against the baseId provided in the URL but does not verify that the target folderId belongs to that base. Authenticated users can supply a foreign folderId and rename folders in bases where they lack membership. The issue is tracked as [CWE-639: Authorization Bypass Through User-Controlled Key] and was fixed in release 2026-10-12T12-45-53Z.3331.
Critical Impact
Any authenticated Teable user can rename folders inside bases they do not belong to, breaking tenant isolation for folder metadata.
Affected Products
- Teable versions prior to release 2026-10-12T12-45-53Z.3331
- nestjs-backend component, specifically base-node-folder.service.ts
- Self-hosted and community deployments of Teable using the vulnerable release branch
Discovery Timeline
- 2026-10-18 - CVE-2026-112004 published to NVD
- 2026-10-20 - Last updated in NVD database
Technical Details for CVE-2026-112004
Vulnerability Analysis
Teable exposes folder operations through the REST path PATCH /api/base/:baseId/node/folder/:folderId. The service layer performs an authorization check that only validates whether the caller holds the base|update permission on the baseId segment of the URL. The folderId parameter is trusted and never cross-checked against the parent base. An attacker who holds base|update on any base they legitimately own can send a request that references their own baseId and a folderId from a different, unrelated base.
The backend proceeds to update the folder record keyed solely by folderId, mutating folder metadata inside a tenant the attacker never joined. The impact is limited to integrity of folder names, which aligns with the vulnerability's low-impact classification. Confidentiality and availability are not directly affected because no data is read or deleted through this path.
Root Cause
The root cause is an Insecure Direct Object Reference. The permission guard scopes authorization to the URL baseId, but the data operation uses folderId as the primary key. Because these two identifiers are never reconciled, authorization is decoupled from the resource actually modified.
Attack Vector
Exploitation requires an authenticated account with permission to update at least one base. The attacker crafts a PATCH request to /api/base/<own-baseId>/node/folder/<victim-folderId> with a new folder name in the body. The vulnerable service invokes the rename against the victim folder and returns success.
// Patch metadata from the fix commit (ci and tooling changes)
lockfile=true
# force use npmjs.org registry
registry=https://registry.npmjs.org/
-use-node-version=22.22.3
+use-node-version=24.19.0
save-prefix=''
Source: GitHub Commit 3c1c4646. The authorization logic itself is implemented in base-node-folder.service.ts.
Detect Identity Attacks the Moment Authentication Fails
Singularity™ Identity surfaces credential misuse, lateral movement, and privilege escalation in real time, so you can contain the breach before it spreads.
Stop Identity AttacksDetection Methods for CVE-2026-112004
Indicators of Compromise
- Unexpected folder name changes inside bases whose membership roster did not include the acting user.
- Audit log entries showing PATCH /api/base/:baseId/node/folder/:folderId where the resolved parent base of folderId differs from the baseId in the URL.
- User complaints about renamed or missing folders in bases that were not shared externally.
Detection Strategies
- Instrument the folder rename handler to log both the URL baseId and the actual parent base resolved from folderId, then alert on mismatches.
- Review historical application logs for PATCH requests to the folder endpoint and correlate caller identity against base membership tables.
- Add integration tests that assert cross-base folder rename attempts return 403 Forbidden.
Monitoring Recommendations
- Forward Teable application and reverse-proxy logs to a central analytics platform and build a rule for folder PATCH anomalies.
- Track rename frequency per user and flag accounts that mutate folders across multiple distinct bases in short windows.
- Monitor privileged service accounts and API tokens for unusual folder modification volume post-upgrade.
How to Mitigate CVE-2026-112004
Immediate Actions Required
- Upgrade Teable to release 2026-10-12T12-45-53Z.3331 or later, available on the Teable releases page.
- Audit folder metadata in each base to confirm names were not altered by unauthorized callers.
- Rotate API tokens issued to users who should not retain base-level update permissions.
Patch Information
The vendor fix is included in release 2026-10-12T12-45-53Z.3331. Technical details are documented in GitHub Security Advisory GHSA-5qj3-rq3x-q739 and the VulnCheck advisory. The corrective change is published in commit 3c1c4646.
Workarounds
- Place the folder PATCH endpoint behind a reverse-proxy rule that rejects requests where the caller is not a member of the target base, pending upgrade.
- Temporarily reduce the number of users granted base|update to shrink the authenticated attack surface.
- Disable public or self-service account registration on exposed Teable instances until the patched build is deployed.
# Example nginx guard: require authenticated session and restrict folder PATCH to internal network
location ~ ^/api/base/[^/]+/node/folder/[^/]+$ {
if ($request_method = PATCH) {
allow 10.0.0.0/8;
deny all;
}
proxy_pass http://teable_backend;
}
Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.
Sources: National Vulnerability Database, CISA KEV, Exploit-DB

