The SentinelOne Annual Threat Report - A Defenders Guide from the FrontlinesThe SentinelOne Annual Threat ReportGet the Report
Experiencing a Breach?Blog
Get StartedContact Us
SentinelOne
  • Platform
    Platform Overview
    • Singularity Platform
      Welcome to Integrated Enterprise Security
    • AI for Security
      Leading the Way in AI-Powered Security Solutions
    • Securing AI
      Accelerate AI Adoption with Secure AI Tools, Apps, and Agents.
    • How It Works
      The Singularity XDR Difference
    • Singularity Marketplace
      One-Click Integrations to Unlock the Power of XDR
    • Pricing & Packaging
      Comparisons and Guidance at a Glance
    Data & AI
    • Purple AI
      Accelerate SecOps with Generative AI
    • Singularity Hyperautomation
      Easily Automate Security Processes
    • AI-SIEM
      The AI SIEM for the Autonomous SOC
    • AI Data Pipelines
      Security Data Pipeline for AI SIEM and Data Optimization
    • Singularity Data Lake
      AI-Powered, Unified Data Lake
    • Singularity Data Lake for Log Analytics
      Seamlessly Ingest Data from On-Prem, Cloud or Hybrid Environments
    Endpoint Security
    • Singularity Endpoint
      Autonomous Prevention, Detection, and Response
    • Singularity XDR
      Native & Open Protection, Detection, and Response
    • Singularity RemoteOps Forensics
      Orchestrate Forensics at Scale
    • Singularity Threat Intelligence
      Comprehensive Adversary Intelligence
    • Singularity Vulnerability Management
      Application & OS Vulnerability Management
    • Singularity Identity
      Identity Threat Detection and Response
    Cloud Security
    • Singularity Cloud Security
      Block Attacks with an AI-Powered CNAPP
    • Singularity Cloud Native Security
      Secure Cloud and Development Resources
    • Singularity Cloud Workload Security
      Real-Time Cloud Workload Protection Platform
    • Singularity Cloud Data Security
      AI-Powered Threat Detection for Cloud Storage
    • Singularity Cloud Security Posture Management
      Detect and Remediate Cloud Misconfigurations
    Securing AI
    • Prompt Security
      Secure AI Tools Across Your Enterprise
  • Why SentinelOne?
    Why SentinelOne?
    • Why SentinelOne?
      Cybersecurity Built for What’s Next
    • Our Customers
      Trusted by the World’s Leading Enterprises
    • Industry Recognition
      Tested and Proven by the Experts
    • About Us
      The Industry Leader in Autonomous Cybersecurity
    Compare SentinelOne
    • Arctic Wolf
    • Broadcom
    • CrowdStrike
    • Cybereason
    • Microsoft
    • Palo Alto Networks
    • Sophos
    • Splunk
    • Trellix
    • Trend Micro
    • Wiz
    Verticals
    • Energy
    • Federal Government
    • Finance
    • Healthcare
    • Higher Education
    • K-12 Education
    • Manufacturing
    • Retail
    • State and Local Government
  • Services
    Managed Services
    • Managed Services Overview
      Wayfinder Threat Detection & Response
    • Threat Hunting
      World-Class Expertise and Threat Intelligence
    • Managed Detection & Response
      24/7/365 Expert MDR Across Your Entire Environment
    • Incident Readiness & Response
      DFIR, Breach Readiness, & Compromise Assessments
    Support, Deployment, & Health
    • Technical Account Management
      Customer Success with Personalized Service
    • SentinelOne GO
      Guided Onboarding & Deployment Advisory
    • SentinelOne University
      Live and On-Demand Training
    • Services Overview
      Comprehensive Solutions for Seamless Security Operations
    • SentinelOne Community
      Community Login
  • Partners
    Our Network
    • MSSP Partners
      Succeed Faster with SentinelOne
    • Singularity Marketplace
      Extend the Power of S1 Technology
    • Cyber Risk Partners
      Enlist Pro Response and Advisory Teams
    • Technology Alliances
      Integrated, Enterprise-Scale Solutions
    • SentinelOne for AWS
      Hosted in AWS Regions Around the World
    • Channel Partners
      Deliver the Right Solutions, Together
    • SentinelOne for Google Cloud
      Unified, Autonomous Security Giving Defenders the Advantage at Global Scale
    • Partner Locator
      Your Go-to Source for Our Top Partners in Your Region
    Partner Portal→
  • Resources
    Resource Center
    • Case Studies
    • Data Sheets
    • eBooks
    • Reports
    • Videos
    • Webinars
    • Whitepapers
    • Events
    View All Resources→
    Blog
    • Feature Spotlight
    • For CISO/CIO
    • From the Front Lines
    • Identity
    • Cloud
    • macOS
    • SentinelOne Blog
    Blog→
    Tech Resources
    • SentinelLABS
    • Ransomware Anthology
    • Cybersecurity 101
  • About
    About SentinelOne
    • About SentinelOne
      The Industry Leader in Cybersecurity
    • Investor Relations
      Financial Information & Events
    • SentinelLABS
      Threat Research for the Modern Threat Hunter
    • Careers
      The Latest Job Opportunities
    • Press & News
      Company Announcements
    • Cybersecurity Blog
      The Latest Cybersecurity Threats, News, & More
    • FAQ
      Get Answers to Our Most Frequently Asked Questions
    • DataSet
      The Live Data Platform
    • S Foundation
      Securing a Safer Future for All
    • S Ventures
      Investing in the Next Generation of Security, Data and AI
  • Pricing
Get StartedContact Us
CVE Vulnerability Database
Vulnerability Database/CVE-2025-68421

CVE-2025-68421: Comarch ERP Optima Auth Bypass Vulnerability

CVE-2025-68421 is an authentication bypass flaw in Comarch ERP Optima caused by hard-coded credentials that allow remote attackers to access the database with elevated privileges and execute system commands.

Published: May 14, 2026

CVE-2025-68421 Overview

CVE-2025-68421 is a hard-coded credentials vulnerability in the Comarch ERP Optima client. The application ships with a database user account whose password is embedded in the client and cannot be changed by administrators. An attacker on an adjacent network can extract these credentials and authenticate to the backing database with elevated privileges. This access permits execution of system commands on the database server, extending the impact beyond data exposure to full server compromise. The issue is tracked as CWE-798: Use of Hard-coded Credentials and has been fixed in Comarch ERP Optima version 2026.4.

Critical Impact

Remote attackers with adjacent network access can authenticate to the Comarch ERP Optima database with elevated privileges and execute operating system commands on the database server.

Affected Products

  • Comarch ERP Optima client versions prior to 2026.4
  • Database backends configured with the hard-coded service account
  • Deployments where the database server is reachable from the adjacent network

Discovery Timeline

  • 2026-05-14 - CVE-2025-68421 published to NVD
  • 2026-05-14 - Last updated in NVD database

Technical Details for CVE-2025-68421

Vulnerability Analysis

The Comarch ERP Optima client embeds static credentials for a privileged database user inside the application binary or configuration. Because the password is hard-coded, administrators cannot rotate it without vendor intervention. Any attacker who recovers the credentials, whether through reverse engineering of the client, memory inspection, or traffic analysis on an adjacent network, obtains a stable authentication path to the database. The database account carries privileges sufficient to execute system commands on the host running the database engine. This converts a credential disclosure into remote code execution on backend infrastructure.

Root Cause

The root cause is the use of static, non-configurable credentials shipped with the client, classified as CWE-798. The same secret is present across all customer installations, so disclosure in one environment compromises every deployment using the affected versions. The associated database principal also holds excessive privileges, permitting OS command execution rather than restricted data access.

Attack Vector

Exploitation requires adjacent network access to the database service used by Comarch ERP Optima. An attacker recovers the embedded credentials from the client, then connects directly to the database server using a standard database client. Once authenticated, the attacker issues queries or stored procedures that invoke operating system commands, achieving code execution under the database service account. No user interaction or prior authentication is required. Verified technical details are available in the CERT Polska advisory and the Comarch ERP product overview.

Detection Methods for CVE-2025-68421

Indicators of Compromise

  • Database logins from workstations or hosts that do not normally run the Comarch ERP Optima client
  • Execution of xp_cmdshell, sp_OACreate, or equivalent OS command primitives by the embedded service account
  • Outbound connections from the database server to unexpected internal or external hosts following a login event

Detection Strategies

  • Audit database authentication logs for the hard-coded account and correlate source IP addresses against an allow-list of legitimate ERP clients
  • Alert on any invocation of OS command execution procedures by the Comarch service account
  • Monitor for new processes spawned by the database engine, including cmd.exe, powershell.exe, or shell interpreters on Linux backends

Monitoring Recommendations

  • Forward database audit logs and host process telemetry from the database server into a central analytics platform for correlation
  • Track configuration drift on the database server, including changes to xp_cmdshell enablement and role membership for the embedded account
  • Baseline normal client-to-database traffic patterns and alert on connections originating outside the ERP client subnet

How to Mitigate CVE-2025-68421

Immediate Actions Required

  • Upgrade all Comarch ERP Optima clients and supporting components to version 2026.4 or later
  • Restrict network access to the database server so that only authorized ERP application hosts can reach it
  • Disable OS command execution features such as xp_cmdshell on the database engine unless explicitly required
  • Review database audit logs for prior use of the embedded account from unexpected sources

Patch Information

Comarch has fixed this issue in Comarch ERP Optima version 2026.4. Administrators should plan an upgrade across all client installations and verify that the database account associated with the hard-coded credential is rotated or decommissioned after the upgrade. Refer to the CERT Polska advisory for coordinated disclosure details.

Workarounds

  • Place the database server behind a firewall that permits inbound connections only from validated ERP client IP ranges
  • Remove the embedded account from privileged database roles where business operations allow, and revoke permissions to execute OS command procedures
  • Segment the ERP environment into a dedicated VLAN to reduce adjacent-network exposure until the patch is deployed

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

  • Vulnerability Details
  • TypeAuth Bypass

  • Vendor/TechComarch Erp Optima

  • SeverityHIGH

  • CVSS Score8.7

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:4.0/AV:A/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:L/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityLow
  • CWE References
  • CWE-798
  • Technical References
  • CERT Article on CVE-2025-68420

  • Comarch ERP Product Overview
  • Related CVEs
  • CVE-2025-68420: Comarch ERP Optima Privilege Escalation
Default Legacy - Prefooter | Experience the World’s Most Advanced Cybersecurity Platform

Experience the World’s Most Advanced Cybersecurity Platform

See how our intelligent, autonomous cybersecurity platform can protect your organization now and into the future.

Try SentinelOne
  • Get Started
  • Get a Demo
  • Product Tour
  • Why SentinelOne
  • Pricing & Packaging
  • FAQ
  • Contact
  • Contact Us
  • Customer Support
  • SentinelOne Status
  • Language
  • Platform
  • Singularity Platform
  • Singularity Endpoint
  • Singularity Cloud
  • Singularity AI-SIEM
  • Singularity Identity
  • Singularity Marketplace
  • Purple AI
  • Services
  • Wayfinder TDR
  • SentinelOne GO
  • Technical Account Management
  • Support Services
  • Verticals
  • Energy
  • Federal Government
  • Finance
  • Healthcare
  • Higher Education
  • K-12 Education
  • Manufacturing
  • Retail
  • State and Local Government
  • Cybersecurity for SMB
  • Resources
  • Blog
  • Labs
  • Case Studies
  • Videos
  • Product Tours
  • Events
  • Cybersecurity 101
  • eBooks
  • Webinars
  • Whitepapers
  • Press
  • News
  • Ransomware Anthology
  • Company
  • About Us
  • Our Customers
  • Careers
  • Partners
  • Legal & Compliance
  • Security & Compliance
  • Investor Relations
  • S Foundation
  • S Ventures

©2026 SentinelOne, All Rights Reserved.

Privacy Notice Terms of Use

English