{"answers":{"affected":"2 open source packages ship an affected version, including cachethq/cachet. It affects 1 product.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2023-43661 exists.","fix":"Upgrade cachethq/cachet to 2.4 or later.","what":"CVE-2023-43661 is a critical code injection vulnerability in cachethq cachet, published on 11 Oct 2023. Any signed-in user can exploit it over the network, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2023-43661 and fix it if it is affected.\n\nWhat it is: CVE-2023-43661 is a critical code injection vulnerability in cachethq cachet, published on 11 Oct 2023. Any signed-in user can exploit it over the network, with no action from the victim.\nExploitation: It is not confirmed as exploited in the wild, but public exploit code for CVE-2023-43661 exists.\n\nAffected packages and fixed versions:\n- cachethq/cachet (Packagist): affected all versions; fixed in 2.4\n- cachethq/cachet (Packagist): affected all versions; fixed in 2.4\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-2023-43661/ (Markdown: https://insights.sbomify.com/CVE-2023-43661/index.md)","id":"CVE-2023-43661","markdown":"https://insights.sbomify.com/CVE-2023-43661/index.md","name":"CVE-2023-43661","record":{"aliases":["GHSA-hv79-p62r-wg3p"],"analysis":{"component_type":"web_application","fix_type":"patch","impacts":["code_execution"],"network_reachable":"yes","non_default_config":false,"product_category":"Cachet status page","requires_auth":"low_privilege","summary":"Authenticated attackers can execute arbitrary code on the server via Cachet's template functionality due to improper filtration and outdated Twig version.","user_interaction":"not_required","vuln_class":"code_injection"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[{"product":"cachet","vendor":"all-three"}],"cvss":{"score":9.1,"severity":"critical","source":"cna","vector":"CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:L/A:L","version":"3.0"},"cwes":[{"id":"CWE-74","name":"Improper Neutralization of Special Elements in Output Used by a Downstream Component"},{"id":"CWE-94","name":"Improper Control of Generation of Code"}],"description":"Cachet is an open-source status page system. Prior to the 2.4 branch, a template functionality which allows users to create templates allows them to execute any code on the server during the bad filtration and old twig version. Commit 6fb043e109d2a262ce3974e863c54e9e5f5e0587 of the 2.4 branch contains a patch for this issue.","ecosystems":["Packagist"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"weaponised"},"has_fix":true,"headline":"Cachet vulnerable to Authenticated Remote Code Execution","id":"CVE-2023-43661","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Packagist","product":null,"products":[],"type":"code_injection","year":"2023"},"n_packages":2,"n_references":2,"next":{"headline":"Arbitrary file read vulnerability in Shoko Server","id":"CVE-2023-43662"},"packages":[{"ecosystem":"Packagist","fixed":["2.4"],"introduced":["0"],"last_affected":[],"package":"cachethq/cachet","purl":null,"source":"GHSA-hv79-p62r-wg3p"},{"ecosystem":"Packagist","fixed":["2.4"],"introduced":["0"],"last_affected":[],"package":"cachethq/cachet","purl":"pkg:composer/cachethq/cachet","source":"GHSA-hv79-p62r-wg3p"}],"prev":{"headline":"SSH key password bypassed in warpgate","id":"CVE-2023-43660"},"products":["cachet"],"published":"2023-10-11","related":[],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"no","exploitation":"poc","technical_impact":"partial"},"state":"PUBLISHED","updated":"2026-10-20","vendors":["cachethq"]},"summary":"Authenticated attackers can execute arbitrary code on the server via Cachet's template functionality due to improper filtration and outdated Twig version.","url":"https://insights.sbomify.com/CVE-2023-43661/"}