Skip to main content
VulnerabilityPublished

CVE-2026-40255: adonisjs http-server · Open Redirect

Affects adonisjs http-serverSource CVE Database V5

0
Compare

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

CVSS 3.1 base score
6.1Medium
How severe the flaw is on the 0–10 CVSS scale.
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:N

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 16 Apr 2026

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq 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

ProductAffectedFixed in
adonisjshttp-serverAffected
  • >=8.0.0-next.0 <8.2.0
Fixed in
  • 8.2.0
adonisjshttp-serverAffected
  • <7.8.1
Fixed in
  • 7.8.1
adonisjshttp-coreAffected
  • <7.4.0
Fixed in
  • 7.4.0
GitHubadonisjs/http-serverpkg:github/adonisjs/http-serverOther threatsAffected
  • <7.8.1
Fixed in
  • 7.8.1

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

Community reviews

Loading reviews…