Skip to main content

FOSSBilling EUVDEUVD-2026-41961

| CVE-2026-43921 HIGH
Code Injection (CWE-94)
2026-07-06 GitHub_M
8.9
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/session
  2. Delivery
    Access config-update admin endpoint
  3. Exploit
    Submit config value with single-quote PHP payload
  4. Execution
    Payload written unescaped to config.php
  5. Persist
    config.php include executes code each request
  6. Impact
    Persistent RCE on server

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Code injection prevention, sandbox exec
MITRE ATT&CK

2 techniques across 2 tactics: Execution, Initial Access

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Requires an authenticated FOSSBilling administrator account (CVSS PR:H) with access to the configuration-update functionality that invokes Config::prettyPrintArrayToPHP(); the injected string must be routed through a config value that gets written to config.php, and config.php must be loaded via its normal bare include (default behavior). Limiting factors: exploitation is impossible for anonymous or low-privileged users, so an attacker must first obtain admin rights, and only versions 0.6.10-0.7.2 are vulnerable (0.8.0+ is fixed). No end-user interaction is needed (UI:N), and it works remotely over the network (AV:N), but the admin-privilege barrier is the core constraint on realistic exploitation.

Impact

The CVSS 4.0 vector (AV:N/AC:L/AT:P/PR:H/UI:N, VC/VI/VA:H, SC/SI/SA:H) drives the 8.9 score, but the decisive limiter is PR:H - exploitation requires an authenticated administrator, so this is a privilege-escalation / persistence primitive rather than an unauthenticated internet-facing RCE. AT:P further signals a required precondition (the config-update workflow). No EPSS score, KEV listing, or public POC was provided, so there is no evidence of active or automatable mass exploitation; the realistic threat model is a malicious or compromised admin, or an admin session hijacked via another bug (CSRF/XSS/credential theft) that then chains into durable server compromise. Net: a genuine high-severity issue for multi-admin or shared-hosting deployments, but not a drop-everything internet-worm scenario given the admin prerequisite. Note the input carries only a CVSS 4.0 vector - no 3.1 vector was supplied - so cross-framework comparison relies on this analyst's independent assessment.

Exploit ScenarioDerived

An attacker who has obtained FOSSBilling administrator access - via stolen credentials, an insider, or a hijacked admin session - updates a configuration string value containing a single quote followed by PHP code (e.g., a webshell). prettyPrintArrayToPHP() writes it verbatim into config.php, and because that file is include-d on every request, the payload executes server-side on the very next page load, giving persistent code execution. No public POC was provided, but the technique is straightforward for anyone with admin access.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 0.3% exploitation probability (EPSS)

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

Alert me

AnalysisAIv1 – Jul 06, 2026

Authenticated remote code execution in FOSSBilling 0.6.10 through 0.7.2 lets an admin-privileged user inject arbitrary PHP into config.php via the Config::prettyPrintArrayToPHP() method, which fails to escape single quotes in string configuration values. Because config.php is pulled in through a bare include on every HTTP request, injected code runs persistently on all subsequent requests. No public exploit identified at time of analysis, and the flaw is not listed in CISA KEV; the CVSS 4.0 base score is 8.9, elevated by the persistent, server-wide impact once an admin account is abused.

RemediationAI

Vendor-released patch: upgrade to FOSSBilling 0.8.0, which corrects the escaping in Config::prettyPrintArrayToPHP(); this is the primary and complete fix. Where immediate upgrade is not possible, the vendor-suggested compensating controls are: restrict administrative access strictly to trusted personnel (reduces the pool of accounts that can trigger the injection, but does not stop an already-compromised admin session); audit config.php for unexpected or non-standard PHP code as a detection measure (finds prior exploitation but does not prevent it); and at the reverse proxy or WAF layer, block or tightly restrict access to the admin API endpoints that modify configuration (effective if those endpoints are not needed from untrusted networks, but may break legitimate configuration changes if scoped too broadly). Refer to advisory GHSA-v4j9-w6pj-38w5 for authoritative guidance.

Affected VersionsENISA

FOSSBilling 0.6.10, < 0.8.0

Affected Packages

euvd fossbilling_0_6_10 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

The affected component is FOSSBilling, a PHP-based open-source billing and client-management platform (cpe:2.3:a:fossbilling:fossbilling). The root cause is CWE-94 (Improper Control of Generation of Code / Code Injection): when configuration is saved, prettyPrintArrayToPHP() serializes PHP array values back into a source file (config.php) by wrapping strings in single quotes but never escaping embedded single quotes or PHP syntax. Since config.php is executed by the interpreter via a plain include on each request rather than being parsed as inert data (e.g., JSON), any value that breaks out of the single-quoted string literal is treated as live PHP code, turning a data-write into arbitrary code execution.

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 8.9 HIGH
CVSS:4.0/AV:N/AC:L/AT:P/PR:H/UI:N/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H
vuln.today AI 7.2 HIGH

Network-reachable admin action with no user interaction (AV:N/AC:L/UI:N) but requires administrator privileges (PR:H); yields full RCE within the app process, so C/I/A:H and scope unchanged (S:U).

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

Primary rating from Vendor (GitHub_M).

CVSS VectorVendor: GitHub_M

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
Present
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
Jul 06, 2026 - 23:01 EUVD

DescriptionCVE.org

FOSSBilling is a free, open-source billing and client management system. Versions 0.6.10 through 0.7.2 have a PHP code injection vulnerability in FOSSBilling's Config::prettyPrintArrayToPHP() method. When configuration values are updated, string values are written into config.php without escaping single quotes. Because config.php is loaded via a bare include on every HTTP request, an attacker with admin privileges can inject arbitrary PHP code that executes on every subsequent request. Version 0.8.0 contains a patch. Some workarounds are available. Restrict admin access to trusted personnel only; audit config.php for unexpected PHP code; and/ or at the reverse proxy/WAF level, restrict access to admin API endpoints that modify configuration.

Executive ViewAI

Why It Matters

FOSSBilling versions 0.6.10 through 0.7.2 contain a code injection vulnerability allowing administrator-privileged users to inject arbitrary PHP code into system configuration, resulting in persistent malicious code execution on every HTTP request. Compromise of any administrator account provides attackers complete and permanent control over the billing infrastructure, customer data, and payment processing. Organizations running these versions must immediately audit administrator access and restrict account privileges.

Business Impact: High
Compensating Controls

No vendor-released patch identified at time of analysis. Interim mitigations: (1) Reduce administrator account count to absolute minimum; (2) enforce multi-factor authentication on all administrative accounts; (3) implement file integrity monitoring on config.php with alerts on any modifications; (4) enable comprehensive application logging to detect suspicious configuration access patterns; (5) restrict FOSSBilling network access to internal networks only; (6) maintain isolated daily configuration backups enabling rapid rollback.

Threat Intelligence Overview

EPSS Score
0.3%
Top 81% exploitable
Prevalence
Low
niche self-hosted open-source billing app, limited enterprise footprint
Social Media
1
Sightings
Data Quality
7 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment CIRCL GitHub VulDB

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 HIGH
CISA KEV No
Public POC No
EPSS 0.3%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
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
High
Technical Impact
Total

Priority Score

44
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +44
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Code Injection CRITICAL

Code injection occurs when an application accepts user input and passes it directly into a language interpreter or evaluator without proper sanitization.

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-2026-28496 CRITICAL POC
9.4 Jun 23

Server-side template injection in FOSSBilling versions prior to 0.8.0 allows authenticated administrators to execute arb

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

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