Summary
CVE-2026-138240 is an authorization bypass vulnerability (CWE-639, Authorization Bypass Through User-Controlled Key) in the "TCA API" (tca_api, Composer package maikschneider/tca-api) TYPO3 extension. Relation writes can reference inline child records and file references that belong to other records, allowing an attacker to take them over and delete them. It is rated High (CVSS 8.3), and the maintainer notes that some variants can be exploited by unauthenticated users.
Technical details
- Root cause: The extension exposes database tables as REST resources. Its relation write handling does not verify that the referenced inline child records and file references belong to the record being written. The advisory lists this among nine access-control weaknesses fixed in the same release.
- Trigger conditions: The affected resource operations must be exposed. Per the advisory, exploitability depends on how the exposed resources are configured, and some variants are reachable without authentication.
- Attack vector: Network. An attacker submits a relation write that references inline children or file references of other records.
- Impact: The referenced child records and file references are moved to the attacker’s record. They can then be deleted together with that record, resulting in integrity and availability impact on other records’ data.
Affected software
- TCA API (tca_api / maikschneider/tca-api) TYPO3 extension: versions 2.3.0 and below
- Fixed in 2.3.1
Severity
- CVSS v4.0 base score: 8.3 (High). The CVE record lists the vector as
CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:H/VA:H/SC:N/SI:N/SA:N. No CVSS v3.1 vector was published in the sources reviewed.
Mitigation and recommended actions
- Immediate: Upgrade TCA API to version 2.3.1 or later.
- After updating, flush the tca_api cache and review the release notes for breaking changes. The update changes how embedded relations are rendered.
- If you cannot patch immediately, restrict network access to the exposed TCA API endpoints. Review which resources and operations are exposed, particularly those reachable without authentication. This is general hardening and not a vendor-documented workaround.
- The same advisory covers related CVEs (CVE-2026-138235 through CVE-2026-138243), so the upgrade addresses those as well.

