Skip to main content

Modsecurity apache: [GHSA-qrch-pjfr-9g47: t:removeComments mishandles the character after a comment terminator, bypassing rules] (CVE-2026-104259)

0
Medium
Published: 10/06/2026 (10/06/2026, 00:00:00 UTC)
Source: GCVE Database
Product: modsecurity-apache

Description

A vulnerability in modsecurity-apache identified as CVE-2026-104259 involves the t:removeComments function mishandling the character following a comment terminator, which can lead to bypassing security rules. This issue affects multiple specific versions of modsecurity-apache. The severity is assessed as medium. No CVSS score or vendor advisory patch information is provided.

Affected software

Ubuntu:Pro:14.04:LTSmore threats →ghsa
modsecurity-apache
pkg:deb/ubuntu/modsecurity-apache?arch=source&distro=esm-infra-legacy/trusty
Affected versions
=2.7.4-1=2.7.5-1=2.7.7-1=2.7.7-1ubuntu1=2.7.7-2=2.7.7-2ubuntu0.1~esm1=2.7.7-2ubuntu0.1~esm2
Ubuntu:Pro:16.04:LTSmore threats →ghsa
modsecurity-apache
pkg:deb/ubuntu/modsecurity-apache?arch=source&distro=esm-apps/xenial
Affected versions
=2.9.0-1=2.9.0-1ubuntu0.1~esm1=2.9.0-1ubuntu0.1~esm2
Ubuntu:Pro:18.04:LTSmore threats →ghsa
modsecurity-apache
pkg:deb/ubuntu/modsecurity-apache?arch=source&distro=esm-apps/bionic
Affected versions
=2.9.1-3=2.9.2-1=2.9.2-1ubuntu0.1~esm1=2.9.2-1ubuntu0.1~esm2
Ubuntu:20.04:LTSmore threats →ghsa
modsecurity
pkg:deb/ubuntu/modsecurity?arch=source&distro=focal
Affected versions
=3.0.3-1=3.0.4-1=3.0.4-1build1
Ubuntu:Pro:20.04:LTSmore threats →ghsa
modsecurity-apache
pkg:deb/ubuntu/modsecurity-apache?arch=source&distro=esm-apps/focal
Affected versions
=2.9.3-1=2.9.3-1ubuntu0.1=2.9.3-1ubuntu0.1+esm1
Ubuntu:22.04:LTSmore threats →ghsa
modsecurity
pkg:deb/ubuntu/modsecurity?arch=source&distro=jammy
Affected versions
=3.0.4-2=3.0.6-1
Ubuntu:Pro:22.04:LTSmore threats →ghsa
modsecurity-apache
pkg:deb/ubuntu/modsecurity-apache?arch=source&distro=esm-apps/jammy
Affected versions
=2.9.3-3=2.9.5-1=2.9.5-1ubuntu0.1~esm1=2.9.5-1ubuntu0.1~esm2
Ubuntu:24.04:LTSmore threats →ghsa
modsecurity
pkg:deb/ubuntu/modsecurity?arch=source&distro=noble
Affected versions
=3.0.10-1=3.0.11-1=3.0.12-1=3.0.12-1.1build1=3.0.12-1.1build2
Ubuntu:Pro:24.04:LTSmore threats →ghsa
modsecurity-apache
pkg:deb/ubuntu/modsecurity-apache?arch=source&distro=esm-apps/noble
Affected versions
=2.9.7-1=2.9.7-1build2=2.9.7-1build3=2.9.7-1ubuntu0.24.04.1~esm1
Ubuntu:26.10more threats →ghsa
modsecurity
pkg:deb/ubuntu/modsecurity?arch=source&distro=stonking
Affected versions
=3.0.14-1build2=3.0.15-1=3.0.16-1
Ubuntu:26.10more threats →ghsa
modsecurity-apache
pkg:deb/ubuntu/modsecurity-apache?arch=source&distro=stonking
Affected versions
=2.9.12-2build1=2.9.13-1
Ubuntu:26.04:LTSmore threats →ghsa
modsecurity
pkg:deb/ubuntu/modsecurity?arch=source&distro=resolute
Affected versions
=3.0.14-1build1=3.0.14-1build2
Ubuntu:26.04:LTSmore threats →ghsa
modsecurity-apache
pkg:deb/ubuntu/modsecurity-apache?arch=source&distro=resolute
Affected versions
=2.9.12-2=2.9.12-2build1

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 10/17/2026, 22:41:01 UTC

Technical Analysis

CVE-2026-104259 is a vulnerability in modsecurity-apache where the t:removeComments function incorrectly processes the character immediately after a comment terminator. This flaw allows attackers to bypass certain security rules enforced by modsecurity. The vulnerability affects numerous specific versions of modsecurity-apache, including versions 2.7.4-1 through 3.0.16-1 and various Ubuntu package builds. No detailed CVSS score or patch information is available from the provided data.

Potential Impact

The vulnerability enables bypassing of security rules in modsecurity-apache, potentially reducing the effectiveness of web application firewall protections. This could allow malicious payloads or requests to evade detection or blocking by modsecurity rules. However, no evidence of known exploits in the wild is reported.

Mitigation Recommendations

Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Since no patch or official fix information is provided, users should monitor vendor channels for updates. Until a fix is available, carefully review and adjust modsecurity rules to mitigate potential bypasses if possible.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Gcve Source
db.gcve.eu
Osv Id
UBUNTU-CVE-2026-104259
Osv Schema Version
1.7.0
Ecosystems
["Ubuntu:Pro:14.04:LTS","Ubuntu:Pro:16.04:LTS","Ubuntu:Pro:18.04:LTS","Ubuntu:20.04:LTS","Ubuntu:Pro:20.04:LTS","Ubuntu:22.04:LTS","Ubuntu:Pro:22.04:LTS","Ubuntu:24.04:LTS","Ubuntu:Pro:24.04:LTS","Ubuntu:26.10","Ubuntu:26.04:LTS"]

Threat ID: 6ad3f4f32cdf04f6566575ed

Added to database: 10/17/2026, 22:21:39 UTC

Last enriched: 10/17/2026, 22:41:01 UTC

Last updated: 10/17/2026, 22:41:01 UTC

Views: 2

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses