Browse / AI Framework and Platform Flaws / Path traversal and file access
Path traversal and file access
209 records in AI Framework and Platform Flaws.
- NLTK: Path Traversal in save_maxent_params / load_maxent_params Allow Arbitrary File READ/WRITE
- NLTK: Symlink escape in chat80.sql_query bypasses the pathsec data-root sandbox to read out-of-root SQLite databases
- NLTK: BllipParser passes caller-supplied model paths to the bllipparser C extension with no pathsec check, enabling arbitrary read
- NLTK: Symlink escape in YCOECorpusReader lets a psd/pos directory symlink read files outside the corpus root within the data sandbox
- LangGraph: Unencoded identifiers in LangGraph SDK v3 streaming can redirect authenticated GET requests Unencoded thread_id or assistant_id values containing relative segments are normalised into other server paths, so an authenticated GET is sent to a different endpoint than intended.
- MLflow FileStore trace IDs allow path traversal and arbitrary file writes
- PraisonAI: ContextGatherer include resolution permits absolute and traversal reads outside the workspace
- PraisonAI: Project config can auto-save agent output outside the project root
- Docling: Crafted DoclingDocument JSON embeds local image files into converted output
- Docling has arbitrary file read/write (and command execution when shell-escape is enabled) when rendering untrusted TikZ with the opt-in Tectonic engine
- Docling: Arbitrary local file read via draw:image xlink:href in the OpenDocument backend A crafted ODF file makes the backend read an absolute path named in an image reference, embedding the file contents in the converted output.
- khoj has an unauthenticated path traversal in /home/ endpoint that allows file read from server filesystem An unauthenticated request to the home static-file route uses ../ sequences in the path, which are joined to the base directory and resolve to arbitrary server files.
- n8n: Path Injection in Elasticsearch and ElasticSecurity Nodes via Unencoded Identifiers Identifiers are placed unencoded into REST paths, so separators or dot segments redirect requests to other Elasticsearch endpoints using the stored credential.
- n8n: Git Node branch.<name>.remote Config Key Bypasses Sandbox Path Restriction, Enabling Local Git Repository Read
- NLTK: Corpus Reader Sandbox Bypass Two NLTK corpus reader constructors open files and databases from outside the root before the pathsec sandbox check runs, letting callers read arbitrary paths.
- NLTK: Symlink-based arbitrary file read in IPIPANCorpusReader, bypasses nltk.pathsec entirely A symlink inside the corpus root passes traversal checks, and the IPIPAN reader opens it with builtin open, reading arbitrary files the process can access.
- NLTK: Stable FrameNet and NKJP readers parse outside-root XML NLTK reader functions build XML file paths from unvalidated selectors or index values, letting traversal read files outside the corpus root.
- NLTK: FileSystemPathPointer.open() sandbox check is dead code — arbitrary file read via file:// protocol A logic error makes the absolute-path check in the file pointer's open method never trigger, so any file the process can read is loaded through a file URL.
- NLTK: Symlink-based sandbox bypass in FramenetCorpusReader (bypasses the fix for CVE-2026-54292) A symlink with a separator-free name inside the corpus directory passes the name check, so reads resolve to files outside the corpus root.
- NLTK: Symlink escape in CorpusReader allows arbitrary local file read outside the corpus root
- NLTK: StreamBackedCorpusView Bypasses pathsec.ENFORCE - Arbitrary Local File Read
- NLTK: Model-artifact APIs bypass pathsec and touch files outside allowed roots Model import and export functions call plain open() on caller-supplied paths, skipping the path guard that sibling helpers apply and reading or writing outside allowed roots.
- NLTK: Downloader.download follows hardlinks and overwrites outside-root files The downloader blocks symlink escapes but not pre-existing hardlinks, so extracting a package writes through a hardlink and modifies a file outside the install root.
- praisonaiagents vulnerable to arbitrary file write via unsanitized `user_id` in `FileMemory.__init__()` — path traversal to any writable location
- NLTK CrubadanCorpusReader path traversal allows arbitrary file disclosure A corpus mapping value that is an absolute path makes the reader open files outside the corpus, skipping the containment check.
- nltk: Arbitrary File Read via Path Traversal in nltk.data.load() through Percent-Encoded Sequences
- Flowise: Authenticated arbitrary file write in the `S3 Directory` document loader via unsanitized S3 object keys Attacker-chosen S3 object keys are joined into local paths without stripping traversal sequences, so files are written outside the temporary directory.
- Keras: HDF5 links can disclose local file contents
- Transformers save_pretrained path traversal allows arbitrary file writes through chat template names
- Natural Language Toolkit (NLTK): Path Traversal in NKJPCorpusReader leads to Arbitrary File Read and bypasses the nltk.pathsec sandbox (ENFORCE=True) The corpus reader joins attacker-supplied file IDs to the root without containment checks, reading files outside the corpus while skipping the library's path validation.
- Natural Language Toolkit (NLTK) has path traversal in FramenetCorpusReader.frame() that allows arbitrary XML file read, bypassing the nltk.pathsec sandbox (ENFORCE=True)
- Hugging Face Datasets folder-based builders allow path traversal through file_name metadata Folder-based dataset builders join an unvalidated file_name metadata value to the dataset directory, so traversal sequences read arbitrary local files.
- open-webui terminal proxy path traversal guard bypass via 9x encoded traversal Traversal sequences encoded nine times survive the proxy's limited decoding loop, so requests reach terminal server paths outside the permitted proxy prefix.
- LiteLLM: Local file read via request-supplied OIDC file references A health test endpoint resolves request-supplied OIDC file references, letting a privileged caller make the server read arbitrary local files.
- LiteLLM: Arbitrary file write via path traversal in Skills archive extraction Skill ZIP entries containing traversal sequences are written outside the staging directory when the skill is processed.
- n8n: Send Email Node Arbitrary File Read and SSRF via Nodemailer Content-Object Type Confusion Non-string values reaching a mail node's body fields are treated by the mail library as file paths or URLs, exposing local files from the host.
- n8n: Git Node fetch/pull/pushTags Operations Bypass Sandbox Path Restriction
- n8n: Path-Confinement Bypass in computer-use search_files Allows Reading Files Outside the Base Directory
- n8n: Edit Image Node Format Injection Allows Arbitrary File Write
- Keras: tar extraction permits symlink-based path traversal
- Gradio FileExplorer preprocess path traversal allows files outside root_dir to reach callbacks
- Keras: DiskIOStore permits path traversal through crafted layer names
- LangSmith SDK TracingMiddleware: Arbitrary server-side file read Header-supplied fields inject file attachments, and a broken type check fails to stop the tracing thread reading any server file the attacker names.
- PraisonAI GitHub template cache path traversal allows outside-cache file write and directory deletion Crafted GitHub template ref values escape the cache directory, letting the loader write files and delete arbitrary outside directories.
- PraisonAI Code agent tools fail open without a workspace boundary
- PraisonAI: Unauthenticated Local File Inclusion via agent_file path in PraisonAI Jobs API
- Open WebUI: Sibling-Prefix Path Traversal via /cache/{path}
- Open WebUI: Path traversal / SSRF in terminal server proxy via encoded path traversal
- LangChain: Path traversal and sandbox escape in LangChain file-search middleware and loaders
- Langflow: Path Traversal in Knowledge Bases API via Creation Endpoint The knowledge base name in the create endpoint is joined into a filesystem path without sanitisation, letting an authenticated user create directories and write files outside their area.