CVE-2026-40255
Last modified
CVE-2026-40255 is a medium-severity vulnerability rated 6.1/10 on the CVSS scale. 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. EPSS estimates a 0.25% chance of exploitation in the next 30 days.
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.
Metrics
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Adonisjs | Http-Server | < 7.8.1 |
| Adonisjs | Http-Server | > 8.0.0, <= 8.1.3 |
| Adonisjs | Core | <= 7.3.0 |
References
- https://github.com/adonisjs/http-server/security/advisories/GHSA-6qvv-pj99-48qmPatch, Vendor Advisory
Timeline
- Published
- Last Modified
- Status
- Analyzed
Frequently Asked Questions
What is CVE-2026-40255?
How severe is CVE-2026-40255?
How do I fix CVE-2026-40255?
How Strix Helps
- One Click Account Takeover in GranolaHow a notification link broke out of Electron and led to a one-click account takeover.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2026
- CVE-2026-4025The PrivateContent Free plugin for WordPress is vulnerable t…6.4
- CVE-2026-40250OpenEXR provides the specification and reference implementat…7.1
- CVE-2026-40251Incus is a system container and virtual machine manager. In …6.5
- CVE-2026-40252FastGPT is an AI Agent building platform. Prior to 4.14.10.4…8.1
- CVE-2026-40253openCryptoki is a PKCS#11 library and provides tooling for L…6.1
- CVE-2026-40254FreeRDP is a free implementation of the Remote Desktop Proto…6.1
- CVE-2026-40256Weblate is a web based localization tool. In versions prior …5
- CVE-2026-40257OP-TEE is a Trusted Execution Environment (TEE) designed as …5.5
- CVE-2026-40258The Gramps Web API is a Python REST API for the genealogical…9.1
- CVE-2026-40259SiYuan is an open-source personal knowledge management syste…8.1
- CVE-2026-4026A security vulnerability has been identified in FlexNet Mana…8.7
- CVE-2026-40260pypdf is a free and open-source pure-python PDF library. In …5.3
Are you affected by CVE-2026-40255?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
