CVE-2026-28496

CRITICAL EXPLOITED NUCLEI LAB

FOSSBilling: Server-side template injection in Twig template rendering enables information disclosure and RCE

Title source: cna
STIX 2.1

Exploitation Summary

CVE-2026-28496 has been observed exploited in the wild (reported by VulnCheck KEV). EIP tracks 1 public exploit from researchers including rootdirective-sec. A Nuclei detection template is also available.

AI-analyzed exploit summary This repository contains a functional PoC for CVE-2026-28496, demonstrating a Server-Side Template Injection (SSTI) vulnerability in FOSSBilling's Twig rendering. The PoC sends a crafted template payload to the `/api/system/system/string_render` endpoint and checks if the server evaluates the expression, confirming vulnerability.

Description

FOSSBilling is a free, open-source billing and client management system. Versions prior to 0.8.0 have a Server-Side Template Injection (SSTI) vulnerability in the template rendering system. Administrators with access to features that render Twig templates (email templates, mass mail campaigns, custom payment adapters, and the `string_render` API endpoint) can inject arbitrary Twig expressions, leading to information disclosure and remote code execution. The vulnerability exists because Twig templates are rendered without a sandbox, allowing access to the full Twig environment, API context, and the application's dependency injection container. Version 0.8.0 patches the issue. Some workarounds are available. Audit existing email templates for suspicious Twig expressions, rotate all admin and client API tokens, and/or block external access to /api/system/* at reverse proxy/WAF to mitigate chaining with GHSA-78x5-c8gw-8279.

Exploits (1)

github WORKING POC
by rootdirective-sec · pythonremote
https://github.com/rootdirective-sec/CVE-2026-28496-Lab

This repository contains a functional PoC for CVE-2026-28496, demonstrating a Server-Side Template Injection (SSTI) vulnerability in FOSSBilling's Twig rendering. The PoC sends a crafted template payload to the `/api/system/system/string_render` endpoint and checks if the server evaluates the expression, confirming vulnerability.

Classification
Working Poc 95%
Attack Type
Rce
Complexity
Trivial
Reliability
Reliable
Target: FOSSBilling < 0.8.0
No auth needed
Prerequisites: Access to the `/api/system/system/string_render` endpoint
mistral-large-3 · analyzed Jun 29, 2026 Full analysis →

Nuclei Templates (1)

FOSSBilling - Server-Side Template Injection
CRITICALVERIFIEDby DhiyaneshDK
Shodan: html:"FOSSBilling"

Scores

CVSS v4 9.4
EPSS 0.0189
EPSS Percentile 77.1%
CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:N/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H/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

CISA SSVC

Vulnrichment
Exploitation none
Automatable no
Technical Impact total

Lab Environment

COMMUNITY
Community Lab
docker pull cve-2026-28496-fossbilling-vuln:0.7.2
docker pull cve-2026-28496-fossbilling-patched:0.8.0
docker pull curlimages/curl:8.11.1
docker pull fossbilling/fossbilling:0.8.0
docker pull fossbilling/fossbilling:0.7.2

Details

VulnCheck KEV 2026-06-25
CWE
CWE-1336
Status published
Products (1)
FOSSBilling/FOSSBilling < 0.8.0
Published Jun 23, 2026
Tracked Since Jun 23, 2026