# CVE-2026-40255: @adonisjs/http-server has an Open Redirect vulnerability

- Severity: Medium 6.1 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.26%, higher than 18% of CVEs (2026-12-02)
- Published: 2026-04-14T20:01:28.000Z
- Modified: 2026-10-26T00:10:00.150Z
- Also known as: GHSA-6qvv-pj99-48qm
- Weaknesses: CWE-601
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: GitHub_M

## Description

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.

(As written by CVE List.)

## Affected

- adonisjs http-server: >= 8.0.0-next.0, < 8.2.0; < 7.8.1; before 7.8.1; from >8.0.0 up to 8.1.3
- adonisjs http-core: < 7.4.0
- @adonisjs/http-server (npm): from 8.0.0-next.0 before 8.2.0; before 7.8.1
- @adonisjs/core (npm): before 7.3.1
- adonisjs core: up to 7.3.0

## Every score

- GitHub_M: CVSS:3.1 6.1 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N`
- GitHub: CVSS:3.1 6.1 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N`

## References

- <https://github.com/adonisjs/http-server/security/advisories/GHSA-6qvv-pj99-48qm> (patch, vendor-advisory, web)
- <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://nvd.nist.gov/vuln/detail/CVE-2026-40255> (advisory)
- <https://github.com/adonisjs/http-server> (package)

## Sources

- CVE List: [CVE-2026-40255](https://www.cve.org/CVERecord?id=CVE-2026-40255), CVE Terms of Use, modified 2026-04-17
- GitHub Advisory Database: [GHSA-6qvv-pj99-48qm](https://github.com/advisories/GHSA-6qvv-pj99-48qm), CC-BY-4.0, modified 2026-05-05
- NVD: [CVE-2026-40255](https://nvd.nist.gov/vuln/detail/CVE-2026-40255), Public domain, modified 2026-10-26

---

Page: https://cve.day/CVE-2026-40255 · Whole record: https://cve.day/CVE-2026-40255.json · Rebuilt by cve.day 2026-11-25T22:59:18.922Z
