{"id":"CVE-2026-104259","aliases":[],"cve":{"records":[{"id":"CVE-2026-104259","source":"GitHub_M","state":"PUBLISHED","reasons":[],"replacements":[],"disputed":false,"unsupportedWhenAssigned":false,"reserved":"2026-10-01T19:04:39.706Z","published":"2026-11-09T21:37:00.048Z","modified":"2026-11-10T19:07:18.936Z"}],"publishers":[{"name":"GitHub_M","role":"CNA","organizationId":"a0819718-46f1-4df5-94e2-005712e83aaa","modified":"2026-11-09T21:37:00.048Z"},{"name":"CISA-ADP","role":"ADP","organizationId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","modified":"2026-11-10T19:07:18.936Z"}],"references":[{"url":"https://github.com/owasp-modsecurity/ModSecurity/security/advisories/GHSA-qrch-pjfr-9g47","tags":["x_refsource_CONFIRM"],"source":"GitHub_M"},{"url":"https://github.com/owasp-modsecurity/ModSecurity/commit/264f348ae1823cb71cead3650b74c165678a1d46","tags":["x_refsource_MISC"],"source":"GitHub_M"},{"url":"https://github.com/owasp-modsecurity/ModSecurity/commit/49a65f471d3130b91f7fff9bfac9fe8dd9b97c44","tags":["x_refsource_MISC"],"source":"GitHub_M"},{"url":"https://github.com/owasp-modsecurity/ModSecurity/releases/tag/v2.9.15","tags":["x_refsource_MISC"],"source":"GitHub_M"},{"url":"https://github.com/owasp-modsecurity/ModSecurity/releases/tag/v3.0.17","tags":["x_refsource_MISC"],"source":"GitHub_M"}],"weaknesses":[{"id":"CWE-670","description":"CWE-670: Always-Incorrect Control Flow Implementation","source":"GitHub_M"}],"applicability":[],"prioritization":[{"source":"CISA-ADP","type":"SSVC","role":"CISA Coordinator","timestamp":"2026-11-10T18:18:32.704323Z","decisions":[{"name":"Exploitation","value":"none"},{"name":"Automatable","value":"no"},{"name":"Technical Impact","value":"partial"}]}]},"title":"ModSecurity: removeComments Transformation Fails to Strip Adjacent Comments, Enabling WAF Rule Bypass","titleSource":"GitHub_M","descriptionSource":"GitHub_M","description":"ModSecurity is an open source, cross platform web application firewall (WAF) engine for Apache, IIS and Nginx. Prior to 2.9.15 and 3.0.17, msre_fn_removeComments_execute in apache2/re_tfns.c and inplace() in src/actions/transformations/remove_comments.cc implement t:removeComments by copying the character immediately after a comment terminator without re-evaluating it. Adjacent comments can therefore leave a later comment in the transformed value, allowing inline-comment obfuscation to bypass rules that depend on comment stripping. When a comment terminator is the final content, the same copy reads one byte beyond the input buffer. This issue is fixed in versions 2.9.15 and 3.0.17.","score":5.4,"severity":"medium","published":"2026-11-09T21:37:00.048Z","modified":"2026-11-10T19:07:18.936Z","withdrawn":false,"knownExploited":false,"affected":[],"products":[{"vendor":"owasp-modsecurity","name":"ModSecurity","platforms":[],"versions":[{"version":"< 2.9.15","status":"affected"},{"version":">= 3.0.0, < 3.0.17","status":"affected"}],"cpes":[],"source":"GitHub_M","url":"https://www.cve.org/CVERecord?id=CVE-2026-104259"}],"remediation":[],"references":["https://github.com/owasp-modsecurity/ModSecurity/security/advisories/GHSA-qrch-pjfr-9g47","https://github.com/owasp-modsecurity/ModSecurity/commit/264f348ae1823cb71cead3650b74c165678a1d46","https://github.com/owasp-modsecurity/ModSecurity/commit/49a65f471d3130b91f7fff9bfac9fe8dd9b97c44","https://github.com/owasp-modsecurity/ModSecurity/releases/tag/v2.9.15","https://github.com/owasp-modsecurity/ModSecurity/releases/tag/v3.0.17"],"sources":[{"name":"CVE","id":"CVE-2026-104259","modified":"2026-11-10T19:07:18.936Z","url":"https://www.cve.org/CVERecord?id=CVE-2026-104259"}],"assessments":[{"source":"GitHub_M","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:L/I:L/A:N","score":5.4}],"sourceAffected":[],"observedAt":"2026-11-10T19:26:02.236Z","kev":{"status":"not-listed","checkedAt":"2026-11-28T20:55:32.118Z"},"coverage":[{"source":"NVD","status":"no-result","checkedAt":"2026-11-09T21:50:43.595Z","attemptedAt":"2026-11-09T21:50:43.595Z"},{"source":"GHSA","status":"no-result","checkedAt":"2026-11-09T21:50:45.208Z","attemptedAt":"2026-11-09T21:50:45.208Z"},{"source":"EUVD","status":"refresh-failed","attemptedAt":"2026-11-09T21:50:36.056Z"},{"source":"EPSS","status":"no-result","checkedAt":"2026-11-09T21:50:41.372Z","attemptedAt":"2026-11-09T21:50:41.372Z"}],"evidence":[],"aiSummary":null}