CVE-2026-53779: WebP Server Go Path Traversal on Windows
WebP Server Go version 0.14.4 and earlier contains a path traversal vulnerability that allows attackers to read files outside the intended image directory on Windows systems. An attacker can craft specially formatted web requests using percent-encoded backslashes to bypass security checks and access arbitrary files that the web server process can reach. This affects Windows deployments specifically, where the vulnerability exploits how Go's path handling differs from Windows' native file system behavior.
Source data · NVD / CISA · public domain
- CVSS
- 3.1 · 7.5 HIGH · CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
- Weaknesses (CWE)
- CWE-22
- Affected products
- 0 configuration(s)
- Published / Modified
- 2026-06-22 / 2026-07-14
NVD description (verbatim)
WebP Server Go through 0.14.4 contains a path traversal vulnerability on Windows that allows unauthenticated attackers to read files outside the configured IMG_PATH directory by sending requests with percent-encoded backslashes (%5C) that bypass the path.Clean() sanitization in handler/router.go. Attackers can exploit the discrepancy between Go's forward-slash-only path normalization and Windows file system APIs that treat backslashes and forward slashes as equivalent to access arbitrary files on the host filesystem accessible to the server process.
3 reference(s) · View on NVD →
SEC.co analysis · AI-assisted, reviewed against source
Technical summary
The vulnerability resides in handler/router.go where path.Clean() sanitization fails to account for percent-encoded backslashes (%5C). Go's path.Clean() normalizes only forward slashes, leaving Windows-encoded backslashes unprocessed. When the request reaches Windows file system APIs, both backslashes and forward slashes are treated as path separators, allowing traversal beyond IMG_PATH boundaries. An unauthenticated remote attacker can send requests with %5C sequences to navigate the directory tree and read sensitive files accessible to the server process without authentication or user interaction.
Business impact
Unauthorized file disclosure poses a significant confidentiality risk. Attackers can extract sensitive configuration files, credentials, private keys, or application data stored on the server. For organizations using WebP Server Go to serve images from restricted directories, this creates a data breach vector. The severity is heightened if the server runs with elevated privileges or has access to sensitive system files. Remediation delay increases exposure window for opportunistic reconnaissance and data theft.
Affected systems
WebP Server Go version 0.14.4 and earlier on Windows platforms. The vulnerability does not affect Linux or other Unix-like systems where backslash is a valid filename character rather than a path separator. Organizations running WebP Server Go on Windows infrastructure are directly at risk; those on Linux/Unix distributions are unaffected by this specific issue.
Exploitability
Exploitation is straightforward and requires no authentication, no user interaction, and no special privileges. An attacker needs only network access to the WebP Server Go instance and knowledge of the server's existence. The attack surface is the standard HTTP request mechanism. No advanced techniques or complex prerequisites are needed, making this vulnerability immediately exploitable by even unsophisticated threat actors. The attack is remotely triggerable over the network.
Remediation
Upgrade WebP Server Go to a version newer than 0.14.4 that implements proper path traversal defenses. Verify against the vendor's advisory for the specific patched version. Temporary mitigations pending patching include restricting network access to the WebP Server Go instance via firewall rules, running the process with minimal file system permissions, or disabling the service until a patch is available. After patching, verify that percent-encoded backslashes no longer allow directory traversal in test requests.
Patch guidance
Check the official WebP Server Go repository and release notes for versions released after 0.14.4. Apply the patched version according to your deployment method (binary update, container image, or source rebuild). Test the patched version in a non-production environment first to ensure compatibility. Verify the fix by attempting exploitation vectors with %5C-encoded requests—these should now be properly sanitized or rejected. Monitor vendor advisories for confirmation that this specific bypass has been closed.
Detection guidance
Monitor HTTP access logs for requests containing %5C (percent-encoded backslash) patterns, particularly those targeting paths above the configured IMG_PATH directory or accessing known sensitive files (e.g., config files, system paths). Implement Web Application Firewall (WAF) rules to block requests with encoded backslashes or suspicious path traversal sequences. Set up file integrity monitoring on sensitive files to detect unauthorized reads. Review access logs for successful HTTP 200 responses to requests with traversal patterns. Correlate WebP Server Go access logs with file system access audit logs to identify suspicious read activity.
Why prioritize this
This vulnerability merits prompt patching due to its HIGH CVSS score (7.5), network exploitability, lack of authentication requirement, and direct confidentiality impact. Although not yet on the KEV catalog, the ease of exploitation and potential for credential disclosure or sensitive data exfiltration make this a priority for Windows-based deployments. Organizations should prioritize patching WebP Server Go instances accessible from untrusted networks.
Risk score, explained
The CVSS 3.1 score of 7.5 reflects a HIGH severity vulnerability driven by network accessibility (AV:N), low attack complexity (AC:L), no privilege or user interaction requirements (PR:N/UI:N), and high confidentiality impact (C:H). The vulnerability does not enable integrity or availability attacks, capping the score. The risk is elevated in practice for environments where WebP Server Go has access to sensitive files or runs on systems with broader file system exposure.
Frequently asked questions
Does this vulnerability affect WebP Server Go on Linux or macOS?
No. This vulnerability is specific to Windows deployments. It exploits Windows' treatment of both forward and backward slashes as path separators in contrast to Go's forward-slash-only normalization. Linux and macOS systems treat backslashes as regular filename characters, preventing the traversal bypass. If you run WebP Server Go on non-Windows platforms, you are not affected by CVE-2026-53779.
What files can an attacker access through this vulnerability?
An attacker can read any files accessible to the WebP Server Go process on the file system. This typically includes configuration files, environment files, source code, and potentially private keys or credentials stored on the same system. The scope depends on the file system permissions of the user account running the server process. It does not enable arbitrary code execution or file modification.
Is there a workaround if I cannot patch immediately?
Yes. Restrict network access to the WebP Server Go instance using firewall rules or reverse proxy authentication to limit exposure. Run the process with minimal required file system permissions using OS-level access controls. Alternatively, disable the service until a patch is available if the service is non-critical. These are temporary measures; patching should remain the priority.
How do I verify that the patch actually fixes this issue?
After patching, test by sending HTTP requests to the server with percent-encoded backslashes in the URL path (e.g., /images%5C..%5Cconfig.ini or similar traversal attempts). Properly patched versions should either sanitize these sequences, reject the requests, or prevent traversal to files outside IMG_PATH. Monitor access logs to confirm requests are blocked or handled safely. Always test in a non-production environment first.
This analysis is provided for informational purposes and does not constitute legal or professional security advice. Organizations should verify all stated facts, affected versions, and patch availability against official vendor advisories and security bulletins. Exploitation should only be performed in authorized testing environments with proper consent. The absence of KEV listing does not diminish risk; prioritize patching based on your environment and exposure. Always test patches in non-production environments before deployment. SEC.co makes no guarantees regarding the completeness or accuracy of third-party vendor information. Source: NVD (public-domain), retrieved 2026-07-28. Analysis generated by SEC.co (claude-haiku-4-5).
Weaknesses (CWE)
Related vulnerabilities
- CVE-2016-20076HIGHWordPress Simple-Backup 2.7.11 Unauthenticated File Access & Deletion Vulnerability
- CVE-2016-20081HIGHHB Audio Gallery Lite Path Traversal Vulnerability – Unauthenticated File Download
- CVE-2017-20248HIGHApptha Slider Gallery Path Traversal Vulnerability
- CVE-2017-20250HIGHMac Photo Gallery 3.0 Path Traversal File Download Vulnerability
- CVE-2018-25408HIGHOpen ISES Project Path Traversal Vulnerability (High Severity)
- CVE-2024-32729HIGHPath Traversal in QuantumCloud Conversational Forms for ChatBot (CVSS 7.5)
- CVE-2024-40646HIGHVertex Path Traversal Vulnerability – Remote File Access Risk
- CVE-2025-60223HIGHWPBot Pro Arbitrary File Deletion Vulnerability – HIGH Risk Exploit