Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.
Sources: National Vulnerability Database, CISA KEV, Exploit-DB
CVE-2026-108794 Overview
CVE-2026-108794 is a SQL injection vulnerability in ZKTeco BioTime 9.5.6 Build 20260130.3206. The flaw resides in the /base/api/v1.0/systemSettings/db_migrate_setting/ endpoint of the Database Migration Functionality. Authenticated attackers can manipulate request parameters to inject arbitrary SQL statements against the underlying database. The vulnerability is remotely exploitable over the network and requires low privileges. ZKTeco addressed the issue in BioTime 9.5.6 Build 3623. The vulnerability is classified under [CWE-74] (Improper Neutralization of Special Elements in Output Used by a Downstream Component).
Critical Impact
Authenticated remote attackers can inject SQL statements through the database migration settings endpoint, potentially exposing or modifying workforce attendance and biometric data stored in BioTime.
Affected Products
- ZKTeco BioTime 9.5.6 Build 20260130.3206
- Database Migration Functionality component (/base/api/v1.0/systemSettings/db_migrate_setting/)
- Fixed in ZKTeco BioTime 9.5.6 Build 3623
Discovery Timeline
- 2026-10-12 - CVE-2026-108794 published to NVD
- 2026-10-16 - Last updated in NVD database
Technical Details for CVE-2026-108794
Vulnerability Analysis
ZKTeco BioTime is a workforce management platform that processes attendance records sourced from biometric devices. The db_migrate_setting endpoint under /base/api/v1.0/systemSettings/ accepts user-controlled input used to construct database queries during migration configuration. Because the input is not neutralized before reaching the SQL layer, an authenticated attacker can inject arbitrary SQL fragments into the resulting query. Successful exploitation can expose stored credentials, employee records, biometric templates, and configuration data. Depending on the privileges of the database account used by BioTime, the attacker may also modify data or trigger database-level command execution.
Root Cause
The root cause is improper neutralization of special elements passed to the database migration setting handler [CWE-74]. The affected endpoint concatenates user-supplied parameters into SQL statements rather than binding them through parameterized queries. Any syntactic SQL metacharacter supplied by the client is interpreted by the database engine.
Attack Vector
The attack vector is network-based. An authenticated BioTime user with low privileges sends a crafted HTTP request to /base/api/v1.0/systemSettings/db_migrate_setting/ containing SQL payloads in the vulnerable parameter. No user interaction is required, and the attack can be executed remotely against any reachable BioTime instance. Public technical details are available in the VulDB entry for CVE-2026-108794 and the ZKTeco Security Bulletin #27.
No verified proof-of-concept code is publicly available. Technical reproduction details are described in prose only; see the VulDB vulnerability record #416571 for the published analysis.
Detection Methods for CVE-2026-108794
Indicators of Compromise
- HTTP requests to /base/api/v1.0/systemSettings/db_migrate_setting/ containing SQL metacharacters such as single quotes, UNION SELECT, --, /*, or boolean payloads like OR 1=1.
- Unusual database query errors or long-running queries originating from the BioTime application account.
- Unexpected data exports, user account creation, or privilege changes within BioTime shortly after requests to the migration endpoint.
Detection Strategies
- Deploy web application firewall rules that inspect POST/PUT bodies and query strings for the db_migrate_setting path and alert on SQL syntax patterns.
- Enable database audit logging to capture queries issued by the BioTime service account and alert on queries containing stacked statements or schema enumeration.
- Correlate authentication logs with requests to administrative API routes to identify low-privilege accounts touching migration settings.
Monitoring Recommendations
- Monitor the BioTime API gateway for abnormal request volume or 500-class responses on systemSettings routes.
- Baseline normal use of the migration endpoint; it should rarely be invoked outside of planned maintenance windows.
- Forward BioTime application and database logs to a central SIEM for retention and correlation.
How to Mitigate CVE-2026-108794
Immediate Actions Required
- Upgrade ZKTeco BioTime to version 9.5.6 Build 3623 or later as specified in the ZKTeco Security Bulletin #27.
- Restrict network exposure of the BioTime management interface to trusted administrative networks or VPN segments.
- Review BioTime user accounts and revoke access for unused or over-privileged accounts that could reach the systemSettings endpoints.
- Rotate database credentials and application secrets if logs indicate suspicious activity against the vulnerable endpoint.
Patch Information
ZKTeco has released a fix in BioTime 9.5.6 Build 3623. Administrators should download the updated build from ZKTeco support channels and apply it according to the vendor's upgrade procedure. Validate the installed build number after the upgrade and confirm that the /base/api/v1.0/systemSettings/db_migrate_setting/ endpoint no longer accepts unsanitized input.
Workarounds
- Block external access to /base/api/v1.0/systemSettings/ routes at the reverse proxy or WAF until the patch is applied.
- Enforce least privilege on the database account used by BioTime so that successful injection cannot modify schema or execute administrative commands.
- Require multi-factor authentication for all BioTime administrative accounts to limit the pool of attackers who can authenticate.
# Example NGINX reverse proxy restriction limiting the vulnerable endpoint
# to a trusted management subnet until BioTime 9.5.6 Build 3623 is installed
location /base/api/v1.0/systemSettings/ {
allow 10.10.0.0/24; # admin network
deny all;
proxy_pass http://biotime_backend;
}
Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.
Sources: National Vulnerability Database, CISA KEV, Exploit-DB

