CVE-2026-40016 — Attacker can upload a malicious Sieve script over
CVE-2026-40016 — Attacker can upload a malicious Sieve script over ManageSieve service (or locally) to bypass configured CPU time limits for Sieve up to 130 times of the configured limit. Attacker can use this to degrade server performance and bypass configured CPU time limits for Sieve scripts. Ins
What This Means For You
- If your environment is affected by CWE-400, review your exposure and prioritize patching based on your environment. Monitor vendor advisories for CVE-2026-40016 updates and patches.
Related ATT&CK Techniques
🛡️ Detection Rules
2 rules · 6 SIEM formats2 detection rules auto-generated for this incident, mapped to MITRE ATT&CK. Sigma YAML is free — export to any SIEM format via the Intel Bot.
CVE-2026-40016 - Malicious Sieve Script Upload via ManageSieve
title: CVE-2026-40016 - Malicious Sieve Script Upload via ManageSieve
id: scw-2026-05-12-ai-1
status: experimental
level: medium
description: |
Detects the upload of a Sieve script via the ManageSieve service that attempts to bypass CPU limits. This rule specifically looks for POST requests to a '/manage-sieve' endpoint containing '.sieve' in the query and a script payload indicative of attempting to execute commands or bypass limits, which is characteristic of CVE-2026-40016.
author: SCW Feed Engine (AI-generated)
date: 2026-05-12
references:
- https://shimiscyberworld.com/posts/nvd-CVE-2026-40016/
tags:
- attack.persistence
- attack.t1505.003
logsource:
category: webserver
detection:
selection:
cs-uri|contains:
- '/manage-sieve'
cs-method|contains:
- 'POST'
sc-status|startswith:
- '2'
cs-uri-query|contains:
- '.sieve'
selection_script_content:
TargetFilename|contains:
- 'require [ "vnd.dovecot.execute"]
- 'vnd.dovecot.execute "/bin/bash -c "'
condition: selection AND selection_script_content
falsepositives:
- Legitimate administrative activity
Source: Shimi's Cyber World · License & reuse
Indicators of Compromise
| ID | Type | Indicator |
|---|---|---|
| CVE-2026-40016 | vulnerability | CVE-2026-40016 |
| CWE-400 | weakness | CWE-400 |
Source & Attribution
| Source Platform | NVD |
| Channel | National Vulnerability Database |
| Published | May 12, 2026 at 17:17 UTC |
This content was curated and summarized by Shimi's Cyber World for informational purposes. It is not copied or republished in full. All intellectual property rights remain with the original author and source.
Believe this infringes your rights? Submit a takedown request.