CVE-2026-145819: Remark42 through 1.18.0 Path Traversal via Comment Image IDs
Remark42 through 1.18.0 contains a path traversal vulnerability that allows authenticated commenters to touch, probe, and delete files by embedding '..' segments in comment img src paths. Attackers can post a comment with an image URL ending in /../<filename> so that admin deletion removes files such as the bolt database, causing data loss and denial of service.
Affected Software
Event History
Frequently Asked Questions
Who can exploit this issue?
An attacker must be able to authenticate as a commenter and submit a comment containing a crafted image source path with '..' segments. Exploitation also requires an administrator to delete the malicious comment, which triggers removal of the referenced path.
Are deployments affected by default?
The issue affects Remark42 through 1.18.0 as described. The provided information does not identify any configuration prerequisite beyond allowing authenticated users to post comments and administrators to delete them.
What is the likely impact if exploitation succeeds?
An attacker can cause files to be touched, probed, or deleted through traversal in comment image IDs. Deleting the Bolt database is specifically identified as a possible outcome, resulting in data loss and denial of service.
How can administrators identify potentially malicious comments?
Review comment image source paths for '..' path segments, particularly image URLs ending in '/../<filename>'. Such comments should be treated carefully because deleting them may trigger deletion of the traversed file path.