Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

CVE-2026-40255: CWE-601: URL Redirection to Untrusted Site ('Open Redirect') in adonisjs http-server

0
Medium
VulnerabilityCVE-2026-40255cvecve-2026-40255cwe-601
Published: Thu Apr 16 2026 (04/16/2026, 22:25:38 UTC)
Source: CVE Database V5
Vendor/Project: adonisjs
Product: http-server

Description

A vulnerability in AdonisJS HTTP Server allows an attacker to exploit the response. redirect(). back() method by manipulating the Referer header to redirect users to malicious external sites. This open redirect issue affects versions prior to 7. 8. 1 and between 8. 0. 0-next. 0 and 8. 1.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 04/16/2026, 23:01:51 UTC

Technical Analysis

The AdonisJS HTTP Server package contains an open redirect vulnerability (CWE-601) in the response.redirect().back() method, which reads the Referer header from incoming HTTP requests and redirects users to that URL without validating the host. This allows attackers who can control the Referer header to redirect users to untrusted external sites. The issue affects @adonisjs/http-server versions prior to 7.8.1 and from 8.0.0-next.0 up to 8.1.3, and @adonisjs/core versions prior to 7.4.0. The vulnerability has been addressed in versions 7.8.1 and 8.2.0 of @adonisjs/http-server and 7.4.0 of @adonisjs/core.

Potential Impact

Successful exploitation can lead to users being redirected to malicious external websites, potentially facilitating phishing or other social engineering attacks. The vulnerability does not directly impact confidentiality or availability but can lead to limited confidentiality and integrity impacts due to user redirection. The CVSS score of 6.1 reflects a medium severity with network attack vector, low attack complexity, no privileges required, user interaction required, and scope changed.

Mitigation Recommendations

This vulnerability has been fixed in @adonisjs/http-server versions 7.8.1 and 8.2.0 and in @adonisjs/core version 7.4.0. Users should upgrade to these or later versions to remediate the issue. Patch status is not explicitly stated in the vendor advisory content provided, but the fixed versions are clearly identified. Until upgrading, avoid using response.redirect().back() or ensure proper validation of the Referer header before redirecting.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.2
Assigner Short Name
GitHub_M
Date Reserved
2026-04-10T17:31:45.787Z
Cvss Version
3.1
State
PUBLISHED
Remediation Level
null

Threat ID: 69e166dc82d89c981fd8594f

Added to database: 4/16/2026, 10:46:52 PM

Last enriched: 4/16/2026, 11:01:51 PM

Last updated: 4/17/2026, 12:02:19 AM

Views: 4

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses