PoC Monitor
← All CVEs
CVE-2026-40887published 21 Apr 2026 19:24 UTCData: JSON · API

Vendurehq vendure

@vendure/core has a SQL Injection vulnerability

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.

First public PoC Date pendingpublic PoC known, its date not yet looked up
Public PoCs10 on GitHub · 1 Exploit-DB, Metasploit or nuclei
CVSS9.1critical · scored by CNA · CWE-89
CISA KEV Not listednot known exploited

Affected versions and mitigation

From the CVE record and the vendor's references.

Affected

vendurehq vendure
  • >= 3.0.0, < 3.5.7
  • >= 3.6.0, < 3.6.2
  • >= 1.7.4, < 2.3.4

Fixed in 3.5.7, 3.6.2, 2.3.4

Mitigation

Upgrade vendure to 3.5.7 or 3.6.2 or 2.3.4 or later.

References

Timeline

Days relative to CVE publication
-2t=0+2+4+6+8CVE published21 Apr 2026 · t = 0

Public PoC known, its date not yet looked up; not in CISA KEV.

PoC repositories

Found on GitHub.

No PoC repositories found yet.

Other public exploits

Exploit-DB, Metasploit and nuclei count as public PoCs. Exploit-tagged references from the CVE record and NVD are links only. None of these are analysed by us.
SourceTitlePublishedFound by us
nuclei templatenuclei template: Vendure Core - SQL Injectionunknown14 Nov 2026