{"id":"CVE-2026-138590","summary":"ARTEX 0.7.0 before 0.7.1 Symlink Following via Chat Upload Directory","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.","aliases":["GHSA-r7q2-923j-j8wr"],"modified":"2026-12-01T16:00:12.572330259Z","published":"2026-12-01T14:30:20.791Z","database_specific":{"cwe_ids":["CWE-59"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/138xxx/CVE-2026-138590.json","cna_assigner":"VulnCheck"},"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"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/baarai/artex","events":[{"introduced":"22ae88afabf66e47e73644a0528d8b427c4c80b8"},{"fixed":"6479ed70f339057118e32b93df238850eed658b7"},{"fixed":"ec9790761fb750b9db54130fb5623c81afbae320"}],"database_specific":{"extracted_events":[{"range":[{"introduced":"0.7.0"},{"fixed":"0.7.1"}],"source":"AFFECTED_FIELD","strategy":"StandardRange"},{"source":"REFERENCES_COMMIT","range":[{"fixed":"ec9790761fb750b9db54130fb5623c81afbae320"}]}]}}],"versions":["v0.7.0"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-138590.json"}}],"schema_version":"1.9.2","severity":[{"type":"CVSS_V4","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"}]}