CVE-2026-40255: adonisjs http-server · Open Redirect
Affects adonisjs http-serverSource CVE Database V5
Not known to be exploited · CVSS 6.1 Medium : upgrade to 8.2.0 or 7.8.1 when convenient.
Data as of 30 Oct 2026, 11:52 UTC
- EPSS
- 0.2% chance of exploitation in 30 days – higher than 16% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
- Patch
- Available – fixed in 8.2.0, 7.8.1, 7.4.0
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:NExploitation evidence
Disclosed: evidence found.
CVE published 16 Apr 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 30 Oct 2026.
What to do
Upgrade http-server to 8.2.0 or 7.8.1; http-core to 7.4.0; adonisjs/http-server to 7.8.1.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| adonisjshttp-server | Affected
| Fixed in
|
| adonisjshttp-server | Affected
| Fixed in
|
| adonisjshttp-core | Affected
| Fixed in
|
GitHubadonisjs/http-serverpkg:github/adonisjs/http-serverOther threats | Affected
| Fixed in
|
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
A fix is available in AdonisJS HTTP Server versions 7.8.1 and 8.2.0, and in @adonisjs/core version 7.4.0. Users should upgrade to these or later versions to remediate the vulnerability. No other mitigation is specified or required once patched.
Description
A vulnerability in AdonisJS HTTP Server prior to versions 7.8.1 and 8.2.0 allows an attacker to exploit the response.redirect(). back() method. This method improperly trusts the Referer header from incoming requests and redirects users to that URL without validating the host. An attacker who can control the Referer header can redirect users to malicious external sites. This open redirect issue affects all AdonisJS applications using this method in the specified vulnerable versions.
References
- github.com/adonisjs/http-server/security/advisories/GHSA-6qvv-pj99-48qm (opens in a new tab)
- github.com/adonisjs/http-server/commit/2008fb6cf4f6f1c0ca5797d57def4d93e1c3de08 (opens in a new tab)
- github.com/adonisjs/http-server/releases/tag/v7.8.1 (opens in a new tab)
- github.com/adonisjs/http-server/releases/tag/v8.2.0 (opens in a new tab)