{"answers":{"affected":"It affects 1 product.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-4957 exists.","fix":"No fix has been published for CVE-2026-4957 yet. Limit exposure of the affected software until one is available.","what":"CVE-2026-4957 is a medium-severity vulnerability in OpenBMB XAgent, published on 27 Mar 2026. An attacker needs administrator access to exploit it, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2026-4957 and fix it if it is affected.\n\nWhat it is: CVE-2026-4957 is a medium-severity vulnerability in OpenBMB XAgent, published on 27 Mar 2026. An attacker needs administrator access to exploit it, with no action from the victim.\nExploitation: It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-4957 exists.\n\nAffected product: OpenBMB XAgent. 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-4957/ (Markdown: https://insights.sbomify.com/CVE-2026-4957/index.md)","id":"CVE-2026-4957","markdown":"https://insights.sbomify.com/CVE-2026-4957/index.md","name":"CVE-2026-4957","record":{"aliases":["GHSA-hp6g-348q-ppq3"],"analysis":{"component_type":"web_application","fix_type":"no_fix_stated","impacts":["data_read"],"network_reachable":"yes","non_default_config":false,"product_category":"AI agent framework","requires_auth":"high_privilege","summary":"Remote attackers can expose sensitive API keys in log files via the handle_tool_call function in OpenBMB XAgent.","user_interaction":"not_required","vuln_class":"information_disclosure"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"VulDB","cpe":[{"product":"xagent","vendor":"openbmb"}],"cvss":{"score":5.1,"severity":"medium","source":"cna","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N/E:P","version":"4.0"},"cwes":[{"id":"CWE-532","name":"Insertion of Sensitive Information into Log File"},{"id":"CWE-200","name":"Exposure of Sensitive Information to an Unauthorized Actor"}],"description":"A flaw has been found in OpenBMB XAgent 1.0.0. The impacted element is the function FunctionHandler.handle_tool_call of the file XAgent/function_handler.py of the component API Key Handler. This manipulation of the argument api_key causes sensitive information in log files. The attack may be initiated remotely. The exploit has been published and may be used. The vendor was contacted early about this disclosure but did not respond in any way.","ecosystems":[],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"weaponised"},"has_fix":null,"headline":"OpenBMB XAgent API Key function_handler.py FunctionHandler.handle_tool_call log file","id":"CVE-2026-4957","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"information_disclosure","year":"2026"},"n_packages":0,"n_references":4,"next":{"headline":"OpenBMB XAgent WebSocket Endpoint replayer.py ReplayServer.send_data authorization","id":"CVE-2026-4958"},"packages":[],"prev":{"headline":"Shenzhen Ruiming Technology Streamax Crocus Parameter DevicePrint.do sql injection","id":"CVE-2026-4956"},"products":["XAgent"],"published":"2026-03-27","related":[{"cvss_score":6.9,"headline":"OpenBMB XAgent ShareServer WebSocket Endpoint share.py check_user missing authentication","id":"CVE-2026-4959","kev_date_added":null,"published":"2026-03-27"},{"cvss_score":5.3,"headline":"OpenBMB XAgent Privileged Mode sandbox","id":"CVE-2024-2007","kev_date_added":null,"published":"2024-02-29"},{"cvss_score":5.1,"headline":"OpenBMB XAgent community path traversal","id":"CVE-2025-6281","kev_date_added":null,"published":"2025-06-19"},{"cvss_score":2.3,"headline":"OpenBMB XAgent WebSocket Endpoint replayer.py ReplayServer.send_data authorization","id":"CVE-2026-4958","kev_date_added":null,"published":"2026-03-27"}],"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":"poc","technical_impact":"partial"},"state":"PUBLISHED","updated":"2026-03-27","vendors":["OpenBMB"]},"summary":"Remote attackers can expose sensitive API keys in log files via the handle_tool_call function in OpenBMB XAgent.","url":"https://insights.sbomify.com/CVE-2026-4957/"}