Skip to main content
Mallory
HighPublic exploitVulnerability

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

Published Mar 24, 2026 · Updated 1 day ago
Trending this weekNot trendingOutside this week’s top 100
Mention activity · 30 days6 mentions · peak 2 in a dayToday
CVSS8.8High · v4
EPSS27.6%99th 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 that enable DAV MOVE or COPY methods in a prefix-based, non-regular-expression location using an alias directive. 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 integrity impact is limited by the low privileges and filesystem access permissions of the worker process account. 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 and disrupt service availability. It can also modify source or destination file names outside the configured document root, potentially causing unauthorized file modification within the worker process account's filesystem permissions. The vulnerability-specific assessment identifies high availability impact, low integrity impact, and no confidentiality impact. Arbitrary code execution and privilege escalation are not established.

Mitigation

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

Disable DAV MOVE and COPY methods where they are unnecessary. Otherwise, remove or redesign configurations combining those methods with prefix-based locations and alias directives until patched. Maintain least-privilege filesystem permissions for the NGINX worker account to constrain potential file modification.

Remediation

Patch, then assume compromise.

Install vendor-fixed NGINX packages appropriate to the deployed product, distribution, and supported release stream. Red Hat fixes include version-release 1.20.1-32.el9_9.1 under RHSA-2026:98529, 1.26.3-2.module+el9.7.0+24173+4204b761.1 for the RHEL 9 nginx:1.26 stream under RHSA-2026:7343, and 1.24.0-3.module+el8.10.0+24155+8a5ade52 for the RHEL 8 nginx:1.24 stream under RHSA-2026:6907. Other RHEL support streams have separate fixed builds. Rocky Linux, Oracle Linux, and CIQ installations should apply their corresponding nginx security updates. Exact upstream NGINX Open Source and NGINX Plus fixed release numbers are not available.

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 27, 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 packages appropriate to the deployed product, distribution, and supported release stream. Red Hat fixes include version-release 1.20.1-32.el9_9.1 under RHSA-2026:98529, 1.26.3-2.module+el9.7.0+24173+4204b761.1 for the RHEL 9 nginx:1.26 stream under RHSA-2026:7343, and 1.24.0-3.module+el8.10.0+24155+8a5ade52 for the RHEL 8 nginx:1.24 stream under RHSA-2026:6907.
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 27.6% (99th percentile) as of Nov 27, 2026.
Activity feed

Recent activity

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

View more in app →
+29 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.