{"answers":{"affected":"It affects 1 product.","exploited":"There is no known exploitation of CVE-2024-56335 in the wild and no public exploit code.","fix":"No fix has been published for CVE-2024-56335 yet. Limit exposure of the affected software until one is available.","what":"CVE-2024-56335 is a high-severity vulnerability in dani-garcia vaultwarden, published on 20 Dec 2024. Any signed-in user can exploit it over the network, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2024-56335 and fix it if it is affected.\n\nWhat it is: CVE-2024-56335 is a high-severity vulnerability in dani-garcia vaultwarden, published on 20 Dec 2024. Any signed-in user can exploit it over the network, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2024-56335 in the wild and no public exploit code.\n\nAffected product: dani-garcia vaultwarden. 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-2024-56335/ (Markdown: https://insights.sbomify.com/CVE-2024-56335/index.md)","id":"CVE-2024-56335","markdown":"https://insights.sbomify.com/CVE-2024-56335/index.md","name":"CVE-2024-56335","record":{"aliases":["GHSA-g65h-982x-4m5m"],"analysis":{"component_type":"server_software","fix_type":"upgrade","impacts":["privilege_escalation","denial_of_service"],"network_reachable":"yes","non_default_config":true,"product_category":"Vaultwarden server","requires_auth":"low_privilege","summary":"Attackers with admin rights in one organization can escalate privileges or cause denial of service in another organization if group features are enabled.","user_interaction":"not_required","vuln_class":"privilege_escalation"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[{"product":"vaultwarden","vendor":"dani-garcia"}],"cvss":{"score":7.6,"severity":"high","source":"cna","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:H/A:L","version":"3.1"},"cwes":[{"id":"CWE-287","name":"Improper Authentication"},{"id":"CWE-284","name":"Improper Access Control"},{"id":"CWE-285","name":"Improper Authorization"},{"id":"CWE-269","name":"Improper Privilege Management"}],"description":"vaultwarden is an unofficial Bitwarden compatible server written in Rust, formerly known as bitwarden_rs. In affected versions an attacker is capable of updating or deleting groups from an organization given a few conditions: 1. The attacker has a user account in the server. 2. The attacker's account has admin or owner permissions in an unrelated organization. 3. The attacker knows the target organization's UUID and the target group's UUID. Note that this vulnerability is related to group functionality and as such is only applicable for servers who have enabled the `ORG_GROUPS_ENABLED` setting, which is disabled by default. This attack can lead to different situations: 1. Denial of service, the attacker can limit users from accessing the organization's data by removing their membership from the group. 2. Privilege escalation, if the attacker is part of the victim organization, they can escalate their own privileges by joining a group they wouldn't normally have access to. For attackers that aren't part of the organization, this shouldn't lead to any possible plain-text data exfiltration as all the data is encrypted client side. This vulnerability is patched in Vaultwarden `1.32.7`, and users are recommended to update as soon as possible. If it's not possible to update to `1.32.7`,  some possible workarounds are: 1. Disabling `ORG_GROUPS_ENABLED`, which would disable groups functionality on the server. 2. Disabling `SIGNUPS_ALLOWED`, which would not allow an attacker to create new accounts on the server.","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":"Privilege escalation allows organization groups to be updated/deleted if their UUID is known in vaultwarden","id":"CVE-2024-56335","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"privilege_escalation","year":"2024"},"n_packages":0,"n_references":1,"next":{"headline":"Security feature bypass in SINAMICS S200","id":"CVE-2024-56336"},"packages":[],"prev":{"headline":"Command injection vulnerability in getWindowsIEEE8021x (SSID) function in systeminformation","id":"CVE-2024-56334"},"products":["vaultwarden"],"published":"2024-12-20","related":[{"cvss_score":9.8,"headline":"Vaultwarden vulnerable to user impersonation","id":"CVE-2024-55225","kev_date_added":null,"published":"2025-01-09"},{"cvss_score":9.6,"headline":"Vaultwarden HTML injection vulnerability","id":"CVE-2024-55224","kev_date_added":null,"published":"2025-01-09"},{"cvss_score":8.8,"headline":"Privilege escalation in n/a","id":"CVE-2024-39924","kev_date_added":null,"published":"2024-09-13"},{"cvss_score":8.7,"headline":"Vaultwarden: Cross-Org Group Binding Enables Unauthorized Read And Write Access Into Another Organization","id":"CVE-2026-43912","kev_date_added":null,"published":"2026-05-11"},{"cvss_score":8.3,"headline":"Vaultwarden: Privilege Escalation via Bulk Permission Update to Unauthorized Collections by Manager","id":"CVE-2026-27802","kev_date_added":null,"published":"2026-03-04"},{"cvss_score":8.3,"headline":"Vaultwarden: Collection Management Operations Allowed Without `manage` Verification for Manager Role","id":"CVE-2026-27803","kev_date_added":null,"published":"2026-03-04"},{"cvss_score":8.1,"headline":"Vaultwarden: Unconfirmed Owner Can Purge Entire Organization Vault","id":"CVE-2026-43913","kev_date_added":null,"published":"2026-05-11"}],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"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":"none","technical_impact":"partial"},"state":"PUBLISHED","updated":"2024-12-24","vendors":["dani-garcia"]},"summary":"Attackers with admin rights in one organization can escalate privileges or cause denial of service in another organization if group features are enabled.","url":"https://insights.sbomify.com/CVE-2024-56335/"}