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-68420

CVE-2025-68420: Comarch ERP Optima Privilege Escalation

CVE-2025-68420 is a privilege escalation vulnerability in Comarch ERP Optima that allows local attackers to extract database credentials from memory. This article covers technical details, affected versions, and mitigation.

Published: May 14, 2026

CVE-2025-68420 Overview

CVE-2025-68420 affects Comarch ERP Optima, a Polish enterprise resource planning product. The client application connects to its backend database using a single high-privileged account, regardless of which application-level user logs in. A local attacker who controls the client process can dump its memory, recover the embedded credentials, and reuse them for privileged database access. Exploitation does not require an authenticated application session — the client only needs to be configured. The issue is tracked under [CWE-266] (Incorrect Privilege Assignment) and has been fixed in version 2026.4.

Critical Impact

A local attacker can extract database credentials from client process memory and gain privileged access to the Comarch ERP Optima database without logging into the application.

Affected Products

  • Comarch ERP Optima client (versions prior to 2026.4)
  • Deployments where the client has been configured to connect to the ERP database
  • Workstations running the Comarch Optima desktop client

Discovery Timeline

  • 2026-05-14 - CVE-2025-68420 published to NVD
  • 2026-05-14 - Last updated in NVD database
  • Advisory - Published by CERT Poland

Technical Details for CVE-2025-68420

Vulnerability Analysis

The Comarch ERP Optima client maintains its database connection under a shared, high-privileged service account. Application-level authentication and authorization are enforced inside the client, not at the database layer. Every workstation therefore holds credentials that grant elevated access to the backend database.

A local attacker with access to the client process can read its memory and locate these credentials. Because the credentials are loaded once the client is configured, an active user session is not required for extraction. After recovering the credentials, the attacker can connect directly to the database and bypass all application-side access controls.

This design also undermines auditing. Database-side logs attribute every action to the shared service account rather than to the Optima user who initiated it.

Root Cause

The root cause is incorrect privilege assignment ([CWE-266]). The application uses a single high-privileged database principal for all users instead of mapping application identities to least-privileged database roles. Sensitive credentials remain resident in client process memory.

Attack Vector

The attack vector is local. An attacker requires code execution or process-memory read access on a workstation where the Optima client is installed and configured. The attacker dumps the client process memory using standard operating system tooling, parses the dump to extract the database username and password, and then connects to the database server directly using any compatible client. No application login is needed and no user interaction is required.

Verified exploitation code is not available for this issue. Refer to the CERT Poland advisory for additional technical context.

Detection Methods for CVE-2025-68420

Indicators of Compromise

  • Process memory dump artifacts (.dmp files, MiniDumpWriteDump invocations) targeting the Comarch Optima client process on user workstations.
  • Database logons using the shared Optima service account from hosts or applications other than the official client.
  • Outbound database connections from unusual processes such as sqlcmd.exe, PowerShell, or third-party SQL clients on Optima workstations.

Detection Strategies

  • Hunt for processes opening a handle to the Optima client with PROCESS_VM_READ or PROCESS_QUERY_INFORMATION rights from non-system parents.
  • Correlate Windows Sysmon Event ID 10 (ProcessAccess) targeting the Optima client image with subsequent SQL Server authentication events for the shared account.
  • Alert on SQL Server logon events where the source workstation, application name, or hostname does not match the approved Optima client fingerprint.

Monitoring Recommendations

  • Enable SQL Server login auditing and forward events to a central SIEM for correlation with endpoint telemetry.
  • Baseline the legitimate process names, hostnames, and network paths used by the Optima client and alert on deviations.
  • Monitor for credential-dumping tools such as procdump, Task Manager memory dumps, and comsvcs.dll MiniDump exports on workstations running the client.

How to Mitigate CVE-2025-68420

Immediate Actions Required

  • Upgrade the Comarch ERP Optima client to version 2026.4 or later on every workstation.
  • Rotate the database credentials used by the Optima client after upgrading, because exposed credentials remain valid until changed.
  • Restrict local administrator rights on workstations running the client to limit who can read process memory.

Patch Information

Comarch has fixed this issue in Optima version 2026.4. Apply the vendor update across all client installations. Review the CERT Poland advisory for CVE-2025-68420 and Comarch Optima product information for vendor-specific upgrade guidance.

Workarounds

  • Network-segment the database server so only approved Optima client subnets can reach it, reducing the value of stolen credentials.
  • Enforce application allowlisting on Optima workstations to block unauthorized SQL clients and memory-dumping utilities.
  • Apply least-privilege controls on the shared database account where business processes allow, removing rights that are not required by the client.
  • Increase database-side auditing on the shared Optima account to detect anomalous queries originating outside the client.

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

  • Vulnerability Details
  • TypePrivilege Escalation

  • Vendor/TechComarch Erp Optima

  • SeverityHIGH

  • CVSS Score7.5

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:4.0/AV:L/AC:L/AT:P/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-266
  • Technical References
  • CERT Poland CVE-2025-68420 Post

  • Comarch Optima ERP Overview
  • Related CVEs
  • CVE-2025-68421: Comarch ERP Optima Auth Bypass Vulnerability
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