@adonisjs/http-server has an Open Redirect vulnerability
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- Required
- Attack complexity
- Low
- Impact type
- Spoofing
- Confidentiality · integrity · availability
- Low · Low · None
- Fix status
- Fixed
Attack profile from CVSS 3.1 · CNA. Fix status from CNA and GitHub. Impact type from CWE-601.
Summary
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- No
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| adonisjs | http-server | 8.0.0-next.0 to before 8.2.0; before 7.8.1 | 8.2.0, 7.8.1 | Patch available | CNA |
| adonisjs | http-core | before 7.4.0 | 7.4.0 | Patch available | CNA |
| — | @adonisjs/http-server (npm) | 8.0.0-next.0 to before 8.2.0 | 8.2.0 | Patch available | GHSA-6qvv-pj99-48qm |
| — | @adonisjs/core (npm) | before 7.3.1 | 7.3.1 | Patch available | GHSA-6qvv-pj99-48qm |
| — | @adonisjs/http-server (npm) | before 7.8.1 | 7.8.1 | Patch available | GHSA-6qvv-pj99-48qm |
- http-server Vendoradonisjs Affected 8.0.0-next.0 to before 8.2.0; before 7.8.1 Fixed in 8.2.0, 7.8.1 Patch available CNA
- http-core Vendoradonisjs Affected before 7.4.0 Fixed in 7.4.0 Patch available CNA
- @adonisjs/http-server (npm) Vendor— Affected 8.0.0-next.0 to before 8.2.0 Fixed in 8.2.0 Patch available GHSA-6qvv-pj99-48qm
- @adonisjs/core (npm) Vendor— Affected before 7.3.1 Fixed in 7.3.1 Patch available GHSA-6qvv-pj99-48qm
- @adonisjs/http-server (npm) Vendor— Affected before 7.8.1 Fixed in 7.8.1 Patch available GHSA-6qvv-pj99-48qm
Remediation
- Fix · CNA http-server (adonisjs) Fixed in 8.2.0, 7.8.1
- Fix · CNA http-core (adonisjs) Fixed in 7.4.0
- Fix · GHSA-6qvv-pj99-48qm @adonisjs/http-server (npm) Fixed in 8.2.0 Advisory →
- Fix · GHSA-6qvv-pj99-48qm @adonisjs/core (npm) Fixed in 7.3.1 Advisory →
- Fix · GHSA-6qvv-pj99-48qm @adonisjs/http-server (npm) Fixed in 7.8.1 Advisory →
Timeline
- 2026-10-02 Threatist record created from CVE-2026-40255
- 2026-10-03 Alias added: GHSA-6qvv-pj99-48qm
References
Patch 2
Sources
- CVE-2026-40255 · CVE Program
- CVE-2026-40255 · NVD
- FIRST EPSS
- GHSA-6qvv-pj99-48qm · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences