# CVE-2026-22038: AutoGPT's API Keys and Secrets Logged in Plaintext in Stagehand Integration Blocks

- Severity: High 8.1 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.49%, higher than 43% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-02-04T22:28:20.401Z
- Modified: 2026-06-17T10:19:24.253Z
- Weaknesses: CWE-532
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: GitHub_M

## 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.

(As written by CVE List.)

## Affected

- Significant-Gravitas AutoGPT: < autogpt-platform-beta-v0.6.46
- agpt autogpt_platform: before 0.6.46

## References

- <https://github.com/Significant-Gravitas/AutoGPT/security/advisories/GHSA-rc89-6g7g-v5v7> (exploit, vendor-advisory)
- <https://github.com/Significant-Gravitas/AutoGPT/commit/1eabc604842fa876c09d69af43d2d1e8fb9b8eb9> (patch)

## Sources

- CVE List: [CVE-2026-22038](https://www.cve.org/CVERecord?id=CVE-2026-22038), CVE Terms of Use, modified 2026-02-05
- NVD: [CVE-2026-22038](https://nvd.nist.gov/vuln/detail/CVE-2026-22038), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2026-22038 · Whole record: https://cve.day/CVE-2026-22038.json · Rebuilt by cve.day 2026-11-25T22:59:13.518Z
