Skip to content
FlawDB
Sign in
Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

CVE-2026-40255

MEDIUM 6.1EPSS 19%

@adonisjs/http-server has an Open Redirect vulnerability

Also known as GHSA-6qvv-pj99-48qm

Mitigation

  • Upgrade @adonisjs/http-server to one of 8.2.0, 7.8.1 (or later in the same release line).
  • Upgrade @adonisjs/core to 7.3.1 or later.

Who should check

  • Projects that depend on npm package @adonisjs/http-server (>= 8.0.0-next.0, < 8.2.0)
  • Projects that depend on npm package @adonisjs/core (< 7.3.1)
  • Anyone running adonisjs http-server >= 8.0.0-next.0, < 8.2.0; < 7.8.1
  • Anyone running adonisjs http-core < 7.4.0

Vulnerability facts

Affected
@adonisjs/http-server >= 8.0.0-next.0, < 8.2.0; @adonisjs/core < 7.3.1
Fixed in
8.2.0, 7.8.1, 7.3.1
Exploited in the wild
Not in CISA KEV
Public exploit / PoC
None known
Remote exploitation
Remote, no login needed
CVSS
6.1 (v3.1, CNA)CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:NOpen in CVSS calculator
Show all 8 CVSS metrics
  • Attack vector: Network
  • Attack complexity: Low
  • Privileges required: None
  • User interaction: Required
  • Scope: Changed (impact reaches other components)
  • Confidentiality impact: Low
  • Integrity impact: Low
  • Availability impact: None
EPSS
0.33% chance of exploitation in 30 days (percentile 19, 2026-11-26)
CWE
CWE-601
Published
Modified

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.

Affected and fixed versions

Package / productAffectedFixedSource
npm @adonisjs/http-server>= 8.0.0-next.0, < 8.2.08.2.0, 7.8.1osv
npm @adonisjs/core< 7.3.17.3.1osv
adonisjs http-server>= 8.0.0-next.0, < 8.2.0; < 7.8.1—cvelist
adonisjs http-core< 7.4.0—cvelist

Check your systems with an agent

Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.

Check whether anything I run is affected by CVE-2026-40255. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-40255.md
Affected: @adonisjs/http-server >= 8.0.0-next.0, < 8.2.0; @adonisjs/core < 7.3.1
Fixed in: 8.2.0, 7.8.1, 7.3.1

Steps:
1. Search this machine and project for @adonisjs/http-server (npm), @adonisjs/core (npm), adonisjs http-server, adonisjs http-core: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.

References

FAQ

Is CVE-2026-40255 being exploited?

There is no confirmed exploitation: CVE-2026-40255 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.33% chance of exploitation in the next 30 days (as of 2026-11-26).

How serious is CVE-2026-40255?

Medium: CVSS 6.1 (v3.1, scored by CNA). Remote, no login needed. A user has to take an action, such as opening a link, for the attack to work.

Which versions are affected by CVE-2026-40255?

@adonisjs/http-server >= 8.0.0-next.0, < 8.2.0; @adonisjs/core < 7.3.1.

Is there a fix for CVE-2026-40255?

Yes. Fixed in 8.2.0, 7.8.1, 7.3.1. Upgrade @adonisjs/http-server to one of 8.2.0, 7.8.1 (or later in the same release line). Upgrade @adonisjs/core to 7.3.1 or later.

How do I check if I'm affected by CVE-2026-40255?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

Sponsors