CVE-2026-5258 Details
Description
A vulnerability was found in Sanster IOPaint 1.5.3. Impacted is the function _get_file of the file iopaint/file_manager/file_manager.py of the component File Manager. Performing a manipulation of the argument filename results in path traversal. The attack is possible to be carried out remotely. The exploit has been made public and could be used. The vendor was contacted early about this disclosure but did not respond in any way.
A path traversal vulnerability has been identified in Sanster IOPaint version 1.5.3, specifically within the File Manager component. The issue arises in the `_get_file` function of `iopaint/file_manager/file_manager.py`, where the `filename` parameter from user HTTP query strings is concatenated with a base directory path without proper validation or sanitization. This flaw enables remote attackers to manipulate the filename argument to escape the intended directory and access arbitrary files on the server.
The vulnerability can be addressed by implementing proper validation and sanitization of the filename parameter to prevent path traversal. This includes rejecting any path separators, extracting only the filename component, and verifying that the resolved path remains within the base directory before allowing access.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
Volerion
Assessed Apr 1, 2026CISA-ADP
Assessed Apr 1, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/August829/CVEP/issues/11 | [email protected] | ExploitIssue TrackingTechnical Analysis |
| https://vuldb.com/submit/780666 | [email protected] | Issue TrackingTechnical Description |
| https://vuldb.com/vuln/354448 | [email protected] | AdvisoryExploitTechnical Description |
| https://vuldb.com/vuln/354448/cti | [email protected] | Content Wall |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-22 | Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| Sanster IOPaint | All versions |
CPE
Remediation
| |
Change History
4 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Apr 29, 2026 | Data Remediation | [email protected] |
| Apr 1, 2026 | New CVE Received | [email protected] |
Volerion