CVE Tools

CVE-2026-33691

OWASP CRS: Whitespace padding in filenames bypasses file upload extension checks

Published: Apr 2, 2026Updated: Apr 18, 2026 Sources: CVE List NVDCWE-178

Description

The OWASP core rule set (CRS) is a set of generic attack detection rules for use with compatible web application firewalls. Prior to versions 3.3.9 and 4.25.0, a bypass was identified in OWASP CRS that allows uploading files with dangerous extensions (.php, .phar, .jsp, .jspx) by inserting whitespace padding in the filename (e.g. photo. php or shell.jsp ). The affected rules do not normalize whitespace before evaluating the file extension regex, so the dot-extension check fails to match. This issue has been patched in versions 3.3.9 and 4.25.0.

In plain language

AI Worth attention

This OWASP ModSecurity Core Rule Set lets an attacker sneak dangerous file types past upload “extension checks” by adding extra spaces in the filename; update your CRS rules if you’re on versions earlier than 3.3.9 or 4.25.0.

Executive summary

OWASP ModSecurity Core Rule Set has a filename-parsing weakness (CWE-178) where whitespace padding can bypass upload extension checks, enabling upload of dangerous extensions (for example, .php or .jsp) without normalization; this is fixed in 3.3.9 and 4.25.0.

If affected, business impact
Malicious files uploaded via bypassPotential webshell execution riskAccount compromise via uploaded malwareService disruption from attacks

What to do now

  1. Check which OWASP ModSecurity Core Rule Set (coreruleset) version your web application firewall is running.
  2. If your version is earlier than 3.3.9 (for the affected branch) or earlier than 4.25.0 (for the affected branch), plan an update immediately.
  3. Upgrade OWASP ModSecurity Core Rule Set to version 3.3.9 or 4.25.0 (whichever matches your branch/version line).
  4. After updating, test a safe upload flow and confirm your WAF still blocks dangerous-extension uploads (with any filename whitespace variations).
Patch / advisory Usually a quick update

CVSS Vector Breakdown

AV:NAC:HPR:NUI:NS:CC:NI:HA:N
Exploitability
AV:NAttack Vector
Network
AC:HAttack Complexity
High
PR:NPrivileges Required
None
UI:NUser Interaction
None
Scope
S:CScope
Changed
Impact
C:NConfidentiality
None
I:HIntegrity
High
A:NAvailability
None

Weaknesses

Affected Products

owasp
oss-project·USaka owasp modsecurity core rule set, modsecurity, modsecurity-crs
coreruleset
oss-projectaka coreruleset (owasp modsecurity core rule set)

Exploitability

Official Patch Available
Workaround Available

References

and 7 more references View all →
3

Unlock Complete Vulnerability Intelligence

Get the full picture for CVE-2026-33691 and every CVE in our database. Create a free account — no credit card required.

Create Free Account
Plain-language analysis
Impact assessment and exploitation scenario in plain English
Attack graph visualization
Interactive attack path and kill chain mapping
Exploit details & PoC links
ExploitDB, Metasploit, GitHub PoCs with direct links
Nuclei scanner templates
Ready-to-use vulnerability scanner templates
Full remediation guide
Patch instructions, workarounds, and compliance impact
Interactive AI chat
Ask questions about this vulnerability in natural language
Related vulnerabilities
Semantically similar CVEs and attack patterns
REST API & MCP access
Integrate vulnerability data into your workflows