FOSSBilling: Server-side template injection in Twig template rendering enables information disclosure and RCE
No fixed version listed yet.Check the vendor advisory. References ↓
FOSSBilling · FOSSBilling
A server-side template injection flaw in FOSSBilling's Twig template rendering system affects versions prior to 0.8.0, where templates are rendered without a sandbox. An attacker with administrator-level access to features that render Twig templates, such as email templates, mass mail campaigns, custom payment adapters, or the string_render API endpoint, can inject arbitrary Twig expressions to disclose information or execute code remotely.
Official description · CVE.org
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.
- Exploited
- Yes, in VulnCheck KEV
- Reports
- 0
- Tactics
- 0/15
Exploitation timelineDated milestones for a CVE: when it was disclosed, when exploit code became public, when exploitation was confirmed, and when threat reports named it.
First seen exploited 2 days after disclosure. Public exploit code (PoC-in-GitHub) appeared 6 days after disclosure.
- Disclosedday 0
- First seen exploitedVulnCheck KEV evidence+2 days
- Public exploit codePoC-in-GitHub+6 days
Affected versions and fixes
as published in the CVE recordFOSSBilling FOSSBilling
Affected: < 0.8.0
What security researchers reported
Not named in any threat report yetAlso mentioned in 8 community threat pulses (AlienVault OTX)
Weaker evidencePulses are indicator collections that anyone can publish. A mention is not confirmation of exploitation.
- Known_Cve | Jul 2, 2026 | Part 1/21 Jul 2026
- Known_Cve | Jul 1, 2026 | Part 1/230 Jun 2026
- Known_Cve | Jun 30, 2026 | Part 1/229 Jun 2026
- Known_Cve | Jun 29, 202628 Jun 2026
- Known_Cve | Jun 28, 2026 | Part 1/227 Jun 2026
- Known_Cve | Jun 27, 202626 Jun 2026
- 2 more on OTX