{"id":"CVE-2026-28496","published":"2026-06-23T14:20:50Z","modified":"2026-06-23T15:04:42Z","title":"FOSSBilling: Server-side template injection in Twig template rendering enables information disclosure and RCE","vendor":"FOSSBilling","product":"FOSSBilling","tier":"core","eol":null,"affectedVersions":[{"vendor":"FOSSBilling","product":"FOSSBilling","versions":["< 0.8.0"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"total","timestamp":"2026-06-23T15:02:54.282718Z","from":"CISA ADP","provenance":"source"},"description":{"text":"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.","provenance":"source","from":"CVE.org"},"summary":{"text":"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.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-10-31T04:54:04Z"},"cvss":{"score":9.4,"severity":"CRITICAL","version":"4.0","vector":"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","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.01905,"percentile":0.80264,"date":"2026-11-23","provenance":"source"},"kev":null,"vulncheckKev":{"dateAdded":"2026-06-25","exploitedFirstSeen":"2026-06-25","ransomware":false,"evidence":[{"url":"https://x.com/DefusedCyber/status/2070104034061537531","date":"2026-06-25"},{"url":"https://dashboard.shadowserver.org/statistics/honeypot/vulnerability/map/?day=2026-08-03&host_type=src&vulnerability=cve-2026-28496","date":"2026-08-03"},{"url":"https://previdian.com/CVE-2026-28496","date":"2026-08-04"},{"url":"https://dashboard.shadowserver.org/statistics/honeypot/vulnerability/map/?day=2026-08-05&host_type=src&vulnerability=cve-2026-28496","date":"2026-08-05"},{"url":"https://dashboard.shadowserver.org/statistics/honeypot/vulnerability/map/?day=2026-08-06&host_type=src&vulnerability=cve-2026-28496","date":"2026-08-06"},{"url":"https://dashboard.shadowserver.org/statistics/honeypot/vulnerability/map/?day=2026-08-11&host_type=src&vulnerability=cve-2026-28496","date":"2026-08-11"},{"url":"https://dashboard.shadowserver.org/statistics/honeypot/vulnerability/map/?day=2026-08-14&host_type=src&vulnerability=cve-2026-28496","date":"2026-08-14"},{"url":"https://dashboard.shadowserver.org/statistics/honeypot/vulnerability/map/?day=2026-08-17&host_type=src&vulnerability=cve-2026-28496","date":"2026-08-17"},{"url":"https://dashboard.shadowserver.org/statistics/honeypot/vulnerability/map/?day=2026-08-22&host_type=src&vulnerability=cve-2026-28496","date":"2026-08-22"},{"url":"https://dashboard.shadowserver.org/statistics/honeypot/vulnerability/map/?day=2026-08-28&host_type=src&vulnerability=cve-2026-28496","date":"2026-08-28"}],"evidenceTotal":63,"provenance":"source"},"exploited":true,"otx":{"pulseCount":8,"pulses":[{"name":"Known_Cve | Jul 2, 2026 | Part 1/2","url":"https://otx.alienvault.com/pulse/6a4521db141f0288bb17ee33","created":"2026-07-01"},{"name":"Known_Cve | Jul 1, 2026 | Part 1/2","url":"https://otx.alienvault.com/pulse/6a43d1031ebc95f74029d4f0","created":"2026-06-30"},{"name":"Known_Cve | Jun 30, 2026 | Part 1/2","url":"https://otx.alienvault.com/pulse/6a427edbd4dca6604a2cc3e8","created":"2026-06-29"},{"name":"Known_Cve | Jun 29, 2026","url":"https://otx.alienvault.com/pulse/6a412c4864f54db469879a52","created":"2026-06-28"},{"name":"Known_Cve | Jun 28, 2026 | Part 1/2","url":"https://otx.alienvault.com/pulse/6a3fdb781c71f37c26792282","created":"2026-06-27"},{"name":"Known_Cve | Jun 27, 2026","url":"https://otx.alienvault.com/pulse/6a3e89c3497e2f5f6104c391","created":"2026-06-26"},{"name":"Known_Cve | Jun 26, 2026 | Part 1/2","url":"https://otx.alienvault.com/pulse/6a3d38be661c70c494d8a39b","created":"2026-06-25"},{"name":"Known_Cve | Jun 25, 2026 | Part 1/2","url":"https://otx.alienvault.com/pulse/6a3be6dbb1f7cc62068aef9a","created":"2026-06-24"}],"provenance":"machine"},"cwes":[{"id":"CWE-1336","name":"Improper Neutralization of Special Elements Used in a Template Engine"}],"references":[{"url":"https://github.com/FOSSBilling/FOSSBilling/security/advisories/GHSA-57mv-jm88-66jc","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/FOSSBilling/FOSSBilling/security/advisories/GHSA-78x5-c8gw-8279","tags":["x_refsource_MISC"]},{"url":"https://www.vulncheck.com/blog/fossbilling-auth-bypass-ssti-rce","tags":["x_refsource_MISC"]}],"techniques":[],"reports":[],"affected":[],"advisories":[],"euvd":{"id":"EUVD-2026-38455","url":"https://euvd.enisa.europa.eu/vulnerability/EUVD-2026-38455","exploited":false,"exploitedSince":null,"provenance":"source"},"exploits":[],"exploitSources":{"pocGithub":{"count":1,"skipped":1,"earliest":"2026-06-29","earliestUrl":"https://github.com/rootdirective-sec/CVE-2026-28496-Lab","repos":[{"name":"rootdirective-sec/CVE-2026-28496-Lab","url":"https://github.com/rootdirective-sec/CVE-2026-28496-Lab","stars":1,"created":"2026-06-29"}]},"nuclei":[{"id":"CVE-2026-28496","name":"FOSSBilling - Server-Side Template Injection","severity":"critical","path":"http/cves/2026/CVE-2026-28496.yaml","url":"https://github.com/projectdiscovery/nuclei-templates/blob/main/http/cves/2026/CVE-2026-28496.yaml"}],"first":{"date":"2026-06-29","source":"PoC-in-GitHub","url":"https://github.com/rootdirective-sec/CVE-2026-28496-Lab"},"provenance":"source"},"exploitRefs":[],"flow":[],"timeline":[{"date":"2026-06-23","kind":"published","label":"Published (CVE.org)","url":"https://www.cve.org/CVERecord?id=CVE-2026-28496","provenance":"source"},{"date":"2026-06-25","kind":"exploited-reported","label":"Exploitation first reported (VulnCheck KEV evidence)","url":"https://x.com/DefusedCyber/status/2070104034061537531","provenance":"source"},{"date":"2026-06-29","kind":"exploit-public","label":"First public exploit: PoC-in-GitHub","url":"https://github.com/rootdirective-sec/CVE-2026-28496-Lab","provenance":"source"}],"speed":{"daysToPublicExploit":6,"firstExploitFrom":"PoC-in-GitHub","daysToKev":null},"priority":{"score":69.8,"factors":[{"name":"In a KEV catalog","points":35.0,"detail":"listed in VulnCheck KEV"},{"name":"Recent KEV listing","points":5.0,"detail":"added 151 days ago"},{"name":"Known ransomware use","points":0.0,"detail":"not known"},{"name":"EPSS percentile","points":16.05,"detail":"percentile 0.8026"},{"name":"Named in threat reports","points":0.0,"detail":"0 reports"},{"name":"Public exploit code","points":5.0,"detail":"1 PoC-in-GitHub repo; 1 nuclei template"},{"name":"Mentioned in OTX pulses","points":2.17,"detail":"8 pulses"},{"name":"CVSS severity","points":6.58,"detail":"base score 9.4"},{"name":"End-of-life product","points":0.0,"detail":"supported or unknown"}]}}