6.8medium
OWASP CRS: Whitespace padding in filenames bypasses file upload extension checks
- Severity
- 6.8medium CVSS:3.1 by GitHub_M
- Exploit likelihood
- 3.80% (higher than 90% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- GitHub_M
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.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| coreruleset coreruleset | < 3.3.9, >= 4.0.0-rc1, < 4.25.0 | CVE List |
| owasp owasp_modsecurity_core_rule_set | before 3.3.9, from 4.0.0 before 4.25.0 | NVD |
All scores
| GitHub_M | 6.8medium CVSS:3.1 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:N/I:H/A:N |
| NVD | 7.5high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N |
Classification
SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.
What each source says
CVE List
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.
NVD (es)
El conjunto de reglas base de OWASP (CRS) es un conjunto de reglas genéricas de detección de ataques para usar con firewalls de aplicaciones web compatibles. Antes de las versiones 3.3.9 y 4.25.0, se identificó un bypass en OWASP CRS que permite la carga de archivos con extensiones peligrosas (.PHP, .phar, .jsp, .jspx) insertando relleno de espacios en blanco en el nombre del archivo (por ejemplo, photo. PHP o shell.jsp ). Las reglas afectadas no normalizan los espacios en blanco antes de evaluar la expresión regular de la extensión de archivo, por lo que la comprobación de extensión de punto falla al coincidir. Este problema ha sido parcheado en las versiones 3.3.9 y 4.25.0.
References
| https://github.com/coreruleset/coreruleset/security/advisories/GHSA-rw5f-9w43-gv2w | mitigation, patch, vendor-advisory | |
| https://github.com/coreruleset/coreruleset/pull/4546 | issue-tracking, patch | |
| https://github.com/coreruleset/coreruleset/pull/4547 | issue-tracking, patch | |
| https://github.com/coreruleset/coreruleset/pull/4548 | patch | |
| https://github.com/coreruleset/coreruleset/commit/2a8c63512811c5dd74472becebb79a783e68ff02 | patch | |
| https://github.com/coreruleset/coreruleset/releases/tag/v3.3.9 | product, release-notes | |
| https://github.com/coreruleset/coreruleset/releases/tag/v4.25.0 | product, release-notes | |
| http://www.openwall.com/lists/oss-security/2026/03/29/2 | mailing-list, third-party-advisory | |
| http://seclists.org/fulldisclosure/2026/Apr/0 | mailing-list, third-party-advisory | |
| http://www.openwall.com/lists/oss-security/2026/04/18/4 | ||
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-33691 changed 2026-04-18 | CVE Terms of Use |
| NVD | CVE-2026-33691 changed 2026-07-24 | Public domain |