CVE-2026-40255Adonisjs Http-server
Medium 6.1 No auth needed
Follow: this CVE · Adonisjs · Adonisjs Http-server We alert you by email or Slack (account required).
- Priority
- 52
- CVSS 3.1
- 6.1
- EPSS
- —
- Auth required
- No
- Published
- Apr 16, 2026
- Updated
- Oct 26, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-601
- SSVC (CISA)
- Exploitation: none · Automatable: no · Technical impact: partial
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
What happens
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.
What to do
- Apply the vendor's security update for Http-server.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| npm | @adonisjs/core |
< 7.3.1 |
7.3.1 |
npm install @adonisjs/core@7.3.1 |
| npm | @adonisjs/http-server |
≥ 8.0.0-next.0 < 8.2.0 |
8.2.0 |
npm install @adonisjs/http-server@8.2.0 |
| npm | @adonisjs/http-server |
< 7.8.1 |
7.8.1 |
npm install @adonisjs/http-server@7.8.1 |
Per OSV / GitHub Advisories (GHSA-6qvv-pj99-48qm). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| adonisjs | http-server | < 7.8.1 |
| adonisjs | http-server | > 8.0.0 ≤ 8.1.3 |
| adonisjs | core | ≤ 7.3.0 |
Official sources
References
Links published by the sources. Open them with care.
- github.com Patch
- github.com Release Notes
- github.com Release Notes
- github.com Patch Vendor Advisory