Skip to main content

FOSSBilling EUVDEUVD-2026-38455

| CVE-2026-28496 CRITICAL
Improper Neutralization of Special Elements Used in a Template Engine (CWE-1336)
2026-06-23 GitHub_M
9.4
CVSS 4.0 · Vendor: GitHub_M
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Obtain admin credentials or chain GHSA-78x5-c8gw-8279
  2. Delivery
    Reach Twig-rendering surface (email template or string_render)
  3. Exploit
    Inject Twig expression accessing DI container
  4. Execution
    Trigger render via test email or API call
  5. Persist
    Execute arbitrary code as web user
  6. Impact
    Exfiltrate billing data and pivot

Vulnerability Assessment

Weakness
CWE
ASVS 5.0
V1 - Encoding and Sanitization Template injection prevention
Exploitation Conditions

Requires authenticated access to a FOSSBilling administrator account (or another principal able to reach the string_render API endpoint and template-rendering features such as email templates, mass-mail campaigns, or custom payment adapters). Limiting factors: the target must be running FOSSBilling below 0.8.0 with the default unsandboxed Twig configuration, and the attacker must reach an administrative template-edit surface - either by holding legitimate admin credentials, or by chaining the separate auth-bypass advisory GHSA-78x5-c8gw-8279 to reach /api/system/* without authentication. UI:N applies because once the payload is stored, rendering is triggered server-side without victim interaction.

Impact

The CVSS 4.0 base score of 9.4 (AV:N/AC:L/AT:N/PR:H/UI:N, VC/VI/VA:H, SC/SI/SA:H) accurately reflects that an admin-level attacker achieves both vulnerable-system and subsequent-system compromise, but the PR:H requirement is the dominant limiting factor - this is not a drive-by issue. Exploitation status is no public exploit identified at time of analysis, and the CVE is not in CISA KEV; EPSS data was not provided. The real-world risk rises sharply when chained with the companion advisory GHSA-78x5-c8gw-8279 (referenced by VulnCheck) which reportedly enables auth bypass against /api/system/*, effectively reducing PR:H to PR:N for unpatched deployments - defenders should treat the pair as a single critical exposure rather than weighing this CVE in isolation.

Exploit ScenarioDerived

An attacker who has obtained admin credentials (via phishing, password reuse, or by chaining the related auth-bypass advisory GHSA-78x5-c8gw-8279 against /api/system/*) edits an email template or posts to the string_render API endpoint with a Twig payload that walks from the rendering context into the dependency injection container, retrieves a service capable of executing shell commands or reading arbitrary files, and triggers rendering by sending a test email or invoking the endpoint. The payload runs in the web server's user context, yielding RCE and full database access. No public PoC is referenced in the input data, though VulnCheck's writeup describes the chain conceptually.

Act Now Prioritize within 24-48h. Why: CRITICAL severity + public POC available.
Patch available 1.9% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Jun 23, 2026

Server-side template injection in FOSSBilling versions prior to 0.8.0 allows authenticated administrators to execute arbitrary code and disclose sensitive information by injecting Twig expressions into template-rendering features. The unsandboxed Twig environment exposes the application's dependency injection container, turning any admin-accessible template surface into a full RCE primitive. No public exploit identified at time of analysis, but a related auth-bypass chain (GHSA-78x5-c8gw-8279) is documented by VulnCheck and could lower the practical privilege bar.

RemediationAI

Vendor-released patch: upgrade FOSSBilling to 0.8.0 or later per advisory GHSA-57mv-jm88-66jc (https://github.com/FOSSBilling/FOSSBilling/security/advisories/GHSA-57mv-jm88-66jc). If immediate upgrade is not possible, audit all stored email templates, mass-mail campaign bodies, and custom payment adapter templates for unexpected Twig expressions such as {{ ... }} blocks referencing _self, app, or container services, then rotate every admin and client API token to invalidate credentials potentially harvested by prior abuse. To prevent chaining with the auth-bypass issue tracked as GHSA-78x5-c8gw-8279, block external access to /api/system/* at the reverse proxy or WAF - note the trade-off that this will also break any legitimate integrations that rely on the system API surface, so allowlist trusted internal IPs rather than dropping the rule entirely if such integrations exist.

Affected VersionsENISA

FOSSBilling < 0.8.0

Affected Packages

euvd fossbilling fix: 0.8.0

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

FOSSBilling is a PHP-based open-source billing and client management platform that uses the Twig templating engine to render email templates, mass-mail campaigns, custom payment adapters, and content passed to the string_render API endpoint. CWE-1336 (Improper Neutralization of Special Elements Used in a Template Engine) applies here because Twig is invoked without the sandbox extension, so rendered templates have unrestricted access to the full Twig environment, the API context, and the Symfony-style dependency injection container - including service objects that wrap filesystem, database, and shell-adjacent functionality. The affected CPE is cpe:2.3:a:fossbilling:fossbilling:*:*:*:*:*:*:*:* covering all versions before 0.8.0.

Know when Fossbilling gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (GitHub_M) PRIMARY 9.4 CRITICAL
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
vuln.today AI 9.1 CRITICAL

Network-reachable admin endpoints (AV:N/AC:L), administrator role required (PR:H), no user interaction, and template engine breakout impacts other components (S:C) with full CIA loss.

3.1 AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H
4.0 AV:N/AC:L/AT:N/PR:H/UI:N/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H

Primary rating from Vendor (GitHub_M).

CVSS VectorVendor: GitHub_M

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
High
User Interaction
None
Vulnerable system: Confidentiality
High
Vulnerable system: Integrity
High
Vulnerable system: Availability
High
Subsequent system: Confidentiality
High
Subsequent system: Integrity
High
Subsequent system: Availability
High

Lifecycle Timeline

1
Patch available
Jun 23, 2026 - 16:01 EUVD

DescriptionCVE.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.

Executive ViewAI

Why It Matters

A critical vulnerability in FOSSBilling versions prior to 0.8.0 enables authenticated administrators to execute arbitrary code within the billing system infrastructure; no public exploit identified at time of analysis. The unsandboxed Twig template engine exposes the full application context to any admin user, transforming template access into a complete system compromise vector. A documented authentication bypass chain (GHSA-78x5-c8gw-8279) potentially enables non-admin attackers to reach this vulnerability, elevating organizational risk despite the absence of an available patch.

Business Impact: Severe
Compensating Controls

No vendor-released patch identified at time of analysis. Interim mitigations: (1) Restrict FOSSBilling administrator privileges to minimum necessary personnel and enforce multi-factor authentication; (2) Implement network segmentation isolating the billing system from corporate infrastructure; (3) Deploy comprehensive logging and real-time alerting on administrator activities, particularly template modifications; (4) Operationally disable template-editing features if business requirements permit; (5) Establish rapid-response process for immediate deployment of FOSSBilling 0.8.0 upon vendor release; (6) Monitor GHSA-78x5-c8gw-8279 for indicators of the related authentication bypass being actively exploited.

Threat Intelligence Overview

EPSS Score
1.9%
Top 23% exploitable
Prevalence
Low
niche open-source billing platform with modest deployment footprint
Exploit
POC
Public exploit code exists
Social Media
1
Sightings
Data Quality
5 sources
Confidence: Medium

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity CRITICAL
CISA KEV No
Public POC Yes
EPSS 1.9%
Patch available Yes
Active threat No
Deciding rule
CRITICAL severity + public POC available
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
No
Human Impact
Very High
Technical Impact
Total

Priority Score

69
Low Medium High Critical
KEV: 0
EPSS: +2
CVSS: +47
PoC: +20
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.

Remote Code Execution represents the critical moment when an attacker successfully runs arbitrary code on a target system without physical access.

CVE-2026-27604 CRITICAL POC
10.0 Jun 23

Authorization bypass in FOSSBilling versions 0.5.4 through 0.7.x allows unauthenticated remote attackers to invoke privi

CVE-2023-3490 CRITICAL POC
9.8 Jun 30

SQL Injection in GitHub repository fossbilling/fossbilling prior to 0.5.3. Rated critical severity (CVSS 9.8), this vuln

CVE-2023-3491 HIGH POC
8.8 Jun 30

Unrestricted Upload of File with Dangerous Type in GitHub repository fossbilling/fossbilling prior to 0.5.3. Rated high

CVE-2023-3230 HIGH POC
7.5 Jun 14

Missing Authorization in GitHub repository fossbilling/fossbilling prior to 0.5.0. Rated high severity (CVSS 7.5), this

CVE-2023-3393 HIGH POC
7.2 Jun 23

Code Injection in GitHub repository fossbilling/fossbilling prior to 0.5.1. Rated high severity (CVSS 7.2), this vulnera

CVE-2023-3229 MEDIUM POC
6.5 Jun 14

Business Logic Errors in GitHub repository fossbilling/fossbilling prior to 0.5.0. Rated medium severity (CVSS 6.5), thi

CVE-2023-3521 MEDIUM POC
6.1 Jul 06

Cross-site Scripting (XSS) - Reflected in GitHub repository fossbilling/fossbilling prior to 0.5.4. Rated medium severit

CVE-2023-4005 CRITICAL
9.8 Jul 31

Insufficient Session Expiration in GitHub repository fossbilling/fossbilling prior to 0.5.5. Rated critical severity (CV

CVE-2023-3228 MEDIUM POC
5.7 Jun 14

Business Logic Errors in GitHub repository fossbilling/fossbilling prior to 0.5.0. Rated medium severity (CVSS 5.7), thi

CVE-2023-3227 MEDIUM POC
5.7 Jun 14

Insufficient Granularity of Access Control in GitHub repository fossbilling/fossbilling prior to 0.5.0. Rated medium sev

CVE-2023-3394 MEDIUM POC
5.4 Jun 23

Session Fixation in GitHub repository fossbilling/fossbilling prior to 0.5.1. Rated medium severity (CVSS 5.4), this vul

CVE-2026-42341 CRITICAL
9.2 Jul 06

Unauthenticated payment bypass in FOSSBilling 0.6.0 through 0.7.2 lets a remote attacker mark any unpaid invoice as paid

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy