CVE-2026-104743
The Tainacan plugin for WordPress is vulnerable to Directory Traversal in all versions up to, and including, 1.3.0 via the 'tmp_file' parameter parameter.
Impact
The Tainacan plugin for WordPress is vulnerable to Directory Traversal in all versions up to, and including, 1.3.0 via the 'tmp_file' parameter parameter. This makes it possible for authenticated attackers, with editor-level access and above, to read the contents of arbitrary files on the server, which can contain sensitive information. The poisoned importer path is persisted to the database and later triggered via a separate GET request to the /source_info endpoint, which passes the attacker-controlled path to fopen() and fgetcsv() and returns parsed file contents in the REST response.
Affected packages
This record carries no package version data, so it cannot be matched against a dependency list automatically. Read the advisory and compare your version by hand.
Weakness classification
References
- NVD record
- CVE.org record
- https://github.com/tainacan/tainacan/commit/1cc2c179d213670ae4bd378473d6fecbc35c6357
- https://plugins.trac.wordpress.org/browser/tainacan/tags/1.3.0/classes/api/endpoints/class-tainacan-rest-importers-controller.php#L146
- https://plugins.trac.wordpress.org/browser/tainacan/tags/1.3.0/classes/api/endpoints/class-tainacan-rest-importers-controller.php#L190
- https://plugins.trac.wordpress.org/browser/tainacan/tags/1.3.0/classes/api/endpoints/class-tainacan-rest-importers-controller.php#L223
- https://plugins.trac.wordpress.org/browser/tainacan/tags/1.3.0/classes/api/endpoints/class-tainacan-rest-importers-controller.php#L266
- https://plugins.trac.wordpress.org/browser/tainacan/tags/1.3.0/classes/background-process/importer/class-tainacan-csv.php#L334
- https://plugins.trac.wordpress.org/browser/tainacan/tags/1.3.0/classes/background-process/importer/class-tainacan-csv.php#L36
- https://plugins.trac.wordpress.org/browser/tainacan/tags/1.3.0/classes/background-process/importer/class-tainacan-csv.php#L93
- https://plugins.trac.wordpress.org/browser/tainacan/tags/1.3.0/classes/background-process/importer/class-tainacan-importer.php#L255
- https://plugins.trac.wordpress.org/browser/tainacan/tags/1.4.0/classes/api/endpoints/class-tainacan-rest-importers-controller.php
- https://www.wordfence.com/threat-intel/vulnerabilities/id/e16bda6d-0818-468b-9114-82a8f5f68caf?source=cve