Cross-Site Request Forgery (CSRF)Weakness · CWE-352

CVE-2026-6455

HIGH · 8.1 CVSS v3.1 Published 2026-05-28
Mitigation only
No fix yet — a mitigation exists. There is no fixed release. A documented workaround reduces exposure in the meantime.
See remediation →
88/100
Remediation priority · High
Remotely reachable No privileges

Official description Straight from the sourceThe vendor's or NVD's own wording, published unedited. Authoritative, but often terse — it says what broke, rarely what to do.

NVD · unedited
The WP Contact Form 7 DB Handler plugin for WordPress is vulnerable to Cross-Site Request Forgery leading to Arbitrary File Deletion via SQL Injection and PHP Object Injection in versions up to and including 3.0. This is due to a missing nonce verification in the process_bulk_action() function, the nonce check is only executed when _wpnonce is present in the POST body, allowing it to be trivially bypassed by omitting the field, combined with the use of an unsanitized, unparameterized user-supplied value in a numeric SQL context (WHERE ID = $ID) and the unsafe deserialization of the query result's post_content field. An attacker can craft a CSRF page that tricks a logged-in administrator into triggering a UNION-based SQL injection payload (using CHAR() to avoid esc_sql quote-escaping) that returns a malicious serialized PHP array as post_content; upon deserialization, array values associated with keys containing 'ys_cfdbh_file' are used as file paths appended to the uploads directory path without any path traversal validation, and then passed to wp_delete_file(), allowing the attacker to delete arbitrary files on the server (e.g., wp-config.php, system files).

Technical summary Written by usOur analysis, written from the advisory, the CVSS vector and the affected-version data. It adds context the advisory leaves out, and never invents facts that are not in the source.

dbcve analysis · high confidence

The WP Contact Form 7 DB Handler plugin has a CSRF vulnerability in process_bulk_action() where nonce verification is only performed when _wpnonce is present in the POST body, allowing trivial bypass by omitting the field. This is chained with an unsanitized SQL query using user input in a numeric context (WHERE ID = $ID) that enables UNION-based SQL injection. The injected SQL returns a malicious serialized PHP array as post_content, which is unsafely deserialized. Array values with keys containing 'ys_cfdbh_file' are used as file paths without path traversal validation, then passed to wp_delete_file(), enabling deletion of arbitrary files including wp-config.php.

MitigationUpgrade to a patched version that implements proper nonce verification on all code paths, uses parameterized queries/prepared statements, validates file paths against path traversal, and avoids unsafe deserialization of user-controlled data.

Verify against the referenced sources before acting — the references below are authoritative for this CVE, this summary is not.

CVSS breakdown How the score is builtThe industry scoring standard. It rates how the flaw is reached, what it takes to exploit, and what an attacker gains — the score is derived from those, not the other way round.

From the vector
Attack vector
Network
Complexity
Low
Privileges
None
User interaction
Required
Scope
Unchanged
Confidentiality
None
Integrity
High
Availability
High

CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:H

Am I affected? How to checkSteps we derive from the advisory and the affected-version data, so you can decide whether this CVE reaches your setup. They are a guide, not a scan — your own configuration is the authority.

dbcve checks

Work through these to decide whether this CVE applies to you.

  1. Identify plugin installation path and version
    Locate the plugin directory (typically wp-content/plugins/contact-form-7-db-handler/ or similar named folder) and check the version in the plugin header comment in the main PHP file or in readme.txt
    Affected if The installed version lacks the patched nonce verification, parameterized queries, and path traversal validation in process_bulk_action()
  2. Verify plugin is active
    Query the WordPress database table wp_options for option_name='active_plugins' and check if the plugin folder name appears in the serialized array
    Affected if The plugin is active and the vulnerable code path is reachable
  3. Confirm process_bulk_action function exists
    Search the plugin's main PHP file for the function 'process_bulk_action' and examine whether it performs nonce verification conditionally (only when _wpnonce is present)
    Affected if The function exists and contains conditional nonce checking that can be bypassed by omitting _wpnonce
  4. Check for unsafe deserialization pattern
    Search the plugin code for instances of 'unserialize()' applied to post_content or user-controlled data without prior validation
    Affected if The plugin deserializes data from the database without validating its structure first
  5. Identify file deletion functionality
    Search for calls to wp_delete_file() or similar file deletion functions that use array keys containing 'ys_cfdbh_file' as file paths without path traversal checks
    Affected if The code uses 'ys_cfdbh_file' keys as paths without validating for '../' sequences

The environment is affected if the WP Contact Form 7 DB Handler plugin is active, the installed version lacks proper nonce verification on all code paths in process_bulk_action(), and the plugin contains the unsafe deserialization and file deletion patterns described.

Generated from the published advisory. Verify against your own configuration.

Check your environment

Paste your version and any relevant configuration and it will be compared against the affected criteria above. Do not include secrets or credentials.

AI-assisted, checked against the advisory. Informational, not a guarantee.

Remediation Closing itWhat it takes to close this. Where a vendor fix exists we point at it; where none exists we say so plainly, and can build one. Effort estimates are scoped from the advisory, not from your codebase.

From vendor data
Mitigation available No clean upgrade yet — mitigate in the meantime
Mitigation

Upgrade to a patched version that implements proper nonce verification on all code paths, uses parameterized queries/prepared statements, validates file paths against path traversal, and avoids unsafe deserialization of user-controlled data.

Have this fixed Scoped from the published advisory
  • Consultation5.0 h
  • Implementation8.0 h
  • Testing6.0 h
  • Review / QA3.0 h
22.0 hours of engineering $3,880
Get help mitigating

An estimate, not a bill — we confirm scope with you before any work starts. Need it this week? Rush from $6,208.

Scan for this in your stack

Free · runs locally
dbcve dependency scanner

Check whether your project pulls in CVE-2026-6455 — or any other known-vulnerable package — straight from your lock files. Free and open source; it runs locally and uploads nothing.

References Go to the primary sourcePrimary sources — vendor advisories, patches and trackers. Where our summary and a reference disagree, the reference wins.

Primary sources

Practitioner notes

Contributed

Peer-ranked notes from engineers who’ve handled CVE-2026-6455 in production — separate from our analysis above.

No notes yet

Be the first to add a field note for this CVE — a mitigation you’ve verified, a version caveat, or a link to a working fix. Sign in above to contribute.

What this is

A place for practitioners to share what actually worked: a mitigation you’ve tested, a configuration change, a version- or environment-specific caveat, or a link to a verified patch. The most useful notes rise to the top as peers upvote them, so the signal stays high.

What belongs here
  • Verified mitigations, workarounds, and config changes
  • Version or environment caveats, and links to real fixes
  • No weaponised exploit code, or anything meant to cause harm
  • No spam, self-promotion, credentials, or personal data