Unknown · Chestnutcms · CVE-2025-2917
**Name of the Vulnerable Software and Affected Versions**
ChestnutCMS versions up to 1.5.3
**Description**
A problematic issue was found in the `readFile` function of the `/dev-api/cms/file/read` API endpoint. The manipulation of the `filePath` argument leads to path traversal. This issue can be exploited remotely.
**Recommendations**
For ChestnutCMS versions up to 1.5.3, as a temporary workaround, consider disabling the `readFile` function until a patch is available. Restrict access to the `/dev-api/cms/file/read` API endpoint to minimize the risk of exploitation. Avoid using the `filePath` argument in the affected API endpoint until the issue is resolved. At the moment, there is no information about a newer version that contains a fix for this issue.