---
id: "CVE-2026-111559"
page: "https://infrastack.ai/live/CVE-2026-111559"
kind: "vulnerability"
aliases: ["CVE-2026-111559"]
title: "Batflat CMS: unsanitized /contact input lets anyone run PHP code"
severity: "critical"
cvss: 9.3
epss: null
exploited: false
status: "open"
category: "other"
products: [{"name": "Batflat CMS", "fixed": [], "affected": ">= 1.2.0, <= 1.3.6", "ecosystem": "vendor"}]
ecosystems: ["vendor"]
tags: ["poc-public", "batflat", "rce", "unpatched", "other", "php", "self-hosted", "cms"]
not_affected_if: ["not-batflat"]
published_at: "2026-11-16T13:17:18+00:00"
first_seen_at: "2026-11-16T13:37:55+00:00"
updated_at: "2026-11-16T15:07:39+00:00"
sources: [{"source": "nvd", "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-111559", "first_seen_at": "2026-11-16T13:37:55+00:00"}, {"source": "analyst", "url": "https://cert.pl/en/posts/2026/11/CVE-2026-111559/", "first_seen_at": "2026-11-16T13:39:36+00:00", "cites": ["https://cert.pl/en/posts/2026/11/CVE-2026-111559/"]}, {"source": "github-poc", "url": "https://github.com/Tymbark7372/CVE-2026-111559", "first_seen_at": "2026-11-16T15:07:39+00:00"}]
exploit_sources: [{"type": "poc", "url": "https://github.com/Tymbark7372/CVE-2026-111559"}]
---

# Batflat CMS: unsanitized /contact input lets anyone run PHP code

Link for people: https://infrastack.ai/live/CVE-2026-111559 (this .md is for agents)

Batflat CMS does not sanitize data sent to its /contact endpoint, so a remote attacker can send a crafted POST request. The request causes arbitrary PHP code to run with www-data privileges on the server.

_Summary, check and fix written by a model from the sources; labelled as such._

## Affected

- vendor:Batflat CMS affected >= 1.2.0, <= 1.3.6 fixed no fixed version listed

## How to check

Find Batflat installs (a Batflat site has a 'inc/' and 'systems/' directory; version is in systems/ or the admin footer) and check whether the version is 1.2.0 through 1.3.6. If so, and the site is reachable from the internet, treat it as exposed because the /contact form is unauthenticated. Also check web logs for unusual POST requests to /contact containing template or PHP syntax.

## Fix

No fix: CERT Polska says the project is no longer maintained and the issue is not fixed. Remove Batflat from internet-facing hosting or replace it with a maintained CMS.

## Timeline

- 2026-11-16T13:37:55+00:00 nvd https://nvd.nist.gov/vuln/detail/CVE-2026-111559
- 2026-11-16T13:39:36+00:00 analyst https://cert.pl/en/posts/2026/11/CVE-2026-111559/ — CERT Polska (CNA) advisory read: Batflat 1.2.0-1.3.6, template-engine injection (CWE-1336) at /contact, unpatched, project unmaintained. No PoC or exploitation found; no mitigation from vendor. X/social not searched.
- 2026-11-16T15:07:39+00:00 github-poc https://github.com/Tymbark7372/CVE-2026-111559

## Documents

- [advisory] Vulnerability in Batflat software | CERT Polska https://cert.pl/en/posts/2026/11/CVE-2026-111559/
- [poc] Tymbark7372/CVE-2026-111559 https://github.com/Tymbark7372/CVE-2026-111559

## From the sources

Batflat CMS does not sanitize data passed to the /contact endpoint. A remote unauthenticated attacker can send a POST request with a crafted message, causing arbitrary PHP code execution with www-data user privileges.


The project is no longer maintained and the issue has not been fixed.

---

_Free to read, with fair use of about 60 pages a minute. For higher limits or API access: sales@infrastack.ai_
