PoC Monitor
← All CVEs
CVE-2026-28496published 23 Jun 2026 14:20 UTCData: JSON · API

FOSSBilling

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

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.

First public PoC 7 h beforebefore publication · 23 Jun 2026 · nuclei template
Public PoCs32 on GitHub · 1 Exploit-DB, Metasploit or nuclei
CVSS9.4critical · scored by CNA · CWE-1336
CISA KEV Not listednot known exploited

Affected versions and mitigation

From the CVE record and the vendor's references.

Affected

FOSSBilling FOSSBilling
  • < 0.8.0

Fixed in 0.8.0

Mitigation

Upgrade FOSSBilling to 0.8.0 or later.

References

Timeline

Days relative to CVE publication
-2t=0+2+4+6+8First public PoC23 Jun 2026 · t−7hCVE published23 Jun 2026 · t = 0

First public PoC 7 h before publication; not in CISA KEV. First PoC: nuclei template: FOSSBilling - Server-Side Template Injection (nuclei template, 23 Jun 2026).

PoC repositories

Found on GitHub.

2 PoCs

PoCs 2
RepositoryCreatedStarsAssessment
rootdirective-sec/CVE-2026-28496-Lab 29 Jun 2026 +6 d 1 PoC
ivanesk315/CVE-2026-28496 10 Sep 2026 +79 d 0 PoC

Only PoCs count toward the first-PoC date and the characteristics below. Do not run PoC code from unknown sources.

Other public exploits

Exploit-DB, Metasploit and nuclei count as public PoCs. Exploit-tagged references from the CVE record and NVD are links only. None of these are analysed by us.
SourceTitlePublishedFound by us
nuclei templatenuclei template: FOSSBilling - Server-Side Template Injection23 Jun 202614 Nov 2026

PoC characteristics

What to hunt for in your logs · from 2 PoC repos

POST /api/admin/system/string_render

Body markers
"_tpl" in application/json
Ports
8081
Seen in
1 repo: ivanesk315/CVE-2026-28496
Evidence
ivanesk315/CVE-2026-28496/CVE-2026-27604-28496.md:239

POST /api/guest/system/string_render

Body markers
"_tpl" in application/json
Ports
8081
Seen in
1 repo: ivanesk315/CVE-2026-28496
Evidence
ivanesk315/CVE-2026-28496/CVE-2026-27604-28496.md:223 ivanesk315/CVE-2026-28496/README.md:432 ivanesk315/CVE-2026-28496/README.md:561

POST /

Body markers
"_tpl":"{{ 7*7 }}" in application/json
Ports
8081, 8082, 8401, 8402
Seen in
1 repo: rootdirective-sec/CVE-2026-28496-Lab
Evidence
rootdirective-sec/CVE-2026-28496-Lab/scripts/auto-install.sh:33 rootdirective-sec/CVE-2026-28496-Lab/scripts/auto-install.sh:68

Regex

Generated from PoC characteristics; not yet reviewed. Matches the request path and query.

POST /api/system/system/string_render
(?i)^/api/system/system/string_render(?:[?#].*)?$
POST /api/admin/system/string_render
(?i)^/api/admin/system/string_render(?:[?#].*)?$
POST /api/guest/system/string_render
(?i)^/api/guest/system/string_render(?:[?#].*)?$
POST /
(?i)^/(?:[?#].*)?$

Suricata

Template generated from PoC characteristics. Review before deploying.

POST /api/system/system/string_render
alert http any any -> $HOME_NET [8081,8082] (msg:"GG PoC-Monitor CVE-2026-28496 FOSSBilling FOSSBilling exploit attempt"; flow:established,to_server; http.method; content:"POST"; http.uri; content:"/api/system/system/string_render"; http.header; content:"Cookie: XDEBUG_TRIGGER=VSCODE"; nocase; http.request_body; content:"|22|_tpl|22|:|22|test|22|"; http.request_body; content:"|22|_tpl|22|"; http.request_body; content:"|22|_tpl|22|:|22|{{ 7*7 }}|22|"; reference:url,poc.griffinguard.io/cve/CVE-2026-28496; classtype:web-application-attack; sid:9151392; rev:1;)
POST /api/admin/system/string_render
alert http any any -> $HOME_NET [8081] (msg:"GG PoC-Monitor CVE-2026-28496 FOSSBilling FOSSBilling exploit attempt"; flow:established,to_server; http.method; content:"POST"; http.uri; content:"/api/admin/system/string_render"; http.request_body; content:"|22|_tpl|22|"; reference:url,poc.griffinguard.io/cve/CVE-2026-28496; classtype:web-application-attack; sid:9065682; rev:1;)
POST /api/guest/system/string_render
alert http any any -> $HOME_NET [8081] (msg:"GG PoC-Monitor CVE-2026-28496 FOSSBilling FOSSBilling exploit attempt"; flow:established,to_server; http.method; content:"POST"; http.uri; content:"/api/guest/system/string_render"; http.request_body; content:"|22|_tpl|22|"; reference:url,poc.griffinguard.io/cve/CVE-2026-28496; classtype:web-application-attack; sid:9244891; rev:1;)
POST /
alert http any any -> $HOME_NET [8081,8082,8401,8402] (msg:"GG PoC-Monitor CVE-2026-28496 FOSSBilling FOSSBilling exploit attempt"; flow:established,to_server; http.method; content:"POST"; http.request_body; content:"|22|_tpl|22|:|22|{{ 7*7 }}|22|"; reference:url,poc.griffinguard.io/cve/CVE-2026-28496; classtype:web-application-attack; sid:9129067; rev:1;)

Sigma

Template generated from PoC characteristics. Review before deploying.

POST /api/system/system/string_render
title: FOSSBilling FOSSBilling exploit attempt (CVE-2026-28496)
id: gg-pocmon-cve-2026-28496-9151392
status: experimental
description: Request pattern taken from public PoCs for CVE-2026-28496. Generated, not reviewed.
references:
  - https://poc.griffinguard.io/cve/CVE-2026-28496
logsource:
  category: webserver
detection:
  selection:
    cs-method: POST
    cs-uri-stem|contains|all:
      - '/api/system/system/string_render'
  condition: selection
falsepositives:
  - Authorized vulnerability scanning
level: critical
tags:
  - attack.initial_access
  - attack.t1190
  - cve.2026.28496
POST /api/admin/system/string_render
title: FOSSBilling FOSSBilling exploit attempt (CVE-2026-28496)
id: gg-pocmon-cve-2026-28496-9065682
status: experimental
description: Request pattern taken from public PoCs for CVE-2026-28496. Generated, not reviewed.
references:
  - https://poc.griffinguard.io/cve/CVE-2026-28496
logsource:
  category: webserver
detection:
  selection:
    cs-method: POST
    cs-uri-stem|contains|all:
      - '/api/admin/system/string_render'
  condition: selection
falsepositives:
  - Authorized vulnerability scanning
level: critical
tags:
  - attack.initial_access
  - attack.t1190
  - cve.2026.28496
POST /api/guest/system/string_render
title: FOSSBilling FOSSBilling exploit attempt (CVE-2026-28496)
id: gg-pocmon-cve-2026-28496-9244891
status: experimental
description: Request pattern taken from public PoCs for CVE-2026-28496. Generated, not reviewed.
references:
  - https://poc.griffinguard.io/cve/CVE-2026-28496
logsource:
  category: webserver
detection:
  selection:
    cs-method: POST
    cs-uri-stem|contains|all:
      - '/api/guest/system/string_render'
  condition: selection
falsepositives:
  - Authorized vulnerability scanning
level: critical
tags:
  - attack.initial_access
  - attack.t1190
  - cve.2026.28496
POST /
title: FOSSBilling FOSSBilling exploit attempt (CVE-2026-28496)
id: gg-pocmon-cve-2026-28496-9129067
status: experimental
description: Request pattern taken from public PoCs for CVE-2026-28496. Generated, not reviewed.
references:
  - https://poc.griffinguard.io/cve/CVE-2026-28496
logsource:
  category: webserver
detection:
  selection:
    cs-method: POST
  condition: selection
falsepositives:
  - Authorized vulnerability scanning
level: critical
tags:
  - attack.initial_access
  - attack.t1190
  - cve.2026.28496