Skip to main content
Mallory
HighPublic exploitVulnerability

CVE-2026-27654: Buffer Overflow in NGINX DAV MOVE/COPY Processing

Published Mar 24, 2026 · Updated 4 days ago
Trending this weekNot trendingOutside this week’s top 100
Mention activity · 30 days4 mentions · peak 2 in a dayToday
CVSS8.8High · v4
EPSS26.5%98th percentile
CISA KEVNoNot listed
In the wildNonePublic exploit, no exploitation reported
Vendor
F5
IdentifiersCVE-2026-27654CWE-120 · Buffer Copy without Checking Size…

CVE-2026-27654 is a buffer overflow vulnerability in ngx_http_dav_module in NGINX Open Source and NGINX Plus. It affects configurations combining DAV MOVE or COPY methods, prefix locations rather than regular-expression locations, and alias directives. An attacker can trigger an overflow in an NGINX worker process, potentially terminating the process or modifying source or destination file names outside the document root. File modification is constrained by the worker process user's filesystem permissions. Versions that have reached End of Technical Support were not evaluated.

Do you run this?See affected versions in your environment and whether adversaries are exploiting this vulnerability against assets like yours.
Check your exposure
Analyst brief

Impact, mitigation & remediation

What it means and what to do now: patch path, interim mitigations, and the assume-compromise checklist.

Impact

What an attacker gets, and what they’ve been doing with it.

Successful exploitation can terminate NGINX worker processes, causing denial of service, or modify source or destination file names outside the configured document root. Availability impact is high, while integrity impact is limited by the worker process user's low privileges and filesystem access. No confidentiality impact is identified, and arbitrary code execution is not established for this vulnerability.

Mitigation

If you can’t patch tonight, do this now.

Disable DAV MOVE and COPY methods where unnecessary. Otherwise, remove or redesign configurations combining these methods with prefix locations and alias directives until patched. Keep worker process filesystem permissions restricted to limit potential modification outside the document root.

Remediation

Patch, then assume compromise.

Install vendor-fixed NGINX Open Source or NGINX Plus releases appropriate to the supported release line. For RHEL 9's base nginx packages, RHSA-2026:98529 supplies fixes in version 1.20.1-32.el9_9.1; other RHEL module and extended-support streams require their corresponding advisory-specific builds. For Rocky Linux 9, apply RLSA-2026:98529 or the applicable CIQ update. For Echo packages, update nginx and related packages to 1.26.3-3+deb13u7+e1 or later. Upstream fixed-version numbers are not available in the supplied vulnerability details.

Public exploits

Exploits

2 exploits validated by Mallory's analysis. Hidden: 1 rejected by Mallory's analysis as not a working exploit.

View more in app →
CVE-2026-27654-PoCSmall standalone Python exploit repository for CVE-2026-27654 targeting nginx ngx_http_dav_module alias path handling. Repository contains one main code file (exploit.py), a README with usage and vulnerability background, and a minimal requirements.txt listing requests and colorama. The exploit is not part of a larger framework. The script is an operational PoC rather than a simple detector. It builds crafted WebDAV MOVE/COPY requests with attacker-controlled Destination paths to trigger the documented size_t underflow/heap overflow condition in vulnerable nginx DAV alias configurations. It supports a crash/check mode for vulnerability validation and additional delivery-oriented modes: write-file, cron-shell, and cron-cmd. Those extended modes indicate the author is attempting to leverage path traversal/alias misrouting to place arbitrary content at attacker-chosen filesystem paths in permissive lab setups, including writing cron jobs under /etc/cron.d for delayed command execution or reverse shell launch. Code structure includes: argument parsing and interactive menu logic; URL normalization helpers; a requests-based HTTP client with stdlib http.client fallback; existence checks using HEAD/GET; crash testing logic; delivery logic for crafted DAV requests; and post-action checks/waits for worker respawn or cron execution. Proxy support is implemented when requests is available, with fallback mode explicitly warning that proxying is unsupported. Fingerprintable observables are limited and mostly user-supplied: target host/URL, optional proxy URL, default test filename testfile.txt, and example paths/URLs in the README such as /etc/cron.d/, /tmp/owned, /tmp/payload, and http://attacker.com/payload. Overall purpose: exploit or validate a remotely reachable nginx WebDAV vulnerability that can reliably crash workers and, in certain writable/misconfigured environments, facilitate arbitrary file write and cron-based command execution.Debajyoti0-0 · Disclosed Jul 21, 2026 · python · text · network · webOperationalCVE-2026-27654This repository is a small standalone Python proof-of-concept for CVE-2026-27654, a heap buffer overflow in nginx's ngx_http_dav_module. The repo contains three files: LICENSE, README.md, and the main exploit script poc.py. README.md documents the vulnerability, affected/fixed versions, required nginx configuration, and expected crash behavior. The only code file, poc.py, is the entry point and implements the full exploit flow. The exploit is network/web-based and targets nginx DAV endpoints exposed over HTTP. It first checks target reachability, then optionally uploads a file using HTTP PUT to /uploads/triggerfile.txt. After that it sends a crafted HTTP MOVE request for that file with a Destination header pointing to an absolute URI whose path is /x. The script is explicitly designed around a vulnerable configuration where the DAV location prefix is /uploads/ and nginx uses alias /data/files/. Because the destination path is shorter than the location prefix, nginx performs an unsigned length subtraction that underflows, leading to a wrapped allocation size and an oversized copy, causing heap corruption and typically a worker crash. Capabilities are limited to vulnerability triggering and validation rather than post-exploitation. There is no shell payload, persistence, credential theft, or lateral movement logic. The practical result is remote denial of service against a vulnerable nginx worker, with the script also reporting likely patched behavior (HTTP 400), timeout/restart conditions, or connection reset indicating a crash. Overall, this is a genuine PoC exploit focused on reliable crash reproduction for defensive testing and verification.JohannesLks · Disclosed Apr 6, 2026 · python · markdown · network · webPoC
Exposure surface

Affected products & vendors

Products and vendors Mallory has correlated with this vulnerability. Open in Mallory to drill down to specific CPE configurations and version ranges.

VendorProductType
F5Nginxapplication
F5Nginx Plusapplication
FAQ

Frequently asked questions

Is CVE-2026-27654 exploited in the wild?
As of Nov 14, 2026, Mallory has no reports of CVE-2026-27654 being exploited in the wild. It is not listed in CISA KEV.
Is there a public exploit for CVE-2026-27654?
Yes. Mallory tracks 2 public exploits or proofs of concept for CVE-2026-27654, the earliest disclosed Apr 6, 2026.
Is there a patch for CVE-2026-27654?
Install vendor-fixed NGINX Open Source or NGINX Plus releases appropriate to the supported release line. For RHEL 9's base nginx packages, RHSA-2026:98529 supplies fixes in version 1.20.1-32.el9_9.1; other RHEL module and extended-support streams require their corresponding advisory-specific builds.
What products are affected by CVE-2026-27654?
F5 Nginx and F5 Nginx Plus.
How severe is CVE-2026-27654?
CVE-2026-27654 has a CVSS v4 score of 8.8 (High) and an EPSS score of 26.5% (98th percentile) as of Nov 14, 2026.
Activity feed

Recent activity

54 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.

View more in app →
+27 more in the timeline. Sign up to see them
Do you run this?See affected versions in your environment and whether adversaries are exploiting this vulnerability against assets like yours.
Check your exposure
Mallory platform

The version that knows your environment.

This page is what’s public. Mallory adds the parts that aren’t: which of your assets are affected, which adversaries are exploiting it right now, and which detections to deploy tonight.
Exposure mappingQuery your assets running an affected version, and investigate the blast radius.
Threat actor evidenceEvery report linking this CVE to a named adversary.
Associated malwareMalware families linked to this CVE, with evidence and IOCs.
Detection signaturesYARA, Sigma, Snort, and vendor rules, auto-deployed to your SIEM.
Vendor-by-vendor mappingCross-references every affected SKU, including bundled OEM variants.
Social activity18Community discussion across Reddit, Mastodon, and other social sources.