
Cloud Vulnerability DB
A community-led vulnerabilities database
CVE-2026-1336 is a Missing Authorization vulnerability in the "AI ChatBot with ChatGPT and Content Generator by AYS" plugin for WordPress. Due to missing capability checks on the store_data() and get_chatgpt_api_key() functions, unauthenticated attackers can view, modify, or delete the plugin's ChatGPT API key. All versions up to and including 2.7.5 are affected; the vulnerability was partially fixed in 2.7.5 and fully remediated in 2.7.6. It carries a CVSS v3.1 base score of 5.3 (Medium) (Wordfence, ENISA EUVD).
The root cause is CWE-862 (Missing Authorization): the store_data() and get_chatgpt_api_key() functions in the plugin's admin and database action classes do not perform any capability or nonce checks before executing sensitive operations. An unauthenticated remote attacker can send crafted HTTP requests directly to these WordPress AJAX or REST endpoints to read, overwrite, or delete the stored ChatGPT API key. Vulnerable code paths are visible in the plugin's source at class-chatgpt-assistant-db-actions.php (line 23) and class-chatgpt-assistant-admin.php (line 4060) (Wordfence, WordPress Trac).
Successful exploitation allows an unauthenticated attacker to retrieve the site owner's ChatGPT API key (enabling unauthorized API usage and potential billing fraud), replace it with an attacker-controlled key (hijacking AI responses served to site visitors), or delete it entirely (disrupting chatbot functionality). While direct server compromise is not achievable through this vulnerability alone, API key theft could facilitate further abuse of the OpenAI account associated with the key, and key replacement could enable content manipulation or phishing via the chatbot interface (Wordfence, ENISA EUVD).
No public exploit code or active in-the-wild exploitation has been reported for CVE-2026-1336 as of the available data. The EPSS score is approximately 0.045% (very low probability of exploitation in the near term). The vulnerability is not listed in the CISA Known Exploited Vulnerabilities (KEV) catalog. However, the low attack complexity and lack of authentication requirements make it trivially exploitable by any network-accessible attacker if a vulnerable plugin version is installed (Wordfence, ENISA EUVD).
readme.txt files at /wp-content/plugins/ays-chatgpt-assistant/readme.txt.store_data() and get_chatgpt_api_key() — typically invoked via wp-admin/admin-ajax.php with specific action parameters, or a REST API endpoint, without authentication checks.POST /wp-admin/admin-ajax.php with the appropriate action parameter for get_chatgpt_api_key) to extract the stored ChatGPT API key from the database.store_data() endpoint with a malicious or empty API key value to overwrite or remove the legitimate key, disrupting service or substituting attacker-controlled credentials.wp-admin/admin-ajax.php with action parameters associated with the AYS ChatGPT plugin (e.g., actions related to store_data or API key retrieval) from unknown or automated IP addresses.admin-ajax.php without a valid session cookie or nonce, particularly targeting plugin-specific action parameters.Site administrators should update the "AI ChatBot with ChatGPT and Content Generator by AYS" plugin to version 2.7.6 or later, which fully resolves the missing authorization issue. Version 2.7.5 provides only a partial fix and should not be considered sufficient. After updating, administrators should rotate the ChatGPT API key in the plugin settings and in their OpenAI account to invalidate any key that may have been exposed. As an interim measure, restricting access to wp-admin/admin-ajax.php via firewall rules or a Web Application Firewall (WAF) for unauthenticated requests can reduce exposure (Wordfence, ENISA EUVD).
The vulnerability was disclosed by Wordfence, which published a threat intelligence entry detailing the affected functions and fix versions. Automated CVE tracking accounts on Bluesky and Twitter/X noted the publication shortly after NVD indexing. No significant independent researcher commentary or major media coverage has been identified beyond standard vulnerability aggregator postings (Wordfence).
Source: This report was generated using AI
Free Vulnerability Assessment
Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.
Get a personalized demo
"Best User Experience I have ever seen, provides full visibility to cloud workloads."
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
"We know that if Wiz identifies something as critical, it actually is."