CVE-2025-55013
Python vulnerability analysis and mitigation

Overview

The Assemblyline 4 Service Client (CVE-2025-55013) is affected by a path traversal vulnerability that could lead to arbitrary file writes. The vulnerability exists in versions below 4.6.1.dev138, where the service client accepts a SHA-256 value returned by the service server and uses it directly as a local filename without proper validation. This vulnerability was discovered and disclosed in August 2025 (GitHub Advisory).

Technical details

The vulnerability exists in the taskhandler.py file within the downloadfile() function, where the SHA-256 string from the service-server JSON response is used as a filename without validation or sanitization. The vulnerability has been assigned a CVSS v3.1 base score of 10.0 (Critical) with the vector string CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:N/I:H/A:H. The issue is classified as CWE-23 (Relative Path Traversal) (GitHub Advisory, NVD).

Impact

A successful exploitation of this vulnerability could allow an attacker to write files to arbitrary locations on the disk. This could lead to integrity compromise through overwriting critical files, availability issues through disk space exhaustion, and potential code execution by dropping malicious cron jobs, systemd units, or overwriting binaries. For example, an attacker could write to sensitive locations like '/etc/cron.d/evil' (GitHub Advisory).

Mitigation and workarounds

The vulnerability has been fixed in version 4.6.1.dev138. The fix includes implementing proper validation of SHA-256 values using regular expressions before using them as filenames. It's important to note that in production environments, this code should be executed within a containerized environment such as assemblyline-v4-service, which ensures filesystem-level permissions and proper network policies (GitHub Advisory).

Additional resources


SourceThis report was generated using AI

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management