Skip to main content

Open Mercato CVE-2026-16270

| EUVDEUVD-2026-47649 MEDIUM
Inefficient Regular Expression Complexity (ReDoS) (CWE-1333)
2026-07-22 CERT-PL GHSA-gchv-qq48-9rjw
6.9
CVSS 4.0 · Vendor: CERT-PL
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Obtain admin credentials or insider access
  2. Delivery
    Create malicious ReDoS regex rule in custom field
  3. Exploit
    Submit crafted input string to API endpoint
  4. Execution
    Trigger catastrophic backtracking in Node.js RegExp
  5. Persist
    Block event loop
  6. Impact
    Application unavailable to all users

Vulnerability Assessment

Weakness
CWE
ASVS 5.0
V2 - Validation and Business Logic Regex complexity limits
MITRE ATT&CK

1 technique across 1 tactic: Impact

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Exploitation requires the attacker to hold admin-level privileges sufficient to create or modify custom-field regex validation rules within Open Mercato - this is not a default-user or unauthenticated attack path. The PR:H metric in the CVSS 4.0 vector confirms this. The DoS trigger itself (submitting the crafted string) can be performed by any user who can interact with the affected endpoint, but the prerequisite of planting the malicious regex rule requires elevated access. Exploitation is limited to deployments where an untrusted or compromised party holds admin access; read-only or non-admin authenticated users cannot introduce the vulnerable regex rule. The vulnerability affects the custom-field validation pipeline and is specifically triggered via API endpoints that evaluate custom-field regex rules at request time.

Impact

The CVSS 4.0 score of 6.9 with vector AV:N/AC:L/AT:N/PR:H/UI:N/VC:N/VI:N/VA:H reflects the primary limiting factor: exploitation requires high-privilege (admin) access to create or modify custom-field regex rules. This significantly narrows the realistic attacker pool to malicious insiders, compromised admin accounts, or attackers who have already achieved admin-level persistence. The pure availability impact (VA:H) with no confidentiality or integrity effect constrains the business impact to service disruption rather than data breach. No EPSS data was provided, and the vulnerability is not listed in CISA KEV, indicating no observed widespread exploitation. A proof-of-concept was submitted during coordinated disclosure to CERT-PL and is referenced in the public GitHub PR, meaning the attack technique is no longer secret. The real-world risk is moderate for multi-tenant Open Mercato deployments where tenant administrators are untrusted or where admin credential compromise is plausible - in those environments, a single malicious rule could take down the shared application.

Exploit ScenarioDerived

A malicious or compromised administrator logs into Open Mercato and creates a custom field with a regex validation rule containing a catastrophic backtracking pattern such as ([0-9A-Za-z]+)*. Any user - including the attacker themselves - then submits a crafted string (e.g., a long alphanumeric sequence with a trailing non-matching character) to the PUT /api/customers/companies endpoint, causing the Node.js event loop to stall indefinitely and rendering the application unresponsive to all users. A proof-of-concept demonstrating this exact attack path was included in the CERT-PL disclosure.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
Patch available 0.5% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Jul 22, 2026

Denial-of-service via ReDoS in Open Mercato affects all versions prior to 0.6.4, allowing an authenticated administrator who can create custom-field regex rules to introduce catastrophic backtracking patterns that block the Node.js event loop when a crafted input string is submitted. The vulnerability affects the custom-field validation pipeline across server-side (packages/core, packages/shared) and client-side (packages/ui CrudForm) components, with confirmed exposure at the PUT /api/customers/companies endpoint. No active exploitation is recorded in CISA KEV, but a proof-of-concept was submitted as part of the CERT-PL disclosure and is referenced in the public patch PR.

RemediationAI

Upgrade to Open Mercato version 0.6.4, which replaces native JavaScript RegExp execution in all custom-field validation paths with RE2JS, a linear-time regex engine immune to catastrophic backtracking, and enforces bounded input length caps that fail closed before regex evaluation. The upstream fix is available at https://github.com/open-mercato/open-mercato/pull/1996. Administrators should be aware that RE2JS accepts a narrower regex syntax than native JavaScript RegExp; any existing custom-field regex rules using unsupported constructs will fail closed after upgrade, potentially rejecting valid values until the pattern is updated by an administrator. If immediate patching is not possible, restrict the ability to create or modify custom-field regex rules to the smallest possible set of trusted administrators, and consider rate-limiting or request-size-limiting the API endpoints that trigger custom-field validation (such as PUT /api/customers/companies) as a partial compensating control - noting that this does not prevent a determined insider from triggering the DoS with compliant-sized payloads.

Affected VersionsENISA

Open Mercato 0 <0.6.4

Affected Packages

euvd open_mercato fix: 0.6.4

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

CWE-1333 (Inefficient Regular Expression Complexity) covers ReDoS - a class of algorithmic complexity attacks in which specially crafted input strings force a backtracking regex engine into exponential evaluation time. Open Mercato (CPE: cpe:2.3:a:open_mercato:open_mercato:*:*:*:*:*:*:*:*) used native JavaScript RegExp to evaluate administrator-configured custom-field validation rules at runtime without sanitizing the regex pattern itself. JavaScript's v8 RegExp engine uses a backtracking NFA that can degrade to O(2^n) on inputs designed to exploit catastrophic backtracking, such as the pattern ([0-9A-Za-z]+)* referenced in the PR. Because Node.js runs on a single-threaded event loop, a blocking regex evaluation stalls the entire server process. The fix migrates all affected surfaces - custom-field validation, business-rule MATCHES evaluation, workflow trigger filters, and cache wildcard matching - from native RegExp to RE2JS, a linear-time regex engine that eliminates backtracking, combined with enforced input length caps.

Know when Open Mercato gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (CERT-PL) PRIMARY 6.9 MEDIUM
CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N
vuln.today AI 4.9 MEDIUM

Admin privileges required to plant the malicious regex rule (PR:H); pure availability impact with no confidentiality or integrity effect; network-accessible trigger after rule is planted.

3.1 AV:N/AC:L/PR:H/UI:N/S:U/C:N/I:N/A:H
4.0 AV:N/AC:L/AT:N/PR:H/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N

Primary rating from Vendor (CERT-PL).

CVSS VectorVendor: CERT-PL

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
High
User Interaction
None
Vulnerable system: Confidentiality
None
Vulnerable system: Integrity
None
Vulnerable system: Availability
High
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

DescriptionCVE.org

Open Mercato does not validate regex rules. An attacker with privileges to create the regex rule can add an unsafe regex to a field. When someone provide the proper string it can result in a DoS attack.

This issue was fixed in version 0.6.4.

Threat Intelligence Overview

EPSS Score
0.5%
Top 61% exploitable
Prevalence
Low
niche open-source marketplace platform, limited known enterprise adoption
Social Media
1
Sightings
Data Quality
7 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment CIRCL GitHub VulDB

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC No
EPSS 0.5%
Patch available Yes
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
No
Human Impact· derived
Medium
Technical Impact
Partial

Priority Score

34
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +34
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Denial of Service attacks render applications or systems unavailable by overwhelming resources or triggering failure conditions.

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy