Medium severity · published Jun 3, 2026
CVE-2026-40495
FOSSBilling version exposed via asset cache buster
6.9
CVSS
0.3%
EPSS
No
On KEV
Description
FOSSBilling is a free, open-source billing and client management system. Versions prior to 0.8.0 leak the exact system version through asset cache buster parameters in HTML output, bypassing the `hide_version_public` security setting. The FOSSBilling version is embedded in the query string of every `<script>` and `<link>` tag generated by the `script_tag` and `stylesheet_tag` Twig filters. This information is visible to all visitors — including unauthenticated guests — on every page, regardless of whether the `hide_version_public` setting is enabled. The `X-FOSSBilling-Version` HTTP header and the `guest.system.version` API endpoint correctly honour the `hide_version_public` setting, but the asset cache buster parameters were overlooked. Knowledge of the exact FOSSBilling version makes it significantly easier for malicious actors to identify known vulnerabilities applicable to a given installation and craft targeted exploits. While not a direct vulnerability on its own, it undermines the intended protection offered by the `hide_version_public` setting and facilitates reconnaissance. Version 0.8.0 contains a patch. There is no practical workaround that removes the version from asset URLs without modifying source code.
Exploitation
Is it being used?
Exploit prediction (EPSS)0.3% · higher than 20% of CVEs
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
FO
FOSSBilling · FOSSBilling
< 0.8.0 · source: vendor
References
NVD
https://nvd.nist.gov/vuln/detail/CVE-2026-40495
CVE.org
https://www.cve.org/CVERecord?id=CVE-2026-40495
github.com
https://github.com/FOSSBilling/FOSSBilling/releases/tag/0.8.0
github.com
https://github.com/FOSSBilling/FOSSBilling/security/advisories/GHSA-gqcp-g7rm-p5v6
More from FOSSBilling
10.0
CVE-2026-27604
FOSSBilling: Improper API Role Validation (system) Enables Unauthenticated Access to Privileged Admin Functions
9.8
CVE-2023-4005
Insufficient Session Expiration in fossbilling/fossbilling
9.8
CVE-2023-3490
SQL Injection in fossbilling/fossbilling
9.4
CVE-2026-28496
FOSSBilling: Server-side template injection in Twig template rendering enables information disclosure and RCE
9.3
CVE-2026-33543
FOSSBilling: Authentication bypass allows unauthenticated administrator creation
