CVE-2026-33691 OWASP CRS: Whitespace padding in filenames bypasses file upload extension checks
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- No known exploitation · automatable: no · technical impact: partial
- Technology
- PHPUbuntuDebian
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.
Upgrade path
9 packages: 4 fixed, 4 with no fix yet.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| ubuntu/modsecurity-crs(Ubuntu 22.04) | All versions | No fix listed | No fix yet |
| ubuntu/modsecurity-crs(Ubuntu 24.04) | All versions | No fix listed | No fix yet |
| ubuntu/modsecurity-crs(Ubuntu 26.04) | All versions | No fix listed | No fix yet |
| ubuntu/modsecurity-crs(Ubuntu 26.10) | All versions | No fix listed | No fix yet |
| debian/modsecurity-crs(Debian 12) | < 3.3.4-1+deb12u3; = 3.3.4-1; = 3.3.4-1+deb12u1; = 3.3.4-1+deb12u2 | 3.3.4-1+deb12u3 | Fixed |
| debian/modsecurity-crs(Debian 13) | < 3.3.7-1+deb13u2; = 3.3.7-1; = 3.3.7-1+deb13u1 | 3.3.7-1+deb13u2 | Fixed |
| debian/modsecurity-crs(Debian 14) | < 3.3.9-1; = 3.3.7-1; = 3.3.8-1 | 3.3.9-1 | Fixed |
| owasp modsecurity core rule set | < 3.3.9; >= 4.0.0, < 4.25.0 | 3.3.9, 4.25.0 | Fixed |
| coreruleset | = < 3.3.9; = >= 4.0.0-rc1, < 4.25.0 | No fix listed | Versions listed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| coreruleset | = < 3.3.9 | No fix listed |
| coreruleset | = >= 4.0.0-rc1, < 4.25.0 | No fix listed |
| debian/modsecurity-crs(Debian:12) | < 3.3.4-1+deb12u3 | 3.3.4-1+deb12u3 |
| debian/modsecurity-crs(Debian:12) | = 3.3.4-1 | No fix listed |
| debian/modsecurity-crs(Debian:12) | = 3.3.4-1+deb12u1 | No fix listed |
| debian/modsecurity-crs(Debian:12) | = 3.3.4-1+deb12u2 | No fix listed |
| debian/modsecurity-crs(Debian:13) | < 3.3.7-1+deb13u2 | 3.3.7-1+deb13u2 |
| debian/modsecurity-crs(Debian:13) | = 3.3.7-1 | No fix listed |
| debian/modsecurity-crs(Debian:13) | = 3.3.7-1+deb13u1 | No fix listed |
| debian/modsecurity-crs(Debian:14) | < 3.3.9-1 | 3.3.9-1 |
| debian/modsecurity-crs(Debian:14) | = 3.3.7-1 | No fix listed |
| debian/modsecurity-crs(Debian:14) | = 3.3.8-1 | No fix listed |
| ubuntu/modsecurity-crs(Ubuntu:22.04) | All versions | No fix listed |
| ubuntu/modsecurity-crs(Ubuntu:24.04) | All versions | No fix listed |
| ubuntu/modsecurity-crs(Ubuntu:26.04) | All versions | No fix listed |
| ubuntu/modsecurity-crs(Ubuntu:26.10) | All versions | No fix listed |
| owasp modsecurity core rule set | < 3.3.9 | 3.3.9 |
| owasp modsecurity core rule set | >= 4.0.0, < 4.25.0 | 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
- www.openwall.com mailing-list third-party-advisory
- seclists.org mailing-list third-party-advisory
- www.openwall.com
- Debian Security Tracker CVE-2026-33691 vendor-advisory
- Ubuntu CVE tracker vendor-advisory
- www.cve.org