{"id":"CVE-2026-40255","published":"2026-04-16T22:25:38Z","modified":"2026-04-17T18:43:10Z","title":"@adonisjs/http-server has an Open Redirect vulnerability","vendor":"adonisjs","product":"http-server","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":6.1,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00257,"percentile":0.17749,"provenance":"source"},"cwes":[{"id":"CWE-601","name":"URL Redirection to Untrusted Site"}],"references":[{"url":"https://github.com/adonisjs/http-server/security/advisories/GHSA-6qvv-pj99-48qm","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/adonisjs/http-server/commit/2008fb6cf4f6f1c0ca5797d57def4d93e1c3de08","tags":["x_refsource_MISC"]},{"url":"https://github.com/adonisjs/http-server/releases/tag/v7.8.1","tags":["x_refsource_MISC"]},{"url":"https://github.com/adonisjs/http-server/releases/tag/v8.2.0","tags":["x_refsource_MISC"]}],"priority":{"score":7.8,"factors":[{"name":"EPSS percentile","points":3.55},{"name":"CVSS severity","points":4.27}]},"vendorSlug":"adonisjs","affectedVersions":[{"vendor":"adonisjs","product":"http-server","versions":[">= 8.0.0-next.0, < 8.2.0","< 7.8.1"]},{"vendor":"adonisjs","product":"http-core","versions":["< 7.4.0"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2026-04-17T18:42:55.549238Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"npm","package":"@adonisjs/http-server","vulnerableRanges":[">=8.0.0-next.0, <8.2.0","<7.8.1"],"patched":["8.2.0","7.8.1"],"from":["GHSA-6qvv-pj99-48qm"],"provenance":"source"},{"ecosystem":"npm","package":"@adonisjs/core","vulnerableRanges":["<7.3.1"],"patched":["7.3.1"],"from":["GHSA-6qvv-pj99-48qm"],"provenance":"source"}],"summary":{"text":"The @adonisjs/http-server package (AdonisJS HTTP Server, used in the AdonisJS framework) contains an open redirect flaw in its response.redirect().back() method, which trusts the Referer header and redirects to that URL without validating the host. An attacker who can influence the Referer header of a request can send users to a malicious external site, and this requires user interaction (the victim must follow the redirect) and affects any application that uses response.redirect().back() or response.redirect('back').","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T22:13:49Z"},"euvd":{"id":"EUVD-2026-23320","exploited":false,"provenance":"source"},"lineage":{"packageHistory":[{"cve":"CVE-2026-40255","published":"2026-04-16","fixed":"8.2.0","kev":false},{"cve":"CVE-2026-104150","published":"2026-10-15","fixed":"9.1.1","kev":false,"link":{"from":"CVE-2026-40255","to":"CVE-2026-104150","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"npm:@adonisjs/http-server","fromFixed":"8.2.0","toFixed":"8.2.2","daysApart":182}]}},{"cve":"CVE-2026-107718","published":"2026-10-08","fixed":"9.3.0","kev":false}],"package":"npm:@adonisjs/http-server"}}