CVE Catalog

CVE-2026-40255

MediumCVSS 6.1
Published: Updated: Translated: NVD NIST

Exploitation Probability (EPSS)

Low risk
0.25%

16th percentile - higher than 16% of all known CVEs

Summary

In @adonisjs/http-server versions prior to 7.8.1 and 8.0.0-next.0 through 8.1.3, and @adonisjs/core prior to 7.4.0, response.redirect().back() reads the Referer header and redirects to that URL without host validation. An attacker who can influence the Referer header can redirect users to a malicious external site.

Risk Assessment

Application users may be redirected to malicious sites, facilitating phishing and credential theft.

Recommendation

Update @adonisjs/http-server to version 7.8.1 or 8.2.0 and @adonisjs/core to version 7.4.0 or later.

Other vulnerabilities in AdonisJS HTTP Server

See all
Original NVD description (English source)

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.

Vulnerability data from NVD (NIST) · CISA KEV · EPSS