Skip to content
OpenAdvisories
Medium · 6.8 CVE-2026-33691 EUVD-2026-18352

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

Published Apr 2, 2026 · Updated Apr 18, 2026 · 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 products

VendorProductAffectedFixed
coreruleset coreruleset < 3.3.9, >= 4.0.0-rc1, < 4.25.0 —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 modsecurity-crs 3.3.9-1 —
Debian 13 modsecurity-crs 3.3.7-1+deb13u2 —
Debian 12 modsecurity-crs 3.3.4-1+deb12u3 —
ReleasePackageFixed inAdvisory
Ubuntu 26.10 modsecurity-crs No fix yet —
Ubuntu 26.04 LTS modsecurity-crs No fix yet —
Ubuntu 25.10 modsecurity-crs No fix yet —
Ubuntu 24.04 LTS modsecurity-crs No fix yet —
Ubuntu 22.04 LTS modsecurity-crs No fix yet —
Show 3 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Ubuntu 20.04 LTS modsecurity-crs No fix yet —
Ubuntu 18.04 LTS modsecurity-crs No fix yet —
Ubuntu 16.04 LTS modsecurity-crs No fix yet —
ReleasePackageFixed inAdvisory
openSUSE Tumbleweed owasp-modsecurity-crs 4.29.0-1.1 openSUSE-SU-2026:11632-1

Amazon Linux

ReleasePackageFixed inAdvisory
Amazon Linux 2023 mod_security_crs 4.2.0-1.amzn2023.0.3 ALAS2023-2026-1562

Advisories 3

References