S4E just found a medium-severity finding from leaked token-api key scanner
PlatformPlansPartners
Resources
ToolsBlogDocs
Sign Up →
critical·Product Based Web Vulnerabilities·Updated Apr 17, 2026

CVE-2026-40887 Scanner

CVE-2026-40887 Scanner - SQL Injection vulnerability in Vendure Core

Est. Time~10 seconds
Scan TypeSingle Scan
Targetsdomain, subdomain, ipv4
CostFree
3.4k
Times Used
continuous scan runs
6.1k
Continuously Checked
assets under CS
0
Vulnerabilities Found
confirmed findings
References
CVECVE-2026-40887
9.1
CVSScritical
Exploitable remotely over the internet · no authentication required.

Vendure is an open-source headless commerce platform. Starting in version 1.7.4 and prior to versions 2.3.4, 3.5.7, and 3.6.2, an unauthenticated SQL injection vulnerability exists in the Vendure Shop API. A user-controlled query string parameter is interpolated directly into a raw SQL expression without parameterization or validation, allowing an attacker to execute arbitrary SQL against the database. This affects all supported database backends (PostgreSQL, MySQL/MariaDB, SQLite). The Admin API is also affected, though exploitation there requires authentication. Versions 2.3.4, 3.5.7, and 3.6.2 contain a patch. For those who are unable to upgrade immediately, Vendure has made a hotfix available that uses `RequestContextService.getLanguageCode` to validate the `languageCode` input at the boundary. This blocks injection payloads before they can reach any query. The hotfix replaces the existing `getLanguageCode` method in `packages/core/src/service/helpers/request-context/request-context.service.ts`. Invalid values are silently dropped and the channel's default language is used instead. The patched versions additionally convert the vulnerable SQL interpolation to a parameterized query as defense in depth.

Attack Vector
Network
Privileges Req.
None
User Interaction
None
Affected
vendureby vendurehq
>= 3.0.0, < 3.5.7
Updated Sep 9, 2026View on NVD →
Detail

Vendure Core is an open-source headless commerce platform crafted using Node.js and TypeScript. It primarily serves developers and businesses, facilitating the creation of ecommerce platforms. As a customizable solution, Vendure ensures scalability while offering tools for efficient product management, order processing, and customer service. Additionally, Vendure is widely used in commercial settings wanting to leverage a flexible backend to support ecommerce operations. With a supportive community and rich documentation, it encourages contribution and adaptability for diverse commercial needs.

SQL Injection is a serious security vulnerability that allows attackers to intervene maliciously with SQL queries. This vulnerability in Vendure Core could enable unauthorized execution of SQL commands and potentially compromise the entire database. The injection occurs due to improper parameter handling, making the system susceptible to attackers bypassing authentication procedures. This type of vulnerability is particularly dangerous due to its potential effect on database integrity and confidentiality. Notably, when exploited, it can open paths for attackers to access sensitive information stored within the database.

The SQL Injection vulnerability in Vendure Core is particularly centered on the `languageCode` query parameter. This parameter is interpolated directly into a raw SQL CASE expression without adequate safeguards, such as input validation or parameterization. As such, malicious parties can manipulate this parameter to inject arbitrary SQL commands, effectively gaining unauthorized access to execute SQL operations. This could facilitate not only the leakage of data but also potentially permit unauthorized modifications and deletions. Testing revealed specific response patterns indicating successful injection attempts, confirming the vulnerability's impact.

When malicious actors exploit this SQL Injection vulnerability, they can perform drastic operations on the database. These may include unauthorized data access leading to information disclosure, data tampering, or even total erasure of database contents. A successful attack could represent severe privacy and security implications for users and administrators. Furthermore, if attackers control database interactions, it can lead to denial of service, rendering the application unusable while facilitating other types of attacks by leveraging insights gained from compromised data.

REFERENCES

Solution Advice
  • Update the Vendure Core to version 3.6.2, 3.5.7, or 2.3.4 or later where input validation and parameterized queries are implemented.
  • Implement strict input validation to ensure that data accepted by user inputs are sanitized and vetted properly.
  • Use parameterized queries to help safeguard against SQL injection by separating SQL logic from user inputs.
  • Conduct regular code and security audits to ensure no additional vulnerabilities exist within the system.
  • Establish intrusion detection systems to monitor and respond to suspicious activities effectively.

Get AI-powered remediation steps tailored to your asset.

Try AI Solutions →

Check your infrastructure.
Right now.

11,000+ scanners. Free to start. No credit card required.