{"answers":{"affected":"","exploited":"There is no known exploitation of CVE-2026-43921 in the wild and no public exploit code.","fix":"No fix has been published for CVE-2026-43921 yet. Limit exposure of the affected software until one is available.","what":"CVE-2026-43921 is a high-severity code injection vulnerability in FOSSBilling, published on 6 Jul 2026. An attacker needs administrator access to exploit it, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2026-43921 and fix it if it is affected.\n\nWhat it is: CVE-2026-43921 is a high-severity code injection vulnerability in FOSSBilling, published on 6 Jul 2026. An attacker needs administrator access to exploit it, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2026-43921 in the wild and no public exploit code.\n\nAffected product: FOSSBilling. No package-level version data is available, so check the vendor advisory linked from the reference page.\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2026-43921/ (Markdown: https://insights.sbomify.com/CVE-2026-43921/index.md)","id":"CVE-2026-43921","markdown":"https://insights.sbomify.com/CVE-2026-43921/index.md","name":"CVE-2026-43921","record":{"aliases":["GHSA-v4j9-w6pj-38w5"],"analysis":{"component_type":"web_application","fix_type":"upgrade","impacts":["code_execution"],"network_reachable":"yes","non_default_config":false,"product_category":"Billing management system","requires_auth":"high_privilege","summary":"An attacker with admin privileges can inject arbitrary PHP code into configuration files, leading to remote code execution on every subsequent request.","user_interaction":"not_required","vuln_class":"code_injection"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[],"cvss":{"score":8.9,"severity":"high","source":"cna","vector":"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","version":"4.0"},"cwes":[{"id":"CWE-94","name":"Improper Control of Generation of Code"}],"description":"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.","ecosystems":[],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":false,"headline":"FOSSBilling vulnerable to arbitrary PHP code injection via unescaped config serialization","id":"CVE-2026-43921","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"code_injection","year":"2026"},"n_packages":0,"n_references":1,"next":{"headline":"FOSSBilling has an open redirect via administrator-configured redirect targets","id":"CVE-2026-43924"},"packages":[],"prev":{"headline":"FOSSBilling: Unauthenticated update patcher endpoint allows remote maintenance execution","id":"CVE-2026-43920"},"products":["FOSSBilling"],"published":"2026-07-06","related":[],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"no","exploitation":"none","technical_impact":"total"},"state":"PUBLISHED","updated":"2026-07-07","vendors":["FOSSBilling"]},"summary":"An attacker with admin privileges can inject arbitrary PHP code into configuration files, leading to remote code execution on every subsequent request.","url":"https://insights.sbomify.com/CVE-2026-43921/"}