Skip to main content

FOSSBilling CVE-2026-43920

MEDIUM
Missing Authentication for Critical Function (CWE-306)
2026-06-26 security-advisories@github.com
6.9
CVSS 4.0 · Vendor: github
View

Attack ChainAIDerived

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

  1. Access
    Identify internet-exposed FOSSBilling instance on versions 0.5.4-0.7.2
  2. Delivery
    Send unauthenticated HTTP GET to /run-patcher
  3. Exploit
    Application executes all predefined patch routines
  4. Execution
    Patch 53 regenerates tokens for every admin and client account
  5. Persist
    All active sessions invalidated, locking out legitimate users
  6. Impact
    Repeat concurrent requests to corrupt database schema state

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A07:2025 - Authentication Failures
ASVS 5.0
V6 - Authentication Authentication required for critical functions
MITRE ATT&CK

1 technique across 1 tactic: Initial Access

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

Exploitation Conditions

The /run-patcher HTTP endpoint must be reachable over the network - no authentication, CSRF token, session cookie, or special HTTP headers are required. The attack succeeds with a plain HTTP GET request against any FOSSBilling installation on versions 0.5.4 through 0.7.2 where the web server routes /run-patcher to the application. No non-default configuration is required; this is a default-on exposure in all affected versions. Exploitation is limited to triggering predefined patch routines - the attacker cannot supply arbitrary SQL or file operations, which bounds but does not eliminate the integrity impact. The most disruptive condition is re-triggering patch 53 on an already-patched instance (forcing batch token regeneration and session invalidation for all accounts) or sending concurrent requests to induce database inconsistency. Confidentiality is not impacted - the endpoint produces no output the attacker can retrieve.

Impact

The vendor-supplied CVSS 4.0 score of 6.9 (VI:L/VA:L) is likely conservative relative to the described impact. The ability to execute DROP TABLE and DELETE statements and force-regenerate all authentication tokens represents High integrity and availability impact rather than Low; this discrepancy may reflect the vendor's view that patch operations are bounded to predefined routines rather than arbitrary SQL execution. The CVSS 4.0 base metrics AV:N/AC:L/AT:N/PR:N/UI:N are consistent with the description - no authentication, no complexity, no prerequisites - making the attack fully automatable. The vulnerability is not listed in the CISA KEV catalog and no EPSS data was provided, so active exploitation is not confirmed. The absence of a confidentiality impact (VC:N) is consistent with the description: the attacker triggers operations but cannot retrieve their output, limiting the attack to integrity disruption and availability degradation. Real-world priority is moderate-to-high for internet-exposed FOSSBilling instances on affected versions, primarily due to the session-invalidation and database-state-corruption paths that can cause sustained service disruption.

Exploit ScenarioDerived

An attacker sends a single HTTP GET request to https://[target-fossbilling]/run-patcher with no authentication headers; the server executes all pending patch routines including patch 53, which regenerates tokens for every admin and client account and invalidates all active sessions, effectively locking out all current users. The attacker then sends concurrent or repeated requests to cause database state inconsistency, potentially corrupting schema state and producing cascading application errors. No public exploit code has been identified, but the trivial nature of exploitation (one unauthenticated GET request) requires no tooling beyond a web browser or curl.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
No patch listed yet 0.5% exploitation probability (EPSS)

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

Alert me

AnalysisAIv1 – Jun 26, 2026

Unauthenticated remote access to the /run-patcher maintenance endpoint in FOSSBilling versions 0.5.4 through 0.7.2 allows any network-reachable attacker to trigger privileged database schema changes (including ALTER TABLE and DROP TABLE), configuration file migrations, filesystem mutations, and batch token regeneration for all admin and client accounts via a single HTTP GET request. The attack requires no credentials, no CSRF token, and no special headers, making it trivially automatable against any publicly exposed instance. No active exploitation has been confirmed in the CISA KEV catalog, but the attack surface is broad and the operational impact - forced session invalidation, potential database inconsistency from concurrent invocations, and cache destruction - constitutes a meaningful denial-of-service risk against production instances.

RemediationAI

Upgrade to FOSSBilling 0.8.0, released 2026-05-28, which resolves this vulnerability along with several other security issues including hardened session and cookie handling and rate-limit improvements. The release is available at https://github.com/FOSSBilling/FOSSBilling/releases/tag/0.8.0. Before upgrading, back up the database and files - version 0.8.0 includes breaking changes: PHP 8.3 is now required, guest API routes have been refactored, and custom modules or themes may need updates. If immediate upgrade is not possible, block external access to the /run-patcher route at the web server layer (nginx location block with deny all, or Apache Require all denied directive for that path); this prevents exploitation but also prevents the legitimate post-upgrade patch runner from executing via HTTP, requiring a CLI-based alternative or temporary allow-listing of trusted IPs. The GitHub security advisory at https://github.com/FOSSBilling/FOSSBilling/security/advisories/GHSA-prx6-m547-rfmg should be monitored for additional guidance.

Affected ProductsAI

FOSSBilling versions 0.5.4 through 0.7.2 are confirmed affected per GitHub Security Advisory GHSA-prx6-m547-rfmg (https://github.com/FOSSBilling/FOSSBilling/security/advisories/GHSA-prx6-m547-rfmg). The vulnerability is present in all default installations within this version range that expose the web interface over the network. No CPE strings were included in the source data. Version 0.8.0 is the first unaffected release, available at https://github.com/FOSSBilling/FOSSBilling/releases/tag/0.8.0.

Affects your stack

Find out whether the stacks and servers you run are on an affected version.

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

Technical ContextAI · show details

FOSSBilling is an open-source PHP-based billing and client management platform. The root cause is CWE-306 (Missing Authentication for Critical Function): the /run-patcher HTTP endpoint, which executes versioned database migration patches during the upgrade lifecycle, was exposed to unauthenticated HTTP GET requests with no authentication gate, CSRF validation, or restriction to CLI or localhost context. The endpoint sequentially executes predefined patch routines that include DDL operations (ALTER TABLE, DROP TABLE), DML mutations (UPDATE, DELETE), configuration file rewrites, filesystem renames and deletions, and cache invalidation. Patch 53 specifically performs batch token regeneration for every admin and client account and invalidates all active sessions - disruptive even when re-applied to an already-patched instance. The CVSS 4.0 base vector (AV:N/AC:L/AT:N/PR:N/UI:N) confirms zero prerequisites for network exploitation. No specific CPE strings were provided in source data, but the product is a PHP web application installable on standard LAMP/LEMP stacks.

Know when the next one hits your stack

  • 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) PRIMARY 6.9 MEDIUM
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:L/VA:L/SC:N/SI:N/SA:N
vuln.today AI 9.1 CRITICAL

Unauthenticated network endpoint executes DROP TABLE and full session-token regeneration without constraint, warranting I:H and A:H despite predefined patch scope.

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

Primary rating from Vendor (github).

CVSS VectorVendor: github

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

DescriptionCVE.org

FOSSBilling is a free, open-source billing and client management system. In versions 0.5.4 through 0.7.2, the /run-patcher maintenance endpoint in FOSSBilling was accessible without authentication, which allowed unauthenticated remote users to trigger update patch routines that modify configuration files, execute database schema changes, perform filesystem mutations, and clear caches. The /run-patcher endpoint executes privileged maintenance operations - configuration migrations, database patch execution (including ALTER TABLE, DROP TABLE, UPDATE statements), filesystem deletions and renames, and cache clearing - without requiring administrator authentication, CSRF validation, or CLI context. An unauthenticated remote attacker can trigger these operations by sending a simple HTTP GET request to /run-patcher, which can be abused for denial-of-service attacks. Certain patches (e.g., batch token regeneration for all admin and client accounts in patch 53, and session invalidation) are disruptive even when re-executed against an already-patched instance. Repeated or concurrent requests may also cause inconsistent database state. This issue has been fixed in version 0.8.0.

Threat Intelligence Overview

EPSS Score
0.5%
Top 58% exploitable
Prevalence
Low
open-source niche billing platform, limited enterprise adoption
Data Quality
5 sources
Confidence: Medium
NVD CVE.org EPSS Vulnrichment GitHub

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 MEDIUM
CISA KEV No
Public POC No
EPSS 0.5%
Patch available No
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.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· derived
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
Yes
Human Impact· derived
Medium
Technical Impact
Partial

Priority Score

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

Attack Technique

Cross-Site Request Forgery exploits the automatic credential inclusion behavior of web browsers.

Authentication bypass attacks exploit flaws in the verification mechanisms that control access to systems and applications.

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