Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.
Sources: National Vulnerability Database, CISA KEV, Exploit-DB
CVE-2026-109155 Overview
CVE-2026-109155 is a path traversal vulnerability [CWE-22] in the DeepPavlov open-source conversational AI framework. The flaw affects versions up to and including 1.7.0 and resides in the untar function of the Model Download Handler component. An attacker can craft a malicious archive that, when processed by DeepPavlov, writes files outside the intended extraction directory. The issue is exploitable over the network and requires user interaction. According to the public disclosure, the DeepPavlov project was notified through an issue report but has not responded.
Critical Impact
Remote attackers can write arbitrary files to locations outside the intended model directory, potentially overwriting application files or configuration on systems running DeepPavlov.
Affected Products
- DeepPavlov conversational AI framework versions up to 1.7.0
- Deployments using the Model Download Handler component
- Applications relying on the untar function to extract downloaded model archives
Discovery Timeline
- 2026-10-13 - CVE-2026-109155 published to the National Vulnerability Database
- 2026-10-13 - Last updated in NVD database
Technical Details for CVE-2026-109155
Vulnerability Analysis
The vulnerability affects the untar function within DeepPavlov's Model Download Handler. The function extracts tar archives containing downloaded model files without validating that archive entries resolve to paths inside the intended output directory. An attacker who controls a tar archive processed by this handler can include entries with relative path sequences such as ../ or absolute paths. During extraction, these entries are written to arbitrary filesystem locations writable by the DeepPavlov process. Depending on the deployment, this can lead to overwriting Python modules, configuration files, cron entries, or SSH authorization files, which can escalate into code execution or persistence.
Root Cause
The root cause is missing path canonicalization and validation during tar extraction. The untar routine trusts filenames stored inside archive headers and does not verify that the resolved destination path remains under the intended extraction root. This is the standard "Zip Slip" / "Tar Slip" pattern classified under CWE-22.
Attack Vector
Exploitation requires that DeepPavlov process an attacker-influenced archive. This can occur when a user is tricked into downloading a model from a malicious source, when a model repository mirror is compromised, or when the handler is pointed at an attacker-controlled URL. The attack is remote but requires user interaction to initiate the download or extraction. See the GitHub Issue #1711 and VulDB CVE-2026-109155 entry for additional context.
Detection Methods for CVE-2026-109155
Indicators of Compromise
- Files created outside the configured DeepPavlov model directory shortly after a model download or untar operation
- Modifications to Python site-packages, user shell configuration, or SSH authorized_keys by the DeepPavlov process
- Tar archives on disk whose entries contain ../ sequences or absolute paths when inspected with tar -tvf
Detection Strategies
- Audit filesystem write activity by DeepPavlov processes and alert on writes outside the designated model cache directory
- Scan model archives before extraction for entries containing path traversal sequences or absolute paths
- Monitor outbound network connections from DeepPavlov hosts to unexpected model-hosting endpoints
Monitoring Recommendations
- Enable process and file telemetry on hosts running DeepPavlov and forward events to a centralized analytics platform
- Correlate archive extraction events with subsequent filesystem writes to detect out-of-directory file creation
- Track invocation of the untar function and the source URL of each downloaded model
How to Mitigate CVE-2026-109155
Immediate Actions Required
- Restrict DeepPavlov to download models only from trusted, pinned sources and disable arbitrary URL input where feasible
- Run DeepPavlov under a dedicated, least-privilege user account with write access limited to the model directory
- Review recent model downloads and extraction logs for files written outside the expected directory tree
Patch Information
At the time of publication, the DeepPavlov project has not responded to the issue report and no official patch is available. Monitor the DeepPavlov GitHub repository and Issue #1711 for a fixed release. Until a patch is released, apply the workarounds below.
Workarounds
- Wrap or replace the vulnerable untar call with an extraction routine that validates each archive entry resolves to a path inside the target directory
- Pre-validate downloaded archives using tar -tvf and reject any archive containing ../ sequences or absolute paths
- Isolate DeepPavlov in a container or sandbox with read-only mounts for sensitive paths such as /etc, /usr, and user home directories
# Example: safely list and validate a tar archive before extraction
tar -tvf model.tar.gz | awk '{print $NF}' | grep -E '^(/|.*\.\./)' && \
echo "Unsafe entries detected - do not extract" || \
echo "Archive paths appear safe"
Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.
Sources: National Vulnerability Database, CISA KEV, Exploit-DB

