CVE-2022-23522
CVE-2022-23522 is a high-severity vulnerability in Mindsdb with a CVSS 3.x base score of 8.5. It is not currently listed as actively exploited by CISA, and its EPSS exploit-prediction score is low. The underlying weakness is classified as CWE-22.
Key facts
- Severity: High (CVSS 3.x base score 8.5)
- EPSS exploit prediction: 1% (55th percentile)
- Actively exploited: Not listed in CISA KEV
- Weakness: CWE-22
- Affected product: Mindsdb
- Published:
- Last modified:
Description
MindsDB is an open source machine learning platform. An unsafe extraction is being performed using `shutil.unpack_archive()` from a remotely retrieved tarball. Which may lead to the writing of the extracted files to an unintended location. This vulnerability is sometimes called a **TarSlip** or a **ZipSlip variant**. Unpacking files using the high-level function `shutil.unpack_archive()` from a potentially malicious tarball without validating that the destination file path remained within the intended destination directory may cause files to be overwritten outside the destination directory. An attacker could craft a malicious tarball with a filename path, such as `../../../../../../../../etc/passwd`, and then serve the archive remotely using a personal bucket `s3`, thus, retrieve the tarball through **mindsdb** and overwrite the system files of the hosting server. This issue has been addressed in version 22.11.4.3. Users are advised to upgrade. Users unable to upgrade should avoid ingesting archives from untrusted sources.
Frequently asked questions
- What is CVE-2022-23522?
- MindsDB is an open source machine learning platform. An unsafe extraction is being performed using `shutil.unpack_archive()` from a remotely retrieved tarball. Which may lead to the writing of the extracted files to an unintended location. This vulnerability is sometimes called a **TarSlip** or a **ZipSlip variant**. Unpacking files using the high-level function `shutil.unpack_archive()` from a potentially malicious tarball without validating that the destination file path remained within the intended destination directory may cause files to be overwritten outside the destination directory. An attacker could craft a malicious tarball with a filename path, such as `../../../../../../../../etc/passwd`, and then serve the archive remotely using a personal bucket `s3`, thus, retrieve the tarball through **mindsdb** and overwrite the system files of the hosting server. This issue has been addressed in version 22.11.4.3. Users are advised to upgrade. Users unable to upgrade should avoid ingesting archives from untrusted sources.
- How severe is CVE-2022-23522?
- CVE-2022-23522 has a CVSS 3.x base score of 8.5, rated high severity. It is exploitable over network with low attack complexity, requires low privileges and no user interaction. Impact on confidentiality is high, integrity low, and availability none.
- Is CVE-2022-23522 being actively exploited?
- It is not currently listed in CISA's KEV catalog. Its EPSS exploit-prediction score is 1% (55th percentile), an estimate of the probability of exploitation in the next 30 days.
- What products are affected by CVE-2022-23522?
- CVE-2022-23522 affects Mindsdb. See the affected-products list for the exact vulnerable versions.
- How do I fix CVE-2022-23522?
- Review the linked vendor and NVD advisories for patched versions and mitigations, then upgrade or apply the recommended workaround. Given its high severity, prioritise patching exposed systems.
- When was CVE-2022-23522 published?
- CVE-2022-23522 was published on 2023-03-30 and last updated on 2026-06-17.
References
Affected products (1)
- cpe:2.3:a:mindsdb:mindsdb:*:*:*:*:*:*:*:*
More vulnerabilities in Mindsdb
- CVE-2024-24759 — Critical (CVSS 9.3): MindsDB is a platform for building artificial intelligence from enterprise data. Prior to version 23.12.4.2, a threat…
- CVE-2023-50731 — Critical (CVSS 9.1): MindsDB is a SQL Server for artificial intelligence. Prior to version 23.11.4.1, the `put` method in…
- CVE-2023-38699 — Critical (CVSS 9.1): MindsDB's AI Virtual Database allows developers to connect any AI/ML model to any datasource. Prior to version…
- CVE-2024-45856 — Critical (CVSS 9.0): A cross-site scripting (XSS) vulnerability exists in all versions of the MindsDB platform, enabling the execution of a…
- CVE-2026-27483 — High (CVSS 8.8): MindsDB is a platform for building artificial intelligence from enterprise data. Prior to version 25.9.1.1, there is a…
- CVE-2024-45852 — High (CVSS 8.8): Deserialization of untrusted data can occur in versions 23.3.2.0 and newer of the MindsDB platform, enabling a…
Other CWE-22 (Path Traversal) vulnerabilities
- CVE-2026-48282 — Critical (CVSS 10.0): ColdFusion versions 2025.9, 2023.20 and earlier are affected by an Improper Limitation of a Pathname to a Restricted…
- CVE-2026-54917 — Critical (CVSS 10.0): SeaweedFS is a distributed storage system for object storage (S3), file systems, and Iceberg tables. Prior to 4.30, the…
- CVE-2026-11429 — Critical (CVSS 10.0): Two endpoints in the Vault Service ScriptsController, shared by Altium Enterprise Server and Altium 365, accept file…
- CVE-2026-34909 — Critical (CVSS 10.0): A malicious actor with access to the network could exploit a Path Traversal vulnerability found in UniFi OS devices to…
- CVE-2026-7411 — Critical (CVSS 10.0): In Eclipse BaSyx Java Server SDK versions prior to 2.0.0-milestone-10, inadequate path normalization in the Submodel…
- CVE-2026-36767 — Critical (CVSS 10.0): A path traversal vulnerability in the /content/images/add endpoint of shopizer v3.2.5 allows attackers write arbitrary…