CVE-2026-33691
JSON

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 packageVersionsReported by
coreruleset coreruleset< 3.3.9, >= 4.0.0-rc1, < 4.25.0CVE List
owasp owasp_modsecurity_core_rule_setbefore 3.3.9, from 4.0.0 before 4.25.0NVD

All scores

GitHub_M6.8medium CVSS:3.1CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:N/I:H/A:N
NVD7.5high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N

Classification

CWE-178

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-gv2wmitigation, patch, vendor-advisory
https://github.com/coreruleset/coreruleset/pull/4546issue-tracking, patch
https://github.com/coreruleset/coreruleset/pull/4547issue-tracking, patch
https://github.com/coreruleset/coreruleset/pull/4548patch
https://github.com/coreruleset/coreruleset/commit/2a8c63512811c5dd74472becebb79a783e68ff02patch
https://github.com/coreruleset/coreruleset/releases/tag/v3.3.9product, release-notes
https://github.com/coreruleset/coreruleset/releases/tag/v4.25.0product, release-notes
http://www.openwall.com/lists/oss-security/2026/03/29/2mailing-list, third-party-advisory
http://seclists.org/fulldisclosure/2026/Apr/0mailing-list, third-party-advisory
http://www.openwall.com/lists/oss-security/2026/04/18/4

Sources

SourceRecordLicence
CVE ListCVE-2026-33691 changed 2026-04-18CVE Terms of Use
NVDCVE-2026-33691 changed 2026-07-24Public domain