{"answers":{"affected":"It affects 1 product.","exploited":"There is no known exploitation of CVE-2026-22038 in the wild and no public exploit code.","fix":"No fix has been published for CVE-2026-22038 yet. Limit exposure of the affected software until one is available.","what":"CVE-2026-22038 is a high-severity vulnerability in Significant-Gravitas AutoGPT, published on 4 Feb 2026. Any signed-in user can exploit it over the network, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2026-22038 and fix it if it is affected.\n\nWhat it is: CVE-2026-22038 is a high-severity vulnerability in Significant-Gravitas AutoGPT, published on 4 Feb 2026. Any signed-in user can exploit it over the network, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2026-22038 in the wild and no public exploit code.\n\nAffected product: Significant-Gravitas AutoGPT. 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-22038/ (Markdown: https://insights.sbomify.com/CVE-2026-22038/index.md)","id":"CVE-2026-22038","markdown":"https://insights.sbomify.com/CVE-2026-22038/index.md","name":"CVE-2026-22038","record":{"aliases":["GHSA-rc89-6g7g-v5v7"],"analysis":{"component_type":"web_application","fix_type":"upgrade","impacts":["data_read"],"network_reachable":"yes","non_default_config":false,"product_category":"AI agent platform","requires_auth":"low_privilege","summary":"Attackers with log access can steal API keys and secrets from AutoGPT Stagehand integration blocks due to plaintext logging.","user_interaction":"not_required","vuln_class":"information_disclosure"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[{"product":"autogpt_platform","vendor":"agpt"}],"cvss":{"score":8.1,"severity":"high","source":"cna","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H","version":"3.1"},"cwes":[{"id":"CWE-532","name":"Insertion of Sensitive Information into Log File"}],"description":"AutoGPT is a platform that allows users to create, deploy, and manage continuous artificial intelligence agents that automate complex workflows. Prior to autogpt-platform-beta-v0.6.46, the AutoGPT platform's Stagehand integration blocks log API keys and authentication secrets in plaintext using logger.info() statements. This occurs in three separate block implementations (StagehandObserveBlock, StagehandActBlock, and StagehandExtractBlock) where the code explicitly calls api_key.get_secret_value() and logs the result. This issue has been patched in autogpt-platform-beta-v0.6.46.","ecosystems":[],"exploits":{"exploitdb":0,"first_seen":"2026-04-25","github_poc":1,"max_poc_stars":0,"metasploit":0,"nuclei":0,"refs":[{"date":"2026-04-25T05:14:24Z","kind":"github_poc","ref":"https://github.com/sivaadityacoder/CVE-2026-22038","stars":0,"title":null}],"tier":"poc_unverified"},"has_fix":false,"headline":"AutoGPT's API Keys and Secrets Logged in Plaintext in Stagehand Integration Blocks","id":"CVE-2026-22038","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"information_disclosure","year":"2026"},"n_packages":0,"n_references":2,"next":{"headline":"Kyverno Cross-Namespace Privilege Escalation via Policy apiCall","id":"CVE-2026-22039"},"packages":[],"prev":{"headline":"@fastify/express vulnerable to Improper Handling of URL Encoding (Hex Encoding)","id":"CVE-2026-22037"},"products":["AutoGPT"],"published":"2026-02-04","related":[{"cvss_score":9.4,"headline":"AutoGPT Affected by Remote Code Execution via Dynamic Module Import in Block Loading (__import__)","id":"CVE-2026-26020","kev_date_added":null,"published":"2026-02-12"},{"cvss_score":9.3,"headline":"AutoGPT has SSRF vulnerability in ReadRSSFeedBlock","id":"CVE-2025-62615","kev_date_added":null,"published":"2026-02-04"},{"cvss_score":9.3,"headline":"AutoGPT has SSRF vulnerability in SendDiscordFileBlock","id":"CVE-2025-62616","kev_date_added":null,"published":"2026-02-04"},{"cvss_score":8.8,"headline":"Server-Side Template Injection (SSTI) in significant-gravitas/autogpt","id":"CVE-2025-1040","kev_date_added":null,"published":"2025-03-20"},{"cvss_score":8.7,"headline":"AutoGPT has a DoS vulnerability in ReadRSSFeedBlock","id":"CVE-2025-32393","kev_date_added":null,"published":"2026-02-05"},{"cvss_score":8.6,"headline":"AutoGPT is Vulnerable to RCE via Disabled Block Execution","id":"CVE-2026-24780","kev_date_added":null,"published":"2026-01-29"},{"cvss_score":8.6,"headline":"AutoGPT allows leakage of cross-domain cookies and protected headers in requests redirect","id":"CVE-2025-31491","kev_date_added":null,"published":"2025-04-14"}],"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)"},{"class":"open","licence":"CC0","name":"PoC-in-GitHub"}],"ssvc":{"automatable":"no","exploitation":"none","technical_impact":"partial"},"state":"PUBLISHED","updated":"2026-02-05","vendors":["Significant-Gravitas"]},"summary":"Attackers with log access can steal API keys and secrets from AutoGPT Stagehand integration blocks due to plaintext logging.","url":"https://insights.sbomify.com/CVE-2026-22038/"}