Skip to content
Heist/ feed
Back to feed
High

Symlink Following in txtai leads to arbitrary file write when loading untrusted embedding indices

Type: advisorySources: OSV

The txtai framework allows the loading of compressed tar files as embedding indices. While the validate function is intended to prevent path traversal vulnerabilities by ensuring safe filenames, it does not account for symbolic links within the tar file. An attacker is able to write a file anywhere in the filesystem when txtai is used to load untrusted embedding indices

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2025-10854
Confirmed fixed CVEs
Not specified
Updated in this feed
6 Nov 2026, 01:00 UTC · Revision 1

Source evidence

Symlink Following in txtai leads to arbitrary file write when loading untrusted embedding indices

core-osv · Original source

Published 22 Sept 2025, 12:04 UTC

The txtai framework allows the loading of compressed tar files as embedding indices. While the validate function is intended to prevent path traversal vulnerabilities by ensuring safe filenames, it does not account for symbolic links within the tar file. An attacker is able to write a file anywhere in the filesystem when txtai is used to load untrusted embedding indices

osv:CVE-2025-10854
Complete source record
{
  "id": "63e296128d3e11cfc8cd1f7dfe8c2db1a2a26e8d46dcd5f96ecc5f9257fa582a",
  "url": "https://osv.dev/vulnerability/CVE-2025-10854",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "Symlink Following in txtai leads to arbitrary file write when loading untrusted embedding indices",
    "summary": "The txtai framework allows the loading of compressed tar files as embedding indices. While the validate function is intended to prevent path traversal vulnerabilities by ensuring safe filenames, it does not account for symbolic links within the tar file. An attacker is able to write a file anywhere in the filesystem when txtai is used to load untrusted embedding indices",
    "evidence": "osv:CVE-2025-10854",
    "products": [],
    "severity": "high",
    "structured": {
      "id": "CVE-2025-10854",
      "aliases": [
        "CVE-2025-10854"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/neuml/txtai",
              "type": "GIT",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "last_affected": "9ef94c8c79771c2a33ccabe00dcd8969a4742474"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "range": [
                      {
                        "introduced": "0"
                      },
                      {
                        "last_affected": "9.0.0"
                      }
                    ],
                    "source": "AFFECTED_FIELD",
                    "strategy": "StandardRange"
                  }
                ]
              }
            }
          ],
          "versions": [
            "v9.0.0",
            "v8.6.0",
            "v8.5.0",
            "v8.4.0",
            "v8.3.1",
            "v8.3.0",
            "v8.2.0",
            "v8.1.0",
            "v8.0.0",
            "v7.5.0",
            "v7.4.0",
            "v7.3.0",
            "v7.2.0",
            "v7.1.0",
            "v7.0.0",
            "v6.3.0",
            "v6.2.0",
            "v6.1.0",
            "v6.0.0",
            "v5.5.1",
            "v5.5.0",
            "v5.4.0",
            "v5.3.0",
            "v5.2.0",
            "v5.1.0",
            "v5.0.0",
            "v4.6.0",
            "v4.5.0",
            "v4.4.0",
            "v4.3.1",
            "v4.3.0",
            "v4.2.1",
            "v4.2.0",
            "v4.1.0",
            "v4.0.0",
            "v3.7.0",
            "v3.6.0",
            "v3.5.0",
            "v3.4.0",
            "v3.3.0",
            "v3.2.0",
            "v3.1.0",
            "v3.0.0",
            "v2.0.0",
            "v1.5.0",
            "v1.4.0",
            "v1.3.0",
            "v1.2.1",
            "v1.2.0",
            "v1.1.0",
            "v1.0.0"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-10854.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:45.541425444Z",
      "provider": "osv",
      "references": [
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/10xxx/CVE-2025-10854.json",
        "https://nvd.nist.gov/vuln/detail/CVE-2025-10854",
        "https://research.jfrog.com/vulnerabilities/txtai-arbitrary-file-write-jfsa-2025-001471363/",
        "https://github.com/neuml/txtai/issues/965",
        "https://pypi.org/project/pip"
      ],
      "provider_metadata": {
        "cwe_ids": [
          "CWE-61"
        ],
        "cna_assigner": "JFROG",
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/10xxx/CVE-2025-10854.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2025-10854",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 513676,
  "published_at": "2025-09-22T12:04:51.805+00:00"
}