VORANT. Threat Intelligence Research Create a free account

Unpatched Batflat CMS flaw allows RCE

Published Vorant ratingroutine vulnerability Technology

Vorant's rating weighs the evidence in the report: confirmed exploitation, victims claimed, CVSS and EPSS, and how many sources agree. It rates the report, not your assets.

Unauthenticated attackers can exploit a template injection bug in Batflat CMS's contact form to execute arbitrary PHP code; no fix is coming.

Sourcecert.pl — open the original

What to check

Applies to
The 1 CVE named below. Whether you run an affected version is not assessed: check the versions the source lists.
Exploitation
No exploitation in the wild and no public exploit is recorded for the CVEs named.

CERT Polska coordinated disclosure of CVE-2026-111559, a server-side template injection vulnerability (CWE-1336) in Batflat CMS, affecting versions 1.2.0 through 1.3.6. The flaw exists in the /contact endpoint, which fails to sanitize user-supplied data before passing it to the template engine. A remote, unauthenticated attacker can submit a crafted POST request to achieve arbitrary PHP code execution with www-data privileges, effectively giving full control over the web application and potentially the underlying host.

The vulnerability was reported to CERT Polska by a researcher known as Tymbark7372. Critically, the Batflat project is no longer maintained, and the vendor has not released a patch — nor is one expected. This leaves any organization still running Batflat CMS permanently exposed unless they take independent mitigating action.

Defenders running Batflat should treat this as an unpatchable risk: consider taking affected instances offline, migrating to a maintained CMS, or at minimum placing a WAF in front of the /contact endpoint to block anomalous POST payloads. Monitor web server logs for unusual POST requests to /contact and unexpected PHP process spawning under the www-data account as indicators of exploitation attempts.

Mentioned in this report

Vulnerabilities CVE-2026-111559

Detection guidance

Batflat CMS Contact Endpoint Request With Template or PHP Injection Markers

ATT&CK T1190 · status experimental · needs webserver logs · generated from the report, not run against telemetry

A behavioural hunt for the technique in general, not a signature for the CVEs this report names.

POST to the Batflat /contact endpoint carrying PHP or template-injection markers in the URI, consistent with CVE-2026-111559 exploitation attempts. Auto-generated starting point — validate and tune in your environment before deploying. IOC matches can false-positive on shared infrastructure and decay as adversary infrastructure rotates.

title: Batflat CMS Contact Endpoint Request With Template or PHP Injection Markers
id: f85bdd2f-9446-5a2e-9cba-081038c6821f
status: experimental
description: Detects POST requests to the /contact endpoint whose URI or query string
  carries PHP or template-engine injection markers or dangerous PHP function names.
  Consistent with Batflat CMS CVE-2026-111559 server-side template injection attempts.
  POST bodies are not usually logged, so this catches only payloads that reach the
  URI or query string; pair with WAF or body logging where available.
tags:
- attack.initial-access
- attack.t1190
logsource:
  category: webserver
detection:
  selection_endpoint:
    cs-method: POST
    cs-uri-stem|endswith: /contact
  selection_payload:
    cs-uri-query|contains:
    - '{?'
    - '%7B%3F'
    - <?php
    - '%3C%3Fphp'
    - shell_exec
    - passthru
    - base64_decode
  condition: selection_endpoint and selection_payload
falsepositives:
- Security scanners run against the site by the owning organisation
- Contact forms that legitimately pass encoded curly-brace text in query parameters
level: medium
author: Vorant
references:
- https://cert.pl/en/posts/2026/11/CVE-2026-111559

Web Server Account Spawning Shell With Reverse Shell or Download Commands

ATT&CK T1059.004 · status experimental · needs linux process_creation logs · generated from the report, not run against telemetry

A behavioural hunt for the technique in general, not a signature for the CVEs this report names.

A shell spawned by a web server or PHP process running as www-data executes download, reverse-shell or recon commands, indicating post-exploitation after web RCE. Auto-generated starting point — validate and tune in your environment before deploying. IOC matches can false-positive on shared infrastructure and decay as adversary infrastructure rotates.

title: Web Server Account Spawning Shell With Reverse Shell or Download Commands
id: 572d565a-3f78-5e14-a783-5060b288bdfc
status: experimental
description: Detects a shell started by a web server or PHP parent under the www-data
  account whose command line contains reverse-shell, payload download or recon commands.
  This is typical follow-on activity after PHP code execution such as Batflat CVE-2026-111559
  exploitation.
tags:
- attack.execution
- attack.t1059.004
- attack.initial-access
- attack.t1190
logsource:
  category: process_creation
  product: linux
detection:
  selection_parent:
    User: www-data
    ParentImage|contains:
    - apache2
    - httpd
    - nginx
    - php
  selection_shell:
    Image|endswith:
    - /sh
    - /bash
    - /dash
  selection_cmd:
    CommandLine|contains:
    - /dev/tcp/
    - bash -i
    - curl http
    - wget http
    - nc -e
    - whoami
    - chmod +x
  condition: selection_parent and selection_shell and selection_cmd
falsepositives:
- Web applications that legitimately shell out to curl or wget for update checks
- Administrators testing PHP execution from a web shell on a lab host
level: high
author: Vorant
references:
- https://cert.pl/en/posts/2026/11/CVE-2026-111559

PHP or Web Server Process Directly Running Recon Binaries as www-data

ATT&CK T1059 · status experimental · needs linux process_creation logs · generated from the report, not run against telemetry

A behavioural hunt for the technique in general, not a signature for the CVEs this report names.

PHP or a web server process directly executes system discovery binaries under www-data, a common first step after achieving RCE in a PHP CMS. Auto-generated starting point — validate and tune in your environment before deploying. IOC matches can false-positive on shared infrastructure and decay as adversary infrastructure rotates.

title: PHP or Web Server Process Directly Running Recon Binaries as www-data
id: 674a1f13-087e-5fb8-a2ad-718fd4026ee2
status: experimental
description: Detects system discovery utilities launched directly by PHP, Apache or
  nginx processes under the www-data account. Typical of initial post-exploitation
  after PHP code execution through a flaw such as Batflat CVE-2026-111559.
tags:
- attack.execution
- attack.t1059
- attack.discovery
- attack.t1082
logsource:
  category: process_creation
  product: linux
detection:
  selection:
    User: www-data
    ParentImage|contains:
    - apache2
    - httpd
    - nginx
    - php
    Image|endswith:
    - /whoami
    - /uname
    - /ifconfig
    - /hostname
    - /id
  condition: selection
falsepositives:
- Monitoring or diagnostic PHP scripts that call uname or hostname for status pages
- Hosting control panels that run as www-data and query system information
level: medium
author: Vorant
references:
- https://cert.pl/en/posts/2026/11/CVE-2026-111559

Behavioural rules are generated from public reporting — validate in your environment before deploying.

Source reporting: https://cert.pl/en/posts/2026/11/CVE-2026-111559

Free public brief. The Sigma rules (and on a paid plan the Splunk SPL already written, plus Elastic and KQL where they apply) are in the app with a free account, no card. Slack alerts on the vendors you run come with the paid plans, and a new account gets five days of them.

What this brief leaves out

This page is the free tier: the write-up, the severity, the names. In the app the same report carries its Sigma rules (and on a paid plan the Splunk SPL already written, plus Elastic and Microsoft KQL where they apply) and live profiles of the CVEs it names. A free account in the app opens every report of the last 30 days, the security research and news included; the paid plans add the archive, what to hunt, the investigations and the rules as SIEM queries.

It sits in a corpus of 17,321 reports from 146 sources, 698 of them written in the last seven days, and it grows through the day.

A new account starts with five days of all of it, no card, then keeps the last 30 days of reporting free, the research and news included. Slack alerts are a paid-plan feature: name the vendors you run and Slack hears about the reports that touch them, not the rest of the week's. Nothing is charged unless you subscribe.

Create a free account   What it costs