CVE-2026-95813
6.1e621ng · e621ng
e621ng versions before 26.09.16 are vulnerable to an open redirect flaw in the PaginatorComponent, allowing attackers to manipulate URL parameters to redirect users to malicious domains.
Executive summary
An unauthenticated open redirect vulnerability in e621ng allows attackers to craft malicious links that redirect users to external, attacker-controlled domains.
Vulnerability
The application improperly handles untrusted request parameters within the PaginatorComponent and controller navigation links by passing them directly to the Rails url_for helper. This allows an unauthenticated attacker to inject host, protocol, and port parameters, effectively hijacking pagination links to point to arbitrary malicious origins.
Business impact
The primary risk associated with this vulnerability is the facilitation of phishing attacks, as users may be directed to deceptive sites while under the impression they are navigating the legitimate e621ng platform. While the CVSS score of 6.1 identifies this as a medium-severity issue, the ability to weaponize trusted navigation links can lead to significant reputational damage and the compromise of user credentials or session tokens through social engineering.
Remediation
Immediate Action: Upgrade the e621ng installation to version 26.09.16 or later to incorporate the patch that properly sanitizes request parameters.
Proactive Monitoring: Review web server and application logs for anomalous navigation requests containing unexpected host or protocol parameters in the query string.
Compensating Controls: Deploy or update Web Application Firewall (WAF) rules to inspect and strip unauthorized URL parameters from incoming requests, specifically targeting pagination and navigation endpoints.
Exploitation status
Public Exploit Available: Unknown
Analyst recommendation
Organizations utilizing the e621ng software should prioritize updating to the latest version immediately to eliminate this open redirect vector. By ensuring that user-supplied input is not trusted during the construction of navigation links, administrators effectively neutralize the risk of link-based phishing attempts against their user base.
History
- Analyst report written
Sources
Originally found and disclosed by Zian F. do Vale, per the CVE Program record.
- Pull Request #2518 Patch commit
- Patch Commit Patch commit
- e621ng 26.09.16 Release Notes Release notes
- PaginatorComponent#nav_params_for at 26.09.02 Technical analysis
- github.com
- VulnCheck Advisory: e621ng before 26.09.16 Open Redirect via URL Parameters Third-party advisory