CVE-2026-40255
Published:April 16, 2026
Updated:April 23, 2026
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.
Affected Packages
https://github.com/adonisjs/http-server.git (GITHUB):
Affected version(s) >=v1.0.0 <v7.8.1Fix Suggestion:
Update to version v7.8.1https://github.com/adonisjs/http-server.git (GITHUB):
Affected version(s) >=v8.0.0-next.0 <v8.2.0Fix Suggestion:
Update to version v8.2.0@adonisjs/http-server (NPM):
Affected version(s) >=1.2.4 <7.8.1Fix Suggestion:
Update to version 7.8.1@adonisjs/http-server (NPM):
Affected version(s) >=8.0.0-next.0 <8.2.0Fix Suggestion:
Update to version 8.2.0Related Resources (5)
Do you need more information?
Contact UsCVSS v4
Base Score:
5.3
Attack Vector
NETWORK
Attack Complexity
LOW
Attack Requirements
NONE
Privileges Required
NONE
User Interaction
PASSIVE
Vulnerable System Confidentiality
LOW
Vulnerable System Integrity
LOW
Vulnerable System Availability
NONE
Subsequent System Confidentiality
LOW
Subsequent System Integrity
LOW
Subsequent System Availability
NONE
CVSS v3
Base Score:
6.1
Attack Vector
NETWORK
Attack Complexity
LOW
Privileges Required
NONE
User Interaction
REQUIRED
Scope
CHANGED
Confidentiality
LOW
Integrity
LOW
Availability
NONE
Weakness Type (CWE)
URL Redirection to Untrusted Site ('Open Redirect')
EPSS
Base Score:
0.03