CVE-2025-6986
WordPress vulnerability analysis and mitigation

Overview

CVE-2025-6986 is a SQL Injection vulnerability in the FileBird – WordPress Media Library Folders & File Manager plugin, affecting all versions up to and including 6.4.8. The flaw exists in the search parameter due to insufficient escaping of user-supplied input and lack of proper SQL query preparation. It was published on August 6, 2025, and assigned by Wordfence. The vulnerability carries a CVSS v3.1 base score of 6.5 (Medium/High) (Wordfence, Red Hat CVE).

Technical details

The root cause is classified as CWE-89 (Improper Neutralization of Special Elements used in an SQL Command). The vulnerability resides in the FolderController.php file of the FileBird plugin, where the search parameter is passed into an existing SQL query without adequate escaping or use of prepared statements, allowing an attacker to append malicious SQL clauses. Exploitation requires network access and at least Author-level authentication on the WordPress site, with no user interaction needed. The vulnerable code path is visible in the plugin's source repository (WordPress Trac, WordPress Changeset).

Impact

Successful exploitation allows authenticated attackers (Author-level and above) to extract sensitive information from the WordPress database, including user credentials, email addresses, private post content, and plugin/theme configuration data. The impact is limited to confidentiality — integrity and availability are not directly affected by this vulnerability. However, database credential exposure could enable further lateral movement or privilege escalation within the WordPress environment (Wordfence).

Exploitability

No public exploit code or active in-the-wild exploitation has been reported for CVE-2025-6986 as of the available data. The EPSS score is approximately 0.024% (0.000240), indicating a low probability of exploitation in the near term. The vulnerability is not listed in the CISA Known Exploited Vulnerabilities (KEV) catalog. Exploitation requires at least Author-level WordPress credentials, which limits the attack surface compared to unauthenticated vulnerabilities (Wordfence).

Exploitation steps

  1. Reconnaissance: Identify WordPress sites running the FileBird plugin version ≤ 6.4.8 using tools like WPScan or by checking the plugin's readme.txt file at /wp-content/plugins/filebird/readme.txt.
  2. Obtain Author-level credentials: Acquire valid WordPress credentials with at least Author role through phishing, credential stuffing, or other means.
  3. Authenticate: Log in to the WordPress site and obtain a valid session cookie or authentication nonce.
  4. Craft malicious request: Send an authenticated HTTP request to the WordPress AJAX or REST endpoint that invokes the FileBird folder search functionality, injecting SQL payloads into the search parameter (e.g., appending UNION SELECT or time-based blind injection payloads).
  5. Extract data: Use the injected SQL to enumerate database tables and extract sensitive data such as WordPress user hashes, email addresses, or secret keys from the wp_users and wp_options tables (Wordfence, WordPress Trac).

Indicators of compromise

  • Network: Unusual or repeated HTTP POST/GET requests to WordPress AJAX endpoints (/wp-admin/admin-ajax.php) or REST API routes associated with FileBird folder search, containing SQL metacharacters (e.g., ', --, UNION, SELECT, SLEEP) in the search parameter.
  • Logs: WordPress or web server access logs showing requests with encoded or plaintext SQL injection strings in query parameters tied to FileBird functionality; anomalous response sizes from search endpoints suggesting data exfiltration.
  • Database: Unexpected or high-volume queries against wp_users, wp_options, or other sensitive tables originating from the FileBird plugin context; slow query logs showing time-based injection attempts (SLEEP(), BENCHMARK()).

Mitigation and workarounds

Site administrators should update the FileBird plugin to version 6.4.9 or later, which addresses the SQL injection vulnerability by implementing proper input escaping and prepared statements (WordPress Changeset). As an interim measure, restrict Author-level and above user accounts to only trusted individuals, and consider using a Web Application Firewall (WAF) with WordPress-specific SQL injection rules. Wordfence users with the premium plugin benefit from firewall rules that can block exploitation attempts (Wordfence).

Community reactions

Wordfence disclosed the vulnerability as part of their weekly WordPress vulnerability report for August 4–10, 2025, and Sucuri included it in their August 2025 vulnerability patch roundup (Wordfence Blog, Sucuri Blog). No significant independent researcher commentary or broader media coverage has been identified beyond standard vulnerability aggregation.

Additional resources


SourceThis report was generated using AI

Related WordPress vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2026-78570CRITICAL9.8
  • totaldonations
NoNoAug 25, 2026
CVE-2026-78568CRITICAL9.8
  • totaldonations
NoNoAug 25, 2026
CVE-2026-78572HIGH8.1
  • kalles-addons
NoNoAug 25, 2026
CVE-2026-78576HIGH7.5
  • readabler
NoYesAug 25, 2026
CVE-2026-76128MEDIUM6.4
  • ecommerce-product-catalog
NoYesAug 25, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management