{"answers":{"affected":"8 open source packages ship an affected version, including @whiskeysockets/baileys and baileys.","exploited":"There is no known exploitation of CVE-2026-48063 in the wild and no public exploit code.","fix":"Upgrade @whiskeysockets/baileys to a fixed version for your release line: 6.7.22 or 7.0.0-rc12.","what":"CVE-2026-48063 is a critical vulnerability in @whiskeysockets/baileys, published on 3 Aug 2026. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2026-48063 and fix it if it is affected.\n\nWhat it is: CVE-2026-48063 is a critical vulnerability in @whiskeysockets/baileys, published on 3 Aug 2026. An attacker can exploit it over the internet without logging in, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2026-48063 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- @whiskeysockets/baileys (npm): affected all versions; fixed in 6.7.22\n- @whiskeysockets/baileys (npm): affected all versions; fixed in 6.7.22\n- @whiskeysockets/baileys (npm): affected from 7.0.0-rc.1; fixed in 7.0.0-rc12\n- @whiskeysockets/baileys (npm): affected from 7.0.0-rc.1; fixed in 7.0.0-rc12\n- baileys (npm): affected all versions; fixed in 6.7.22\n- baileys (npm): affected all versions; fixed in 6.7.22\n- baileys (npm): affected from 7.0.0-rc.1; fixed in 7.0.0-rc12\n- baileys (npm): affected from 7.0.0-rc.1; fixed in 7.0.0-rc12\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-48063/ (Markdown: https://insights.sbomify.com/CVE-2026-48063/index.md)","id":"CVE-2026-48063","markdown":"https://insights.sbomify.com/CVE-2026-48063/index.md","name":"CVE-2026-48063","record":{"aliases":["GHSA-qvv5-jq5g-4cgg","MINI-rw3v-x2v2-f683"],"analysis":{"component_type":"library","fix_type":"upgrade","impacts":["data_modify","security_bypass"],"network_reachable":"yes","non_default_config":false,"product_category":"WhatsApp Web API library","requires_auth":"none","summary":"Attackers can spoof messages and corrupt app state in Baileys sessions by sending malicious protocol message payloads, requiring an upgrade to patched versions.","user_interaction":"not_required","vuln_class":"business_logic"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[],"cvss":{"score":9.3,"severity":"critical","source":"cna","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N","version":"4.0"},"cwes":[{"id":"CWE-345","name":"Insufficient Verification of Data Authenticity"},{"id":"CWE-346","name":"Origin Validation Error"},{"id":"CWE-290","name":"Authentication Bypass by Spoofing"}],"description":"Baileys is a cocket-based TS/JavaScript API for WhatsApp Web. In versions prior to both 6.7.22 and 7.0.0-rc12, any Baileys session  can be sent a malicious payload via the placeholderResendMessage and trigger a fake messages.upsert event with a fake message key and payload. This allows anyone to spoof messages. The same exploit also allows an attacker to corrupt the app state sync system by sending fake key shares, and also allows for history sync spoofing which also serves the same problem, injecting fake previous context or \"on-demand\" sync. This issue has been fixed in versions 6.7.22 and 7.0.0-rc12.","ecosystems":["npm"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":true,"headline":"Baileys has message upsert / hist sync spoofing and app state corruption when using maliciously crafted protocolMessage payload","id":"CVE-2026-48063","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"npm","product":null,"products":[],"type":"business_logic","year":"2026"},"n_packages":8,"n_references":2,"next":{"headline":"pam_usb: PAM_RHOST check skipped when deny_remote=false allows XDMCP authentication bypass","id":"CVE-2026-48064"},"packages":[{"ecosystem":"npm","fixed":["6.7.22"],"introduced":["0"],"last_affected":[],"package":"@whiskeysockets/baileys","purl":null,"source":"GHSA-qvv5-jq5g-4cgg"},{"ecosystem":"npm","fixed":["6.7.22"],"introduced":["0"],"last_affected":[],"package":"@whiskeysockets/baileys","purl":"pkg:npm/%40whiskeysockets/baileys","source":"GHSA-qvv5-jq5g-4cgg"},{"ecosystem":"npm","fixed":["7.0.0-rc12"],"introduced":["7.0.0-rc.1"],"last_affected":[],"package":"@whiskeysockets/baileys","purl":null,"source":"GHSA-qvv5-jq5g-4cgg"},{"ecosystem":"npm","fixed":["7.0.0-rc12"],"introduced":["7.0.0-rc.1"],"last_affected":[],"package":"@whiskeysockets/baileys","purl":"pkg:npm/%40whiskeysockets/baileys","source":"GHSA-qvv5-jq5g-4cgg"},{"ecosystem":"npm","fixed":["6.7.22"],"introduced":["0"],"last_affected":[],"package":"baileys","purl":null,"source":"GHSA-qvv5-jq5g-4cgg"},{"ecosystem":"npm","fixed":["6.7.22"],"introduced":["0"],"last_affected":[],"package":"baileys","purl":"pkg:npm/baileys","source":"GHSA-qvv5-jq5g-4cgg"},{"ecosystem":"npm","fixed":["7.0.0-rc12"],"introduced":["7.0.0-rc.1"],"last_affected":[],"package":"baileys","purl":null,"source":"GHSA-qvv5-jq5g-4cgg"},{"ecosystem":"npm","fixed":["7.0.0-rc12"],"introduced":["7.0.0-rc.1"],"last_affected":[],"package":"baileys","purl":"pkg:npm/baileys","source":"GHSA-qvv5-jq5g-4cgg"}],"prev":{"headline":"CodeIgniter: Uploaded file extension validation bypass in `ext_in` rule","id":"CVE-2026-48062"},"products":["@whiskeysockets/baileys","Baileys"],"published":"2026-08-03","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":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"yes","exploitation":"none","technical_impact":"partial"},"state":"PUBLISHED","updated":"2026-08-04","vendors":["WhiskeySockets"]},"summary":"Attackers can spoof messages and corrupt app state in Baileys sessions by sending malicious protocol message payloads, requiring an upgrade to patched versions.","url":"https://insights.sbomify.com/CVE-2026-48063/"}