{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "extracted_events": [
              {
                "range": [
                  {
                    "introduced": "0.7.0"
                  },
                  {
                    "fixed": "0.7.1"
                  }
                ],
                "source": "AFFECTED_FIELD",
                "strategy": "StandardRange"
              },
              {
                "range": [
                  {
                    "fixed": "ec9790761fb750b9db54130fb5623c81afbae320"
                  }
                ],
                "source": "REFERENCES_COMMIT"
              }
            ]
          },
          "events": [
            {
              "introduced": "22ae88afabf66e47e73644a0528d8b427c4c80b8"
            },
            {
              "fixed": "6479ed70f339057118e32b93df238850eed658b7"
            },
            {
              "fixed": "ec9790761fb750b9db54130fb5623c81afbae320"
            }
          ],
          "repo": "https://github.com/baarai/artex",
          "type": "GIT"
        }
      ]
    }
  ],
  "aliases": [
    "GHSA-r7q2-923j-j8wr"
  ],
  "database_specific": {
    "cna_assigner": "VulnCheck",
    "cwe_ids": [
      "CWE-59"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/138xxx/CVE-2026-138590.json"
  },
  "details": "ARTEX 0.7.0 before 0.7.1 contains a symlink following vulnerability in chatUpload that allows the unprivileged executor to redirect root-written operator uploads outside the run directory. Attackers with executor code execution, such as a prompt-injected agent, can replace the uploads directory with a symlink so the root server writes uploaded files into any host directory.",
  "id": "CVE-2026-138590",
  "modified": "2026-12-01T15:45:43.009480974Z",
  "published": "2026-12-01T14:30:20.791Z",
  "references": [
    {
      "type": "ARTICLE",
      "url": "https://github.com/BaaRai/ARTEX/blob/b130cff6023316f5aef4021387c7aa71f4be2f25/server/chatupload.go#L95-L96"
    },
    {
      "type": "ARTICLE",
      "url": "https://github.com/BaaRai/ARTEX/blob/b130cff6023316f5aef4021387c7aa71f4be2f25/server/execpriv_unix.go#L357"
    },
    {
      "type": "FIX",
      "url": "https://github.com/BaaRai/ARTEX/commit/ec9790761fb750b9db54130fb5623c81afbae320"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/BaaRai/ARTEX/security/advisories/GHSA-r7q2-923j-j8wr"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/138xxx/CVE-2026-138590.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-138590"
    },
    {
      "type": "ADVISORY",
      "url": "https://www.vulncheck.com/advisories/artex-0.7.0-before-0.7.1-symlink-following-via-chat-upload-directory"
    }
  ],
  "schema_version": "1.9.2",
  "severity": [
    {
      "score": "CVSS:4.0/AV:L/AC:L/AT:P/PR:L/UI:P/VC:N/VI:N/VA:N/SC:L/SI:L/SA:L",
      "type": "CVSS_V4"
    }
  ],
  "summary": "ARTEX 0.7.0 before 0.7.1 Symlink Following via Chat Upload Directory"
}