Open redirectin adonisjs http-server.
No public exploit found; not on exploited lists.
AdonisJS HTTP Server is a package for handling HTTP requests in the AdonisJS framework. In @adonisjs/http-server versions prior to 7.8.1 and 8.0.0-next.0 through 8.1.3, and @adonisjs/core versions prior to 7.4.0, the response.redirect().back() method reads the Referer header from the incoming HTTP request and redirects to that URL without validating the host.An attacker who can influence the Referer header can cause the application to redirect users to a malicious external site. This affects all AdonisJS applications that use response.redirect().back() or response.redirect('back'). This issue has been fixed in versions 7.8.1 and 8.2.0 and 7.4.0 of @adonisjs/core.
- Upgrade http-server to 7.8.1, 8.2.0 or later, whichever matches your release line.
- Upgrade http-core to 7.4.0 or later.
- Upgrade @adonisjs/http-server (npm) to 7.8.1, 8.2.0 or later, whichever matches your release line.
- Upgrade @adonisjs/core (npm) to 7.3.1 or later.
Affected and fixed versions
From the CVE record, NVD and package advisories. When no source has versions yet, this table says "not confirmed" instead of guessing.
From first report to first attacks
- 10 Apr 2026CVE ID reserved by GitHub_M.
- 16 Apr 2026Published in the CVE List.
- 17 Apr 2026CVE record last updated.
Attack code anyone can find
Exploit maturity: No public exploit found. CISA assessment (SSVC): exploitation none.
Listed so defenders can judge how urgent this is and test systems they are authorised to test. Patchminder does not host exploit code; links open the source page. Labels for GitHub repositories come from their public details and are never a promise about the code. Run anything only in an isolated lab.
Report a link
Nothing on this page links to exploit code right now. To report anything else, write to the contact point in the legal notice.
Other http-server vulnerabilities
Same weakness: Open redirect
- github.com x_refsource_CONFIRM
- github.com x_refsource_MISC
- github.com x_refsource_MISC
- github.com x_refsource_MISC
Patchminder. CVE-2026-40255: Open redirect in adonisjs http-server. https://patchminder.com/cve/cve-2026-40255/ (accessed 5 December 2026).