Symbolic links (symlinks) could be used to access files or directories outside the intended web root folder.
SWS generally does not prevent symlinks from escaping the web server’s root directory. Therefore, if a malicious actor gains access to the web server’s root directory, they could create symlinks to access other files outside the designated web root folder either by URL or via the directory listing.
ln -s escape.txt $HOME/.bashrchttp://localhost/escape.txt in your browser.Any web server that runs with elevated privileges (e.g., root/administrator) and handles user-supplied file uploads is primarily impacted.
{
"severity": "MODERATE",
"cwe_ids": [
"CWE-61"
],
"github_reviewed_at": "2025-12-08T22:18:00Z",
"nvd_published_at": "2025-12-09T16:18:24Z",
"github_reviewed": true
}