{"id":"CVE-2026-111559","kind":"vulnerability","aliases":["CVE-2026-111559"],"related":[],"title":"Batflat CMS: unsanitized /contact input lets anyone run PHP code","description":"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.\n\n\nThe project is no longer maintained and the issue has not been fixed.","summary":"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.","severity":"critical","cvss":9.3,"epss":null,"exploited":false,"exploited_at":null,"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"],"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.","status":"open","published_at":"2026-11-16T13:17:18+00:00","first_seen_at":"2026-11-16T13:37:55+00:00","triaged_at":"2026-11-16T13:38:41+00:00","updated_at":"2026-11-16T15:07:39+00:00","category":"other","confidence":0.85,"triage":{"at":"2026-11-16T13:38:41Z","model":"claude-haiku-5-5","output":{"fix":"unknown","reach":"internet","title":"Batflat CMS: unsanitized /contact input lets anyone run PHP code","impact":"high","summary":"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.","audience":"businesses","category":"other","nicknames":[],"who_cares":["batflat","php","self-hosted"],"confidence":0.7,"fix_status":"none","needs_auth":"no","worst_case":"Attacker runs arbitrary PHP code as www-data on the server","analyst_note":"Confirm affected versions and whether the project offers any mitigation; sources say the project is unmaintained and unfixed.","how_to_check":"- Check whether the site runs Batflat CMS and whether a `/contact` endpoint is reachable\n- unknown for version ranges: the sources do not list affected versions","plain_action":"","product_name":"Batflat CMS","needs_analyst":true,"not_affected_if":["not-batflat"],"who_is_affected":"Sites running Batflat CMS with the contact form endpoint reachable from the internet. The sources state the project is no longer maintained and the issue has not been fixed, so the affected code stays exposed. Sites that do not run Batflat CMS are not affected.","user_interaction":"no","product_ecosystem":"vendor","needs_special_setup":"unknown","severity_if_unknown":"critical"},"cost_usd":0.000713,"input_tokens":4535,"output_tokens":520,"severity_before":"critical"},"analyst_status":"done","analyst_note":"Confirm affected versions and whether the project offers any mitigation; sources say the project is unmaintained and unfixed.","search":"'-111559':13A,16A '-2026':12A,15A '/contact':4A,40B,77C 'anyon':7A 'arbitrari':55B,93C 'attack':45B,82C 'batflat':1A,17A,22B,31B,68C 'caus':54B,92C 'cms':2A,18A,30B,32B,69C 'code':10A,57B,95C 'craft':49B,90C 'cve':11A,14A 'data':36B,63B,73C,100C 'endpoint':41B,78C 'execut':96C 'fix':115C 'host':29B 'input':5A 'issu':111C 'let':6A 'longer':107C 'maintain':108C 'messag':91C 'pass':74C 'php':9A,26B,56B,94C 'poc':20B 'poc-publ':19B 'post':50B,86C 'privileg':64B,102C 'project':104C 'public':21B 'rce':23B 'remot':44B,80C 'request':51B,53B,87C 'run':8A,59B 'sanit':35B,72C 'self':28B 'self-host':27B 'send':47B,84C 'sent':37B 'server':67B 'unauthent':81C 'unpatch':24B 'unsanit':3A 'user':101C 'www':62B,99C 'www-data':61B,98C","nicknames":[],"mitigations":[],"who_affected":"Sites running Batflat CMS 1.2.0 through 1.3.6 with the site reachable from the internet. An unauthenticated POST to /contact can run PHP code as www-data. Sites not running Batflat can skip it; there is no patch, so every Batflat site in that range is exposed.","tier":"B","verified":{"fix":{"at":"2026-11-16T13:39:36Z","by":"analyst","doc":"https://cert.pl/en/posts/2026/11/CVE-2026-111559/","run_id":4121},"products":{"at":"2026-11-16T13:39:36Z","by":"analyst","doc":"https://cert.pl/en/posts/2026/11/CVE-2026-111559/","run_id":4121},"who_affected":{"at":"2026-11-16T13:39:36Z","by":"analyst","doc":"https://cert.pl/en/posts/2026/11/CVE-2026-111559/","run_id":4121}},"analyst_revisit_at":null,"fix_status":"none","audience":"businesses","plain_action":null,"pkeys":["batflatcms","cms"],"ptokens":["batflat","cms"],"labels":["batflat","cms","critical","other","php","pocpublic","rce","selfhosted","unpatched","vendor"],"campaign_type":null,"search_a":"'-111559':13A,16A '-2026':12A,15A '/contact':4A 'anyon':7A 'batflat':1A,17A 'cms':2A,18A 'code':10A 'cve':11A,14A 'input':5A 'let':6A 'php':9A 'run':8A 'unsanit':3A","search_b":"'/contact':40B 'arbitrari':55B 'attack':45B 'batflat':22B,31B 'caus':54B 'cms':30B,32B 'code':57B 'craft':49B 'data':36B,63B 'endpoint':41B 'host':29B 'php':26B,56B 'poc':20B 'poc-publ':19B 'post':50B 'privileg':64B 'public':21B 'rce':23B 'remot':44B 'request':51B,53B 'run':59B 'sanit':35B 'self':28B 'self-host':27B 'send':47B 'sent':37B 'server':67B 'unpatch':24B 'www':62B 'www-data':61B","search_c":"'/contact':77C 'arbitrari':93C 'attack':82C 'batflat':68C 'caus':92C 'cms':69C 'code':95C 'craft':90C 'data':73C,100C 'endpoint':78C 'execut':96C 'fix':115C 'issu':111C 'longer':107C 'maintain':108C 'messag':91C 'pass':74C 'php':94C 'post':86C 'privileg':102C 'project':104C 'remot':80C 'request':87C 'sanit':72C 'send':84C 'unauthent':81C 'user':101C 'www':99C 'www-data':98C","cause_entry":null,"cause_path":null,"disclosures_checked_at":null,"first_public_at":"2026-11-16T13:17:18+00:00","kev":null,"cvss_vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:L/SI:L/SA:L/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X","cvss_by":"cvd@cert.pl","poc_count":1,"sources":[{"source":"nvd","external_id":"CVE-2026-111559","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-111559","severity":null,"published_at":"2026-11-16T13:17:18+00:00","modified_at":"2026-11-16T13:17:18+00:00","first_seen_at":"2026-11-16T13:37:55+00:00","fetched_at":"2026-11-16T13:37:55+00:00","note":null},{"source":"analyst","external_id":"CVE-2026-111559:4121","url":"https://cert.pl/en/posts/2026/11/CVE-2026-111559/","severity":null,"published_at":"2026-11-16T13:39:36+00:00","modified_at":"2026-11-16T13:39:36+00:00","first_seen_at":"2026-11-16T13:39:36+00:00","fetched_at":"2026-11-16T13:39:36+00:00","note":"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.","cites":["https://cert.pl/en/posts/2026/11/CVE-2026-111559/"]},{"source":"github-poc","external_id":"Tymbark7372/CVE-2026-111559","url":"https://github.com/Tymbark7372/CVE-2026-111559","severity":null,"published_at":"2026-11-16T14:35:07+00:00","modified_at":null,"first_seen_at":"2026-11-16T15:07:39+00:00","fetched_at":"2026-11-16T15:07:39+00:00","note":null}],"documents":[{"id":169788,"url":"https://cert.pl/en/posts/2026/11/CVE-2026-111559/","title":"Vulnerability in Batflat software | CERT Polska","kind":"advisory","source":"analyst","publisher":null,"text":null,"published_at":null,"relation":"advisory","confidence":null,"note":null},{"id":170336,"url":"https://github.com/Tymbark7372/CVE-2026-111559","title":"Tymbark7372/CVE-2026-111559","kind":"poc","source":"github","publisher":null,"text":"CVE-2026-111559 advisory and PoC for pre-auth RCE in Batflat CMS\n\nstars 0","published_at":"2026-11-16T14:35:07+00:00","relation":"poc","confidence":null,"note":"0 stars"}],"disclosures":[],"exploit_sources":[{"type":"poc","url":"https://github.com/Tymbark7372/CVE-2026-111559"}],"notice":"Free to read, with fair use of about 60 pages a minute. For higher limits or API access: sales@infrastack.ai"}