Auth bypass in Amcoders Dokans
CVE-2025-70841
Dokans Multi-Tenancy Based eCommerce Platform SaaS 3.9.2 allows unauthenticated remote attackers to obtain sensitive application configuration data via direct request to /script/.env file. The exposed file contains Laravel application encryption key (APP_KEY), database credentials, SMTP/SendGrid API credentials, and internal configuration parameters, enabling complete system compromise including authentication bypass via session token forgery, direct database access to all tenant data, and email infrastructure takeover. Due to the multi-tenancy architecture, this vulnerability affects all tenants in the system.
Vulnerability class: Broken Authentication
Published · last modified .
CVSS v3 metric
CVSS v3 base score 10.0 (Critical). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:N.
EPSS exploit prediction
EPSS 0.004, 37.0th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
- Amcoders Dokans — versions 3.9.2
Weakness classification (CWE)
References
- codecanyon.net/item/dokans-multitenancy-based-ecommerce-platform-saas/31122915 (Product)
- github.com/cod3rLucas/security-advisories/blob/main/CVE-2025-70841.md (Exploit, Third Party Advisory, Mitigation)