CVE-2026-104259
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.
Timeline
Built from our own data: NVD, CISA KEV and other exploitation catalogues, FIRST EPSS, public exploits, specialised media and Orbitaley coverage.
- CVE record published in NVD
- Record last modified in NVD
ATT&CK techniques
How this vulnerability is exploited and what the attacker gains, in MITRE ATT&CK terms.
- Exploitation
T1190Exploit Public-Facing Applicationinitial access80 % - Primary impact
T1027Obfuscated Files or Informationstealth60 %
Vector AV:N/PR:N/UI:N indica explotación remota sin privilegios; el texto describe elusión de reglas WAF mediante ofuscación con comentarios inline en t:removeComments.
Inferred by our analysis agent from the official description, CVSS vector and CWE, and checked by a supervisor. May contain errors.
ATT&CK mitigations that cover these techniques
Affected technologies (1)
⚠ AI-inferred from the description — NVD hasn't analyzed this CVE yet, these aren't verified CPEs.
NVD record
- NVD status
- Deferred
- Published
- Nov 9, 2026
- Last modified
- Nov 12, 2026
- CVSS vector
- CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:L/I:L/A:N
- Weakness (CWE)
- CWE-670
References
- Patchgithub.com/owasp-modsecurity/ModSecurity/commit/264f348ae1823cb…
- Patchgithub.com/owasp-modsecurity/ModSecurity/commit/49a65f471d3130b…
- Patchgithub.com/owasp-modsecurity/ModSecurity/releases/tag/v2.9.15
- Patchgithub.com/owasp-modsecurity/ModSecurity/releases/tag/v3.0.17
- Referencegithub.com/owasp-modsecurity/ModSecurity/security/advisories/GH…
Raw JSON (NVD)
Show
{
"id": "CVE-2026-104259",
"cveTags": [],
"metrics": {
"ssvcV203": [
{
"source": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
"ssvcData": {
"id": "CVE-2026-104259",
"role": "CISA Coordinator",
"options": [
{
"exploitation": "none"
},
{
"automatable": "no"
},
{
"technicalImpact": "partial"
}
],
"version": "2.0.3",
"timestamp": "2026-11-10T18:18:32.704323Z"
}
}
],
"cvssMetricV31": [
{
"type": "Secondary",
"source": "security-advisories@github.com",
"cvssData": {
"scope": "CHANGED",
"version": "3.1",
"baseScore": 5.4,
"attackVector": "NETWORK",
"baseSeverity": "MEDIUM",
"vectorString": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:L/I:L/A:N",
"integrityImpact": "LOW",
"userInteraction": "NONE",
"attackComplexity": "HIGH",
"availabilityImpact": "NONE",
"privilegesRequired": "NONE",
"confidentialityImpact": "LOW"
},
"impactScore": 2.7,
"exploitabilityScore": 2.2
}
]
},
"affected": [
{
"source": "security-advisories@github.com",
"affectedData": [
{
"vendor": "owasp-modsecurity",
"product": "ModSecurity",
"versions": [
{
"status": "affected",
"version": "< 2.9.15"
},
{
"status": "affected",
"version": ">= 3.0.0, < 3.0.17"
}
]
}
]
}
],
"published": "2026-11-09T22:18:22.160",
"references": [
{
"url": "https://github.com/owasp-modsecurity/ModSecurity/commit/264f348ae1823cb71cead3650b74c165678a1d46",
"source": "security-advisories@github.com"
},
{
"url": "https://github.com/owasp-modsecurity/ModSecurity/commit/49a65f471d3130b91f7fff9bfac9fe8dd9b97c44",
"source": "security-advisories@github.com"
},
{
"url": "https://github.com/owasp-modsecurity/ModSecurity/releases/tag/v2.9.15",
"source": "security-advisories@github.com"
},
{
"url": "https://github.com/owasp-modsecurity/ModSecurity/releases/tag/v3.0.17",
"source": "security-advisories@github.com"
},
{
"url": "https://github.com/owasp-modsecurity/ModSecurity/security/advisories/GHSA-qrch-pjfr-9g47",
"source": "security-advisories@github.com"
}
],
"vulnStatus": "Deferred",
"weaknesses": [
{
"type": "Secondary",
"source": "security-advisories@github.com",
"description": [
{
"lang": "en",
"value": "CWE-670"
}
]
}
],
"descriptions": [
{
"lang": "en",
"value": "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."
}
],
"lastModified": "2026-11-12T22:18:51.470",
"sourceIdentifier": "security-advisories@github.com"
}