Skip to navigation

Threat reportVulnerabilityTL-2026-6202

CVE-2026-111559: Batflat (sruupl) template injection in /contact endpoint allows unauthenticated remote PHP code execution

highACTIVE

CERT Polska reports that Batflat 1.2.0 through 1.3.6 does not sanitize data sent to the /contact endpoint (CWE-1336, template engine injection). A remote unauthenticated attacker can send a crafted POST request to execute arbitrary PHP code with www-data privileges. The project is no longer maintained and the issue has not been fixed.

Key facts

IdentifiersTL-2026-6202, CVE-2026-111559
SeverityHIGH
First disclosed
Affected productssruupl Batflat
Weaknesses (CWE)CWE-1336
MalwareBatflat 1.2.0-1.3.6, PHP
MITRE ATT&CK techniquesT1005 Data from Local System, T1059 Command and Scripting Interpreter, T1190 Exploit Public-Facing Application, T1505.003 Server Software Component: Web Shell
MotivationUNKNOWN
Detection rules9 (1 shown free)
Sources5 cited sources

Detection coverage

As of 2026-11-17, Threadlinqs Intelligence publishes 9 detection rule(s) for TL-2026-6202 across Splunk SPL, Microsoft KQL and Sigma, covering 8 indicator(s) of compromise. The whole corpus is readable without an account. Every threat comes with one complete detection in Splunk SPL, Microsoft KQL and Sigma, free for everyone; a free account adds daily TL Creds to unlock the rest. Paid plans add a larger daily allowance, correlation and the MCP server. Threadlinqs MCP server · View plans.

Free detection: Batflat CVE-2026-111559 Template/PHP Injection Payload in POST /contact

Detects POST requests to the Batflat /contact endpoint whose logged request (WAF audit log or access log with body capture) carries template-engine syntax or PHP function names. CVE-2026-111559 (CWE-1336) lets an unauthenticated attacker reach arbitrary PHP execution as www-data through this endpoint in Batflat 1.2.0 through 1.3.6, and no vendor fix exists. The exact payload is not published, so the search keys on generic template and PHP markers. Requires request-body logging; without it only the request line is visible and this rule will not fire.

  • Languages: Splunk SPL, Microsoft KQL, Sigma
  • ATT&CK: T1190, T1059
  • Data sources: apache_access_log, nginx_access_log, modsecurity_audit_log
  • Severity: high
  • Confidence: medium

Splunk SPL

index=web (sourcetype=access_combined OR sourcetype="nginx:plus:access" OR sourcetype=modsecurity) earliest=-24h "/contact" ```TL-2026-6202 Batflat CVE-2026-111559: POST /contact carrying template or PHP code markers```
| regex _raw="POST[ ]+/contact"
| eval raw_lc=lower(_raw)
| eval ssti_marker=if(match(raw_lc,"[{][?]|%7b%3f|[{][{]|%7b%7b|[{][$]|%7b%24|[<][?]php|%3c%3fphp"),1,0)
| eval php_func=if(match(raw_lc,"shell_exec|passthru|proc_open|popen|base64_decode|file_put_contents|phpinfo|(system|exec|eval|assert)%28"),1,0)
| where ssti_marker=1 OR php_func=1
| eval src_ip=coalesce(clientip,src,"unknown")
| stats count min(_time) as first_seen max(_time) as last_seen values(status) as status values(ssti_marker) as ssti_marker values(php_func) as php_func by src_ip host
| convert ctime(first_seen) ctime(last_seen)

Microsoft KQL

Syslog
| where TimeGenerated > ago(24h)
| where ProcessName in~ ('apache2','httpd','nginx','modsecurity')
| where SyslogMessage matches regex @'POST[ ]+/contact'
| extend msg = tolower(SyslogMessage)
| extend SstiMarker = msg matches regex @'[{][?]|%7b%3f|[{][{]|%7b%7b|[{][$]|%7b%24|[<][?]php|%3c%3fphp'
| extend PhpFunc = msg matches regex @'shell_exec|passthru|proc_open|popen|base64_decode|file_put_contents|phpinfo|(system|exec|eval|assert)%28'
| where SstiMarker or PhpFunc
| project TimeGenerated, Computer, ProcessName, SstiMarker, PhpFunc, SyslogMessage

Sigma

title: Batflat CVE-2026-111559 Template or PHP Injection Payload in POST /contact
id: 3b1f6c0e-5d2a-4e7b-9a41-6c8e2f1d7a01
status: experimental
description: Detects POST requests to the Batflat /contact endpoint where the logged request line or body contains template engine syntax or PHP function names, matching CVE-2026-111559 (CWE-1336) exploitation attempts. Requires web or WAF logs that capture the request body.
references:
    - https://cert.pl/en/posts/2026/11/CVE-2026-111559/
    - https://www.cve.org/CVERecord?id=CVE-2026-111559
author: Threadlinqs Team
date: 2026-11-17
tags:
    - attack.initial-access
    - attack.t1190
    - attack.execution
    - attack.t1059
    - cve.2026.111559
logsource:
    category: webserver
detection:
    selection_req:
        cs-method: 'POST'
        c-uri|endswith:
            - '/contact'
            - '/contact/'
    keywords_payload:
        - '{?'
        - '%7B%3F'
        - '{{'
        - '%7B%7B'
        - '{$'
        - '%7B%24'
        - '<?php'
        - '%3C%3Fphp'
        - 'shell_exec'
        - 'passthru'
        - 'proc_open'
        - 'base64_decode'
        - 'file_put_contents'
        - 'phpinfo'
    condition: selection_req and keywords_payload
falsepositives:
    - Security scanners or penetration tests that submit template or PHP payloads to the contact form
    - Legitimate visitors pasting code snippets or curly-brace text into the contact message
level: high

Known false positives:

  • Authorized vulnerability scanners or pentests submitting template/PHP payloads to /contact
  • Visitors legitimately pasting code or curly-brace text into the contact message field

Tuning notes: Enable request-body logging (ModSecurity SecAuditLogParts including C, or an nginx log_format with $request_body) or the rule cannot see the payload. Adjust index and sourcetype to your web or WAF data. Allowlist scanner source IPs. The payload is not public, so review marker regexes as exploit details emerge.

8 more detection rules (Splunk SPL, Microsoft KQL, Sigma) · unlock with TL Creds. Sign up free to unlock the detection rules or query them with the Threadlinqs MCP server (Purple)
  • Batflat CVE-2026-111559 Server Errors on POST [indicator] (Exploit Probing) · unlock with TL Creds
  • Batflat Host Web Server Process Spawning Shell or Discovery Commands · unlock with TL Creds
  • Batflat Host Web Server Process Downloading Tools via curl or wget · unlock with TL Creds
  • Batflat [indicator] Request URI Containing Template or PHP Code Markers · unlock with TL Creds
  • Batflat Host Web Server Child Process Reading Sensitive Files or Staging Data · unlock with TL Creds
  • Batflat Host Web Server Child Process Reverse Shell Command Line · unlock with TL Creds
  • Batflat Host Web Server Process Writing PHP File (Web Shell Drop) · unlock with TL Creds
  • Batflat Host Web Server User Outbound Connection to Public IP on Unusual Port · unlock with TL Creds

Indicators of compromise

As of 2026-11-17, Threadlinqs Intelligence tracks 8 indicators of compromise for TL-2026-6202.

Sample indicators (1 of 8)

  • URL: hxxps://cert[.]pl/en/posts/2026/11/CVE-2026-111559/

Defanged, TLP:CLEAR. Full set of 8 indicators: unlock with TL Creds.

8 indicators of compromise · unlock with TL Creds. Compare plans

Technical analysis

CVE-2026-111559 affects Batflat, a PHP content management system published by sruupl, in versions 1.2.0 through 1.3.6. According to the CERT Polska advisory published on 2026-11-16, the application does not neutralize data submitted to the /contact endpoint before it reaches the template engine (CWE-1336, Improper Neutralization of Special Elements Used in a Template Engine). A remote, unauthenticated attacker can send a crafted POST request to this endpoint and cause arbitrary PHP code to execute on the server in the context of the web server user (www-data).

The advisory states that the project is no longer maintained and that the issue has not been fixed, so no vendor patch exists and every internet-reachable deployment of an affected version remains exposed. The advisory credits the reporter Tymbark7372 and was coordinated through CERT Polska.

Source limitations: the advisory does not provide a CVSS score or vector, a public proof-of-concept, observed in-the-wild exploitation, threat-actor attribution, or indicators of compromise. The HIGH severity rating is an analyst assessment based on the stated impact (unauthenticated remote code execution), not a source-provided rating. Status ACTIVE reflects that the flaw is unpatched, not confirmed exploitation. The ATT&CK mappings for post-exploitation behaviors (web shell persistence, discovery, collection) are analyst assessments of what code execution as www-data typically enables and are not documented in the source. Because no network IOCs exist, no BeaconBeagle correlation was applicable.

Defender guidance (analyst recommendations, not from the advisory): identify Batflat installations, restrict or block external access to /contact (WAF rule or web server deny), monitor POST requests to /contact for template syntax and PHP function names, watch for web server child processes and new or modified PHP files under the web root, and plan migration to a maintained CMS.

MITRE ATT&CK techniques by tactic:

Collection

T1005 Data from Local System

Execution

T1059 Command and Scripting Interpreter

Initial Access

T1190 Exploit Public-Facing Application

Persistence

T1505.003 Server Software Component: Web Shell

Remediation

Patches

  • No fix available: CERT Polska states the project is no longer maintained and the issue has not been fixed

Immediate actions

  • Inventory internet-facing Batflat 1.2.0-1.3.6 installations
  • Block or restrict external access to the /contact endpoint via WAF or web server rules
  • Monitor POST requests to /contact and review web root for unexpected PHP files

Workarounds

  • Disable or remove the contact module/endpoint
  • Place the site behind a WAF that filters template-engine injection payloads in POST bodies

Longer-term hardening

  • Migrate from the unmaintained Batflat project to a maintained CMS
  • Run the web server with least privilege and restrict PHP execution and outbound traffic

Affected and fixed versions

  • sruupl — Batflat
    Vulnerable versions: 1.2.0 through 1.3.6

Timeline

  • Advisory states the Batflat project is no longer maintained and the issue has not been fixed.
  • Advisory credits reporter Tymbark7372 with the discovery; disclosure coordinated by CERT Polska.
  • CVE-2026-111559 record referenced for Batflat 1.2.0 through 1.3.6 (CWE-1336).
  • CERT Polska publishes advisory for CVE-2026-111559 describing unauthenticated PHP code execution via the Batflat /contact endpoint.
  • Threadlinqs begins tracking the threat as ACTIVE (unpatched); no exploitation, PoC, or attribution reported in the source.
  • Search for independent reporting, PoC, or exploitation of CVE-2026-111559 returned nothing beyond the CERT Polska advisory; no CVSS, KEV listing, or IOCs available.

Sources cited

Drafted by the Threadlinqs research pipeline from 5 sources; published ; last updated —.

Threadlinqs Intelligence — Real-Time Threat Detection Platform

// threat_feed
$ sort --newest
Showing all threats

Live intelligence console

Threat level

Latest Threats