cve.bz

CVE-2026-40255 adonisjs: Open Redirect

6.1 mediumEPSS 0.3%Fix available

Medium (6.1) in adonisjs. EPSS 0.3% estimated probability of exploitation activity in the next 30 days. Fixed in @adonisjs/http-server 7.8.1, 8.2.0.

On this page
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.

Severity

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
EPSS
0.3% (unchanged from 0.2% a week ago; 0.3% 30 days ago) estimated probability of exploitation activity in the next 30 days; 18th percentile. Scored 2026-11-17. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: no · Technical impact: partial, assessed 2026-04-17. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-601 URL Redirection to Untrusted Site (Open Redirect)
OWASP Top 10
A01:2025 Broken Access Control
Published
Modified
NVD analysis
Analyzed
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2026-40255 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2026-40255?via=ask-ai-copy and https://cve.bz/cve/CVE-2026-40255?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2026-40255 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
adonisjs:http-serverbefore 7.8.1
adonisjs:http-serverafter 8.0.0 through 8.1.3
adonisjs:corethrough 7.3.0

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-6qvv-pj99-48qmnpm@adonisjs/http-server>=8.0.0-next.0 <8.2.08.2.0
GHSA-6qvv-pj99-48qmnpm@adonisjs/core<7.3.17.3.1
GHSA-6qvv-pj99-48qmnpm@adonisjs/http-server<7.8.17.8.1

Attack patterns (CAPEC)

  • CAPEC-178 Cross-Site Flashing Likelihood: Medium · Severity: Medium

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON