CVE-2026-40255
MEDIUM 6.1CVSS 3.1@adonisjs/http-server has an Open Redirect vulnerability
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.
- Published
- 16 Apr 2026
- Last modified
- 26 Oct 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Analyzed
- Weakness
- CWE-601
- Also known as
- GHSA-6qvv-pj99-48qm
- Sources
- NVDJSONOSV GHSA-6qvv-pj99-48qmJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security-advisories@github.com (Secondary) | CVSS 3.1 | MEDIUM 6.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
| OSV | GitHub | CVSS 3.1 | MEDIUM 6.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | adonisjs | http-servercpe:2.3:a:adonisjs:http-server:*:*:*:*:*:node.js:*:* |
< 7.8.1 | 7.8.1 |
| NVD | adonisjs | http-servercpe:2.3:a:adonisjs:http-server:*:*:*:*:*:node.js:*:* |
> 8.0.0, <= 8.1.3 | |
| NVD | adonisjs | corecpe:2.3:a:adonisjs:core:*:*:*:*:*:node.js:*:* |
<= 7.3.0 | |
| OSV | npm | @adonisjs/http-server | >= 8.0.0-next.0, < 8.2.0 | 8.2.0 |
| OSV | npm | @adonisjs/core | < 7.3.1 | 7.3.1 |
| OSV | npm | @adonisjs/http-server | < 7.8.1 | 7.8.1 |
References
- https://github.com/adonisjs/http-server/commit/2008fb6cf4f6f1c0ca5797d57def4d93e1c3de08 · Patch, WEB
- https://github.com/adonisjs/http-server/releases/tag/v7.8.1 · Release Notes, WEB
- https://github.com/adonisjs/http-server/releases/tag/v8.2.0 · Release Notes, WEB
- https://github.com/adonisjs/http-server/security/advisories/GHSA-6qvv-pj99-48qm · Patch, Vendor Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2026-40255 · ADVISORY
- https://github.com/adonisjs/http-server · PACKAGE
History
- 25 Nov 2026 21:02 UTC · NVD: first stored (published 16 Apr 2026)
- 25 Nov 2026 20:10 UTC · OSV: first stored (published 14 Apr 2026)